diff options
-rw-r--r-- | ansible/site.yml | 2 | ||||
-rw-r--r-- | build.sh | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ansible/site.yml b/ansible/site.yml index 3a894a4b..3307b386 100644 --- a/ansible/site.yml +++ b/ansible/site.yml @@ -12,7 +12,7 @@ - repo: _ dport: container: golang - tag: alpine3.8 + tag: 1.11.6-alpine3.9 steps: - name: build opnfv/functest-kubernetes-core containers: @@ -28,11 +28,11 @@ for dir in ${amd64_dirs}; do done [ ! -z "${amd64_dirs}" ] && (docker rmi \ - "${repo}/functest-kubernetes-core:amd64-hunter" golang:1.11.1-alpine3.8 || true) + "${repo}/functest-kubernetes-core:amd64-hunter" golang:1.11.6-alpine3.9 || true) find . -name Dockerfile -exec git checkout {} + find . -name Dockerfile -exec sed -i \ - -e "s|golang:1.11.1-alpine3.8|arm64v8/golang:1.11.1-alpine3.8|g" {} + + -e "s|golang:1.11.6-alpine3.9|arm64v8/golang:1.11.6-alpine3.9|g" {} + find . -name Dockerfile -exec sed -i \ -e "s|opnfv/functest-kubernetes-core:hunter|\ ${repo}/functest-kubernetes-core:arm64-hunter|g" {} + @@ -49,7 +49,7 @@ for dir in ${arm64_dirs}; do done [ ! -z "${arm64_dirs}" ] && (docker rmi "${repo}/functest-kubernetes-core:arm64-hunter" \ - arm64v8/golang:1.11.1-alpine3.8 || true) + arm64v8/golang:1.11.6-alpine3.9 || true) find . -name Dockerfile -exec git checkout {} + exit $? |