Build functest-parser for arm64 via travis-ci
authorCédric Ollivier <cedric.ollivier@orange.com>
Thu, 11 Jan 2018 17:03:11 +0000 (18:03 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Sat, 13 Jan 2018 10:11:54 +0000 (11:11 +0100)
Even if clearwater-live-test dependencies have been updated [1], the
next containers can be built for ARM (ruby raises SEGFAULT via
qemu-user-static):
  - functest-vnf
  - functest-restapi

The related manifest is also updated.

[1] https://gerrit.opnfv.org/gerrit/#/c/50295/8

Change-Id: Ie1eb78436a3da5eb7b5c1028b7f8323e8c3e73a2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
.travis.yml

index f0bafbf..fcb229e 100644 (file)
@@ -49,6 +49,11 @@ jobs:
         - repo="${DOCKER_USERNAME}"
         - amd64_dirs=""
         - arm64_dirs="docker/components"
+    - script: sudo -E bash build.sh
+      env:
+        - repo="${DOCKER_USERNAME}"
+        - amd64_dirs=""
+        - arm64_dirs="docker/parser"
     - script: sudo -E bash build.sh
       env:
         - repo="${DOCKER_USERNAME}"
@@ -122,6 +127,6 @@ jobs:
           --target ${DOCKER_USERNAME}/functest-restapi:latest
     - script: >
         sudo manifest-tool push from-args \
-          --platforms linux/amd64 \
+          --platforms linux/amd64,linux/arm64 \
           --template ${DOCKER_USERNAME}/functest-parser:ARCH-latest \
           --target ${DOCKER_USERNAME}/functest-parser:latest