Skip to content

Commit f087c6a

Browse files
authored
Merge pull request #465 from prameshj/install-sudo
Install and invoke sudo before ginkgo test
2 parents 60c4357 + b6dc50c commit f087c6a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

presubmits.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,19 @@
22

33
# These are the commands run by the prow presubmit job.
44

5-
#install ginkgo
5+
echo "installing ginkgo"
66
mkdir -p ${GOPATH}/src/k8s.io
77
ln -s `pwd` ${GOPATH}/src/k8s.io/dns
88
GOFLAGS="-mod=vendor" go install github.com/onsi/ginkgo/ginkgo
99
export PATH=$PATH:$HOME/gopath/bin
1010

11+
echo "installing sudo"
12+
apt-get update && apt-get install sudo -y
13+
1114
make build
1215
make test
1316
make all-containers
1417
bash test/e2e/sidecar/e2e.sh
18+
sudo -v
1519
ginkgo test/e2e
1620

0 commit comments

Comments
 (0)