forked from virtual-kubelet/virtual-kubelet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Hector Fernandez
committed
May 9, 2019
1 parent
6bc52ad
commit 9278eda
Showing
4,570 changed files
with
1,468,735 additions
and
39 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,22 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
|
||
exit_code=0 | ||
|
||
echo "==> Running go mod verify check <==" | ||
|
||
GO111MODULE=on go mod verify || exit_code=1 | ||
echo "==> Running go mod tidy to add missing and remove unused modules <==" | ||
|
||
GO111MODULE=on go mod tidy || exit_code=1 | ||
if [ $exit_code -ne 0 ]; then | ||
echo '`go mod verify` was not run. Make sure dependency changes are committed to the repository.' | ||
echo 'You may also need to check that all deps are pinned to a commit or tag instead of a branch or HEAD.' | ||
echo 'Check go.mod and go.sum' | ||
echo 'Checking go.mod and go.sum files' | ||
else | ||
echo "go mod verify passed." | ||
echo "go mod tidy passed." | ||
fi | ||
|
||
git diff --exit-code go.mod go.sum || exit_code=$? | ||
|
||
if [ ${exit_code} -eq 0 ]; then | ||
exit 0 | ||
fi | ||
|
||
exit $exit_code | ||
echo "please run \`go mod tidy\` and check in the changes" | ||
exit ${exit_code} |
17 changes: 17 additions & 0 deletions
17
vendor/contrib.go.opencensus.io/exporter/ocagent/.travis.yml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
vendor/contrib.go.opencensus.io/exporter/ocagent/CONTRIBUTING.md
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.