Skip to content

Commit 78f5488

Browse files
authored
hack/ci/setup-build-dependencies.sh: add setup script in SDK repo (#1572)
* hack/ci/setup-build-dependencies.sh: add setup script in SDK repo * .travis.yml,hack: bumping dep to v0.5.3
1 parent 97ba105 commit 78f5488

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ x_base_steps:
1717
# before_install for jobs that require dep
1818
- &dep_before_install
1919
before_install:
20-
- curl -Lo dep https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-amd64 && chmod +x dep && sudo mv dep /usr/local/bin/
20+
- curl -Lo dep https://github.com/golang/dep/releases/download/v0.5.3/dep-linux-amd64 && chmod +x dep && sudo mv dep /usr/local/bin/
2121
- travis_retry dep ensure -v
2222
# before_install for jobs that require go builds and do not run for doc-only changes
2323
- &go_before_install
2424
before_install:
2525
# hack/ci/check-doc-only-update.sh needs to be sourced so
2626
# that it can properly exit the test early with success
2727
- source hack/ci/check-doc-only-update.sh
28-
- curl -Lo dep https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-amd64 && chmod +x dep && sudo mv dep /usr/local/bin/
28+
- curl -Lo dep https://github.com/golang/dep/releases/download/v0.5.3/dep-linux-amd64 && chmod +x dep && sudo mv dep /usr/local/bin/
2929
- travis_retry dep ensure -v
3030

3131
# Base go, ansbile, and helm job

hack/ci/setup-build-dependencies.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env bash
2+
3+
set -e
4+
5+
# Install dep
6+
curl -Lo dep https://github.com/golang/dep/releases/download/v0.5.3/dep-linux-amd64 && chmod +x dep && mv dep /usr/local/bin/
7+
8+
# Ensure vendor directory is up-to-date
9+
make dep

0 commit comments

Comments
 (0)