diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-11-10 09:04:38 +0100 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-11-10 09:04:38 +0100 |
commit | de56278767076c2edb00865d65b4d7495acb6d9e (patch) | |
tree | 13546227e34e1bec7b1ba097555c0e699f771ddb | |
parent | 74384557d789e000b43f1622124ba348c3a678a5 (diff) |
Buld cntt containers in a specific stage
They must be built after smoke.
Change-Id: I939ef6c4663ad940c9f1b95440980628c4880385
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r-- | .travis.yml | 40 |
1 files 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 \ |