Skip to content

Commit

Permalink
attempt to fix go mod
Browse files Browse the repository at this point in the history
  • Loading branch information
yashbhutwala committed Aug 28, 2020
1 parent 4fb83b6 commit 55cbeed
Show file tree
Hide file tree
Showing 354 changed files with 26,007 additions and 46,473 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
- uses: actions/checkout@v2
# https://github.com/goreleaser/goreleaser-action/releases
- name: Create a Release using GoReleaser
uses: goreleaser/goreleaser-action@v2.1.1
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist --config deploy/.goreleaser.yaml
args: release --rm-dist --config .goreleaser.yaml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# https://github.com/rajatjindal/krew-release-bot/releases
Expand Down
File renamed without changes.
24 changes: 2 additions & 22 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,44 +3,24 @@ module github.com/blackducksoftware/kubectl-bd-xray
go 1.15

require (
cloud.google.com/go v0.65.0 // indirect
github.com/Azure/go-autorest/autorest v0.11.4 // indirect
github.com/Azure/go-autorest/autorest/adal v0.9.2 // indirect
github.com/aquasecurity/fanal v0.0.0-20200820074632-6de62ef86882
github.com/asaskevich/govalidator v0.0.0-20200819183940-29e1ff8eb0bb // indirect
github.com/containerd/containerd v1.4.0 // indirect
github.com/docker/cli v0.0.0-20200130152716-5d0cf8839492 // indirect
github.com/docker/docker v1.4.2-0.20200203170920-46ec8731fbce
github.com/go-openapi/errors v0.19.6 // indirect
github.com/docker/docker v1.13.1
github.com/go-openapi/strfmt v0.19.5 // indirect
github.com/go-resty/resty/v2 v2.3.0
github.com/google/go-containerregistry v0.1.2
github.com/google/gofuzz v1.2.0 // indirect
github.com/googleapis/gnostic v0.5.1 // indirect
github.com/imdario/mergo v0.3.11 // indirect
github.com/jedib0t/go-pretty v4.3.0+incompatible
github.com/mattn/go-runewidth v0.0.9 // indirect
github.com/mcuadros/go-version v0.0.0-20190830083331-035f6764e8d2
github.com/mitchellh/mapstructure v1.3.3 // indirect
github.com/oklog/run v1.1.0
github.com/opencontainers/go-digest v1.0.0 // indirect
github.com/pkg/errors v0.9.1
github.com/sirupsen/logrus v1.6.0
github.com/spf13/cobra v1.0.0
go.mongodb.org/mongo-driver v1.4.0 // indirect
golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a // indirect
golang.org/x/sys v0.0.0-20200828194041-157a740278f4 // indirect
golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e // indirect
google.golang.org/genproto v0.0.0-20200828030656-73b5761be4c5 // indirect
google.golang.org/grpc v1.31.1 // indirect
k8s.io/api v0.19.0
k8s.io/apimachinery v0.19.0
k8s.io/client-go v11.0.0+incompatible
k8s.io/klog/v2 v2.3.0 // indirect
k8s.io/utils v0.0.0-20200821003339-5e75c0163111 // indirect
)

replace (
github.com/docker/docker => github.com/docker/docker v1.4.2-0.20190924003213-a8608b5b67c7
k8s.io/api => k8s.io/api v0.19.0
k8s.io/apimachinery => k8s.io/apimachinery v0.19.0
k8s.io/client-go => k8s.io/client-go v0.19.0
Expand Down
237 changes: 8 additions & 229 deletions go.sum

Large diffs are not rendered by default.

37 changes: 37 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#!/bin/bash

set -o errexit -o nounset -o pipefail
set -xv

dryrun='false'

print_usage() {
printf "Usage: TODO..."
}

while getopts 'd' flag; do
case "${flag}" in
d) dryrun='true' ;;
*) print_usage
exit 1 ;;
esac
done


echo "dryrun is $dryrun"
echo "\$@ pre shift is \"$@\""
shift $((OPTIND - 1))
echo "\$@ post shift is \"$@\""

TAG="$@"
echo "TAG is $TAG"

goreleaser check
if [ $dryrun = "true" ]; then
goreleaser --rm-dist --snapshot
# goreleaser --rm-dist --skip-publish
else
git tag $TAG
git push origin $TAG
goreleaser release --rm-dist
fi
3 changes: 1 addition & 2 deletions vendor/cloud.google.com/go/compute/metadata/metadata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 0 additions & 32 deletions vendor/github.com/Azure/go-autorest/.gitignore

This file was deleted.

Loading

0 comments on commit 55cbeed

Please sign in to comment.