Build functest-parser for arm64 via travis-ci 73/50473/2
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:13:49 +0000 (11:13 +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

Conflicts:
    .travis.yml

Change-Id: Ie1eb78436a3da5eb7b5c1028b7f8323e8c3e73a2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 12c99c5f3fef126283e3a9795c4c1d436cc7846f)

.travis.yml

index 3fbd56e..3acc807 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:euphrates
     - script: >
         sudo manifest-tool push from-args \
-          --platforms linux/amd64 \
+          --platforms linux/amd64,linux/arm64 \
           --template ${DOCKER_USERNAME}/functest-parser:ARCH-euphrates \
           --target ${DOCKER_USERNAME}/functest-parser:euphrates