From 43d4ce6bd5d0778fb51b014d33a04afafa6a18bb Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Sat, 23 Mar 2019 16:03:59 +0100 Subject: Update Alpine tag in ansible/site.yml and build.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It complete the previous commit updating Alpine [1]. [1] https://git.opnfv.org/functest/commit/docker/core/Dockerfile?id=ee700ae5c7ab1fa3e761c330686f89f3ddefbfd3 Change-Id: Icec39d36c661ba3eb3e79c9abb592897f46efa22 Signed-off-by: Cédric Ollivier --- ansible/site.yml | 2 +- build.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ansible/site.yml b/ansible/site.yml index 6a519908a..ae8042a69 100644 --- a/ansible/site.yml +++ b/ansible/site.yml @@ -10,7 +10,7 @@ - repo: _ dport: container: alpine - tag: 3.8 + tag: 3.9 steps: - name: build opnfv/functest-core containers: diff --git a/build.sh b/build.sh index 9ccb16a1c..8fe06d9df 100644 --- a/build.sh +++ b/build.sh @@ -27,11 +27,11 @@ for dir in ${amd64_dirs}; do (docker rmi "${repo}/functest-${dir##**/}:amd64-latest" || true) done [ ! -z "${amd64_dirs}" ] && - (docker rmi "${repo}/functest-core:amd64-latest" alpine:3.8 || true) + (docker rmi "${repo}/functest-core:amd64-latest" alpine:3.9 || true) find . -name Dockerfile -exec git checkout {} + find . -name Dockerfile -exec sed -i \ - -e "s|alpine:3.8|multiarch/alpine:arm64-v3.8|g" {} + + -e "s|alpine:3.9|multiarch/alpine:arm64-v3.9|g" {} + find . -name Dockerfile -exec sed -i \ -e "s|opnfv/functest-core|${repo}/functest-core:arm64-latest|g" {} + find . -name Dockerfile -exec sed -i \ @@ -45,7 +45,7 @@ for dir in ${arm64_dirs}; do done [ ! -z "${arm64_dirs}" ] && (docker rmi "${repo}/functest-core:arm64-latest" \ - multiarch/alpine:arm64-v3.8 || true) + multiarch/alpine:arm64-v3.9 || true) find . -name Dockerfile -exec git checkout {} + exit $? -- cgit 1.2.3-korg