-
Notifications
You must be signed in to change notification settings - Fork 584
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removes the vendor/ directory and all vestiges of life before Go modules. Issue k8snetworkplumbingwg/sriov-network-device-plugin#544 Signed-off-by: Jay Pipes <[email protected]>
- Loading branch information
Showing
4,514 changed files
with
1 addition
and
1,512,162 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,4 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
|
||
# this if... will be removed when gomodules goes default | ||
if [ "$GO111MODULE" == "off" ]; then | ||
echo "Warning: this will be deprecated in near future so please use go modules!" | ||
|
||
ORG_PATH="gopkg.in/k8snetworkplumbingwg" | ||
REPO_PATH="${ORG_PATH}/multus-cni" | ||
|
||
if [ ! -h gopath/src/${REPO_PATH} ]; then | ||
mkdir -p gopath/src/${ORG_PATH} | ||
ln -s ../../../.. gopath/src/${REPO_PATH} || exit 255 | ||
fi | ||
|
||
export GO15VENDOREXPERIMENT=1 | ||
export GOBIN=${PWD}/bin | ||
export GOPATH=${PWD}/gopath | ||
bash -c "umask 0; cd ${GOPATH}/src/${REPO_PATH}; PATH=${GOROOT}/bin:$(pwd)/bin:${PATH} go test -v -covermode=count -coverprofile=coverage.out ./..." | ||
else | ||
# test with go modules | ||
bash -c "umask 0; go test -v -race -covermode=atomic -coverprofile=coverage.out ./..." | ||
fi | ||
bash -c "umask 0; go test -v -race -covermode=atomic -coverprofile=coverage.out ./..." |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.