From 38d3c2fb1e4ecbea5ad2d4245d658a608db3a65e Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Fri, 19 Apr 2019 20:13:38 +0200 Subject: Build arm* functest-vnf containers via travis-ci MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It doesn't build juju deps if arm* as they can't be cross-compiled. Then that deps won't be built in releng on native arm64 hosts It's worth mentioning that containers have never been executed in OPNFV gates. That change allows running all other VNFs on Raspberry PI and building containers without arm build servers. Change-Id: I836a72f049e7f0e6ae704f5b829914692d5b2c09 Signed-off-by: Cédric Ollivier (cherry picked from commit 0c3ae6e09acd16fc50a516975631dd6bb76b8c53) --- .travis.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 5649db10e..dca9d3196 100644 --- a/.travis.yml +++ b/.travis.yml @@ -152,6 +152,18 @@ jobs: - amd64_dirs="docker/vnf" - arm64_dirs="" - arm_dirs="" + - script: sudo -E bash build.sh + env: + - REPO="${DOCKER_USERNAME}" + - amd64_dirs="" + - arm64_dirs="docker/vnf" + - arm_dirs="" + - script: sudo -E bash build.sh + env: + - REPO="${DOCKER_USERNAME}" + - amd64_dirs="" + - arm64_dirs="" + - arm_dirs="docker/vnf" - stage: publish all manifests script: > sudo manifest-tool push from-args \ @@ -175,6 +187,6 @@ jobs: --target ${DOCKER_USERNAME}/functest-features:iruya - script: > sudo manifest-tool push from-args \ - --platforms linux/amd64 \ + --platforms linux/amd64,linux/arm,linux/arm64 \ --template ${DOCKER_USERNAME}/functest-vnf:ARCH-iruya \ --target ${DOCKER_USERNAME}/functest-vnf:iruya -- cgit 1.2.3-korg