Skip to content

Commit

Permalink
Merge pull request #47 from radu-matei/mods
Browse files Browse the repository at this point in the history
Add Go modules
  • Loading branch information
trishankatdatadog committed Feb 7, 2020
2 parents 7d8fd32 + bbb8ce8 commit b6590d8
Show file tree
Hide file tree
Showing 2,260 changed files with 574 additions and 738,278 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,4 @@ jobs:
mv $(pwd)/* $GOPATH/src/github.com/$GITHUB_REPOSITORY
cd $GOPATH/src/github.com/$GITHUB_REPOSITORY
make bootstrap build test lint
GO111MODULE=on make bootstrap build test lint
4 changes: 0 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,12 @@ GOLANGCI_VERSION := v1.16.0

.PHONY: bootstrap
bootstrap:
ifndef HAS_DEP
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
endif
ifndef HAS_GOLANGCI
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(GOPATH)/bin $(GOLANGCI_VERSION)
endif
ifndef HAS_GOIMPORTS
go get -u golang.org/x/tools/cmd/goimports
endif
dep check

.PHONY: e2e
e2e:
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ steps:
displayName: 'Set up the Go workspace'

- script: |
make bootstrap build test lint
GO111MODULE=on make bootstrap build test lint
workingDirectory: '$(modulePath)'
displayName: 'Get dependencies, build, test'
74 changes: 74 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
module github.com/engineerd/signy

go 1.12

require (
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78
github.com/Masterminds/semver v1.5.0
github.com/Microsoft/go-winio v0.4.14
github.com/Microsoft/hcsshim v0.8.6
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 // indirect
github.com/agl/ed25519 v0.0.0-20170116200512-5312a6153412
github.com/beorn7/perks v1.0.1
github.com/cnabio/cnab-go v0.8.2-beta1
github.com/containerd/containerd v1.3.0
github.com/containerd/continuity v0.0.0-20190827140505-75bee3e2ccb6
github.com/containerd/fifo v0.0.0-20190816180239-bda0ff6ed73c
github.com/containerd/ttrpc v0.0.0-20191028202541-4f1b8fe65a5c
github.com/containerd/typeurl v0.0.0-20190911142611-5eb25027c9fd
github.com/davecgh/go-spew v1.1.1
github.com/docker/cli v0.0.0-20191017083524-a8ff7f821017
github.com/docker/cnab-to-oci v0.3.0-beta4
github.com/docker/compose-on-kubernetes v0.4.24 // indirect
github.com/docker/distribution v2.7.1-0.20190205005809-0d3efadf0154+incompatible
github.com/docker/docker v1.4.2-0.20181229214054-f76d6a078d88
github.com/docker/docker-credential-helpers v0.6.3
github.com/docker/go v1.5.1-1
github.com/docker/go-connections v0.4.0
github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c
github.com/docker/go-metrics v0.0.1
github.com/docker/go-units v0.4.0
github.com/gogo/googleapis v1.3.0
github.com/gogo/protobuf v1.3.1
github.com/golang/protobuf v1.3.2
github.com/gorilla/mux v1.7.3
github.com/hashicorp/go-version v1.2.0
github.com/in-toto/in-toto-golang v0.0.0-20191106170227-857cd1cfa826
github.com/inconshreveable/mousetrap v1.0.0
github.com/konsorten/go-windows-terminal-sequences v1.0.2
github.com/matttproud/golang_protobuf_extensions v1.0.1
github.com/miekg/pkcs11 v1.0.3
github.com/morikuni/aec v1.0.0
github.com/oklog/ulid v1.3.1
github.com/opencontainers/go-digest v1.0.0-rc1
github.com/opencontainers/image-spec v1.0.1
github.com/opencontainers/runc v0.1.1
github.com/opencontainers/runtime-spec v1.0.1
github.com/pkg/errors v0.8.1
github.com/pmezard/go-difflib v1.0.0
github.com/prometheus/client_golang v1.1.0
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4
github.com/prometheus/common v0.7.0
github.com/prometheus/procfs v0.0.5
github.com/qri-io/jsonpointer v0.1.0
github.com/qri-io/jsonschema v0.1.1
github.com/sirupsen/logrus v1.4.2
github.com/spf13/cobra v0.0.5
github.com/spf13/pflag v1.0.5
github.com/stretchr/testify v1.4.0
github.com/syndtr/gocapability v0.0.0-20180916011248-d98352740cb2
github.com/theupdateframework/notary v0.6.1
golang.org/x/crypto v0.0.0-20191029031824-8986dd9e96cf
golang.org/x/net v0.0.0-20191014212845-da9a3fd4c582
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e
golang.org/x/sys v0.0.0-20190830141801-acfa387b8d69
golang.org/x/text v0.3.2
google.golang.org/genproto v0.0.0-20191009194640-548a555dbc03
google.golang.org/grpc v1.24.0
gopkg.in/yaml.v2 v2.2.4
vbom.ml/util v0.0.0-20180919145318-efcd4e0f9787
)

replace github.com/in-toto/in-toto-golang => github.com/radu-matei/in-toto-golang v0.0.0-20190816001733-ced95e46b974

replace github.com/docker/docker => github.com/moby/moby v0.7.3-0.20190826074503-38ab9da00309
496 changes: 496 additions & 0 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pkg/cnab/pull.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cnab
import (
"context"

"github.com/deislabs/cnab-go/bundle"
"github.com/cnabio/cnab-go/bundle"
"github.com/docker/cnab-to-oci/remotes"
"github.com/docker/distribution/reference"
log "github.com/sirupsen/logrus"
Expand Down
2 changes: 1 addition & 1 deletion pkg/cnab/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"io/ioutil"
"os"

"github.com/deislabs/cnab-go/bundle"
"github.com/cnabio/cnab-go/bundle"
"github.com/docker/cnab-to-oci/remotes"
"github.com/docker/distribution/reference"
"github.com/docker/docker/client"
Expand Down
21 changes: 0 additions & 21 deletions vendor/github.com/Azure/go-ansiterm/LICENSE

This file was deleted.

12 changes: 0 additions & 12 deletions vendor/github.com/Azure/go-ansiterm/README.md

This file was deleted.

188 changes: 0 additions & 188 deletions vendor/github.com/Azure/go-ansiterm/constants.go

This file was deleted.

7 changes: 0 additions & 7 deletions vendor/github.com/Azure/go-ansiterm/context.go

This file was deleted.

Loading

0 comments on commit b6590d8

Please sign in to comment.