File tree Expand file tree Collapse file tree 2 files changed +24
-1
lines changed
Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,29 @@ for arch in ${ARCHS}; do
5050 done
5151done
5252
53+ WHAT=" k8s-tester"
54+ PACKAGE_NAME=' github.com/aws/aws-k8s-tester/k8s-tester'
55+ pushd ./k8s-tester
56+ for arch in ${ARCHS} ; do
57+ for os in ${TARGETS} ; do
58+ for bin in ${WHAT} ; do
59+ echo " === Building arch=${arch} , os=${os} , target=${bin} ==="
60+ CGO_ENABLED=0 \
61+ GOARCH=${arch} \
62+ GOOS=${os} \
63+ go build \
64+ -v \
65+ -ldflags " -s -w \
66+ -X ${PACKAGE_NAME} /version.GitCommit=${GIT_COMMIT} \
67+ -X ${PACKAGE_NAME} /version.ReleaseVersion=${RELEASE_VERSION} \
68+ -X ${PACKAGE_NAME} /version.BuildTime=${BUILD_TIME} " \
69+ -o ../bin/${bin} -${RELEASE_VERSION} -${os} -${arch} \
70+ ./cmd/${bin}
71+ done
72+ done
73+ done
74+ popd
75+
5376echo " "
5477echo " Success! Your shiny new binaries are ready."
5578echo " find ./bin -type f"
Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ func (cfg *Config) validateConfig() error {
264264 return err
265265 }
266266 }
267- cfg .ConfigPath = filepath .Join (rootDir , cfg .ClusterName + ".yaml" )
267+ cfg .ConfigPath = filepath .Join (rootDir , cfg .ClusterName + ".k8s-tester. yaml" )
268268 var p string
269269 p , err = filepath .Abs (cfg .ConfigPath )
270270 if err != nil {
You can’t perform that action at this time.
0 commit comments