diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-04-19 20:13:38 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-04-20 18:36:51 +0200 |
commit | 0c3ae6e09acd16fc50a516975631dd6bb76b8c53 (patch) | |
tree | 7327c63bd18337b189442b5c13aa65873173a80b /.travis.yml | |
parent | 75d581a9d3ec7c11a9a696db4b271c2691c28f15 (diff) |
Build arm* functest-vnf containers via travis-ci
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 <cedric.ollivier@orange.com>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 39bab9dcc..3c6d5789d 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:latest - script: > sudo manifest-tool push from-args \ - --platforms linux/amd64 \ + --platforms linux/amd64,linux/arm,linux/arm64 \ --template ${DOCKER_USERNAME}/functest-vnf:ARCH-latest \ --target ${DOCKER_USERNAME}/functest-vnf:latest |