Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
Only test containers that have Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
tuchfarber committed Jan 3, 2019
1 parent 7444038 commit 2330994
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker.mk
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ all_images:=$(patsubst docker/build/%/Dockerfile,%,$(dockerfiles))

# Used in the test.mk file as well.
images:=$(if $(TRAVIS_COMMIT_RANGE),$(shell git diff --name-only $(TRAVIS_COMMIT_RANGE) | python util/parsefiles.py),$(all_images))
# Only use images that actually contain a Dockerfile
images:=$(shell echo "$(all_images) $(images)" | tr " " "\n" | sort | uniq -d)

docker_build=docker.build.
docker_test=docker.test.
Expand Down

0 comments on commit 2330994

Please sign in to comment.