diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-09-20 05:45:21 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-09-20 05:45:21 +0200 |
commit | bd28b49aa1ba7d8127144c2a3eef0536d9bdc606 (patch) | |
tree | d33057279089eb744d13450777abaacbfa994bd0 /build.sh | |
parent | 5149d87c348555184e2ecc48e57697531c5ff38b (diff) |
Select go 1.12 instead of 1.13 (rolling)
Functest K8s container builds failed [1]
[1] https://build.opnfv.org/ci/view/functest%20(Installer%20gates)/job/functest-kubernetes-docker-master/94/
Change-Id: I3da0ebf05e1dd25b7fb609e0e851c07ed1722723
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'build.sh')
-rw-r--r-- | build.sh | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -28,11 +28,11 @@ done [ ! -z "${amd64_dirs}" ] && (docker rmi \ "${repo}/functest-kubernetes-core:amd64-latest" \ - golang:alpine3.10 || true) + golang:1.12-alpine3.10 || true) find . -name Dockerfile -exec git checkout {} + find . -name Dockerfile -exec sed -i \ - -e "s|golang:alpine3.10|arm64v8/golang:alpine3.10|g" {} + + -e "s|golang:1.12-alpine3.10|arm64v8/golang:1.12-alpine3.10|g" {} + find . -name Dockerfile -exec sed -i \ -e "s|opnfv/functest-kubernetes-core|\ ${repo}/functest-kubernetes-core:arm64-latest|g" {} + @@ -49,7 +49,7 @@ for dir in ${arm64_dirs}; do done [ ! -z "${arm64_dirs}" ] && (docker rmi "${repo}/functest-kubernetes-core:arm64-latest" \ - arm64v8/golang:alpine3.10 || true) + arm64v8/golang:1.12-alpine3.10 || true) find . -name Dockerfile -exec git checkout {} + exit $? |