go install mod vendor integration test helpers
@@ -9,7 +9,7 @@ install_chefdk() {
start_requestbin() {
export GOBIN="/go/bin"
- go install integration/helpers/requestbin/requestbin.go
+ go install -mod=vendor integration/helpers/requestbin/requestbin.go
cat > /etc/systemd/system/requestbin.service <<EOF
[Unit]
Description=Requestbin
@@ -24,7 +24,7 @@ EOF
}
start_loadbalancer() {
export GOBIN="/go/bin"
- go install ./integration/helpers/loadbalancer/
+ go install -mod=vendor ./integration/helpers/loadbalancer/
#shellcheck disable=SC2154
cat > /etc/systemd/system/loadbalancer.service <<EOF
[Unit]
