- define GO_VERSION variable in build.sh that determines which go version
is used to build the binaries
- align go version to 1.14 that is defined in all go.mod files [0]
- bump snapshot version to 0.10.3-SNAPSHOT
[0] the mod files all declared 1.13, but 1.14 was effectively used for the build
Issue-ID: MULTICLOUD-1520
Change-Id: I790db4352206ffe6a213472ec8e195b08ae423f4
Signed-off-by: Fiete Ostkamp <fiete.ostkamp@telekom.de>
k8s_path="$(git rev-parse --show-toplevel)"
-VERSION="0.10.2-SNAPSHOT"
+VERSION="0.10.3-SNAPSHOT"
+GO_VERSION="1.14"
export IMAGE_NAME="nexus3.onap.org:10003/onap/multicloud/k8s"
function _compile_src {
echo "Compiling source code"
- go version
ls
pushd $k8s_path/src/k8splugin/
pwd
# mount directory and build in container (thus not relying on the state of the runner)
- docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp nexus3.onap.org:10001/golang:1.14.1 make
+ docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp nexus3.onap.org:10001/golang:${GO_VERSION} make
popd
}
k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.16.9
)
-go 1.13
+go 1.14
k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.16.9
)
-go 1.13
+go 1.14
k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.19.4
)
-go 1.13
+go 1.14
k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.16.9
)
-go 1.13
+go 1.14
k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.16.9
)
-go 1.13
+go 1.14
k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.16.9
)
-go 1.13
+go 1.14
module github.com/onap/multicloud-k8s/src/rsync
-go 1.13
+go 1.14
require (
github.com/ghodss/yaml v1.0.0