From de56278767076c2edb00865d65b4d7495acb6d9e Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Sun, 10 Nov 2019 09:04:38 +0100 Subject: Buld cntt containers in a specific stage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit They must be built after smoke. Change-Id: I939ef6c4663ad940c9f1b95440980628c4880385 Signed-off-by: Cédric Ollivier --- .travis.yml | 40 +++++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9964fe1d2..42c381d37 100644 --- a/.travis.yml +++ b/.travis.yml @@ -123,24 +123,6 @@ jobs: - amd64_dirs="" - arm64_dirs="" - arm_dirs="docker/vnf" - - script: sudo -E bash build.sh - env: - - REPO="${DOCKER_USERNAME}" - - amd64_dirs="docker/smoke-cntt" - - arm64_dirs="" - - arm_dirs="" - - script: sudo -E bash build.sh - env: - - REPO="${DOCKER_USERNAME}" - - amd64_dirs="" - - arm64_dirs="docker/smoke-cntt" - - arm_dirs="" - - script: sudo -E bash build.sh - env: - - REPO="${DOCKER_USERNAME}" - - amd64_dirs="" - - arm64_dirs="" - - arm_dirs="docker/smoke-cntt" - stage: publish all manifests script: > sudo manifest-tool push from-args \ @@ -162,7 +144,27 @@ jobs: --platforms linux/amd64,linux/arm,linux/arm64 \ --template ${DOCKER_USERNAME}/functest-vnf:ARCH-latest \ --target ${DOCKER_USERNAME}/functest-vnf:latest - - script: > + - stage: build all functest cntt images + script: sudo -E bash build.sh + env: + - REPO="${DOCKER_USERNAME}" + - amd64_dirs="docker/smoke-cntt" + - arm64_dirs="" + - arm_dirs="" + - script: sudo -E bash build.sh + env: + - REPO="${DOCKER_USERNAME}" + - amd64_dirs="" + - arm64_dirs="docker/smoke-cntt" + - arm_dirs="" + - script: sudo -E bash build.sh + env: + - REPO="${DOCKER_USERNAME}" + - amd64_dirs="" + - arm64_dirs="" + - arm_dirs="docker/smoke-cntt" + - stage: publish all cntt manifests + script: > sudo manifest-tool push from-args \ --platforms linux/amd64,linux/arm,linux/arm64 \ --template ${DOCKER_USERNAME}/functest-smoke-cntt:ARCH-latest \ -- cgit 1.2.3-korg