summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-04-07 15:01:49 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-04-09 11:28:53 +0200
commit4ed19ebeea1dc11ea0a98b52e395812d83ad0e62 (patch)
treed693cf86ff53757744f891a9183cac3499b0dffe
parent4301b8710f3485c2e6bd9e352dc92a6b9cc83c5c (diff)
Clean functest-kubernetes-healthcheck too
It could have been downloaded by functest-kubernetes-smoke. Change-Id: If02762300dd832717b7ac4d144aff22167eef986 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--.travis.yml2
-rw-r--r--build.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index fc181042..75557e02 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -22,7 +22,7 @@ jobs:
env:
- REPO="${DOCKER_USERNAME}"
- amd64_dirs="docker/features"
- - stage: build functest-kubernetes-smoke
+ - stage: build functest-kubernetes-smoke image
script: sudo -E bash build.sh
env:
- REPO="${DOCKER_USERNAME}"
diff --git a/build.sh b/build.sh
index 7ec19f00..24aab9b0 100644
--- a/build.sh
+++ b/build.sh
@@ -17,7 +17,7 @@ for dir in ${amd64_dirs}; do
docker push "${repo}/functest-kubernetes-${dir##**/}"
[ "${dir}" != "docker/core" ] && (docker rmi "${repo}/functest-kubernetes-${dir##**/}" || true)
done
-[ ! -z "${amd64_dirs}" ] && (docker rmi "${repo}/functest-kubernetes-core:latest" alpine:3.7 || true)
+[ ! -z "${amd64_dirs}" ] && (docker rmi "${repo}/functest-kubernetes-healthcheck" "${repo}/functest-kubernetes-core" alpine:3.7 || true)
find . -name Dockerfile -exec git checkout {} +
exit $?