Skip to content

Commit 7819ffd

Browse files
authored
Merge pull request #400 from xueweiz/patch-1
Install ginkgo executable in test/build.sh
2 parents 9d584df + 6f27c80 commit 7819ffd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/build.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function print-help() {
4343
echo " pr Build node-problem-detector for presubmit jobs and push to staging. Flag -p is required."
4444
echo " ci Build node-problem-detector for CI jobs and push to staging."
4545
echo " get-ci-env Download environment variable file from staging for CI job."
46-
echo " install-lib Install the libraries needed."
46+
echo " install-lib Install the required libraries and tools for presubmit and CI jobs."
4747
echo
4848
echo "Examples:"
4949
echo " build.sh help"
@@ -66,6 +66,9 @@ function get-version() {
6666
function install-lib() {
6767
apt-get update
6868
apt-get install -y libsystemd-dev
69+
# Turn off go modules here, because we are not trying to install
70+
# ginkgo library/module. We are trying to install the ginkgo executable.
71+
GO111MODULE=off go get -v github.com/onsi/ginkgo/ginkgo
6972
}
7073

7174
function write-env-file() {

0 commit comments

Comments
 (0)