Skip to content

Commit 46fc456

Browse files
Change the way kubectl-mongodb plugin is built by evergreen function
The evergreen function `build_multi_cluster_binary` is used to build the `kubectl-mongodb` plugin. And this function gets used in the main `.evergreen.yml` file to build the `kubectl-mongodb` binary. Since we moved the location of the source files for `kubectl-mongodb` plugin as part of [PR](#271), this PR makes respective changes in the evergreen function so that it can properly build the `kubectl-mongodb` plugin from the new location.
1 parent 1884f19 commit 46fc456

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/evergreen/build_multi_cluster_kubeconfig_creator.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ fi
1515
echo "Building multi cluster kube config creation tool."
1616

1717
project_dir="$(pwd)"
18-
pushd public/tools/multicluster
18+
pushd cmd/kubectl-mongodb
1919
GOOS="${OS}" GOARCH="${ARCH}" CGO_ENABLED=0 go build -buildvcs=false -o "${project_dir}/docker/mongodb-kubernetes-tests/multi-cluster-kube-config-creator" main.go
2020
GOOS="linux" GOARCH="amd64" CGO_ENABLED=0 go build -buildvcs=false -o "${project_dir}/docker/mongodb-kubernetes-tests/multi-cluster-kube-config-creator_linux" main.go
2121
popd

0 commit comments

Comments
 (0)