Create vnf and restapi images-built job for arm 65/50465/1
authorLinda Wang <wangwulin@huawei.com>
Fri, 12 Jan 2018 02:03:40 +0000 (02:03 +0000)
committerLinda Wang <wangwulin@huawei.com>
Fri, 12 Jan 2018 02:03:40 +0000 (02:03 +0000)
Change-Id: Ife5d1726680db34d5d027cd592510bdd1123a965
Signed-off-by: Linda Wang <wangwulin@huawei.com>
jjb/releng/functest-docker.yml

index 92dd54e..cc8df6b 100644 (file)
               <<: *build-job-settings
             - name: 'functest-vnf-docker-build-amd64-{stream}'
               <<: *build-job-settings
+            - name: 'functest-vnf-docker-build-arm64-{stream}'
+              <<: *build-job-settings
             - name: 'functest-restapi-docker-build-amd64-{stream}'
               <<: *build-job-settings
+            - name: 'functest-restapi-docker-build-arm64-{stream}'
+              <<: *build-job-settings
       - multijob:
           name: 'publish all manifests'
           condition: SUCCESSFUL
           *)
               tag="{stream}" ;;
           esac
-          case "{image}" in
-          "vnf"|"restapi")
-              sudo manifest-tool push from-args \
-                  --platforms linux/amd64 \
-                  --template opnfv/functest-{image}:ARCH-$tag \
-                  --target opnfv/functest-{image}:$tag ;;
-          *)
-              sudo manifest-tool push from-args \
-                  --platforms linux/amd64,linux/arm64 \
-                  --template opnfv/functest-{image}:ARCH-$tag \
-                  --target opnfv/functest-{image}:$tag ;;
-          esac
+          sudo manifest-tool push from-args \
+              --platforms linux/amd64,linux/arm64 \
+              --template opnfv/functest-{image}:ARCH-$tag \
+              --target opnfv/functest-{image}:$tag ;;
           exit $?
 
 # parameter macro