Skip to content

Commit

Permalink
Merge pull request #5301 from cblecker/dep
Browse files Browse the repository at this point in the history
⛵️ Move k8s.io/test-infra over to dep
  • Loading branch information
k8s-ci-robot committed Nov 2, 2017
2 parents 16d35e9 + 6bf1aa7 commit c258100
Show file tree
Hide file tree
Showing 681 changed files with 84,158 additions and 35,217 deletions.
451 changes: 0 additions & 451 deletions Godeps/Godeps.json

This file was deleted.

5 changes: 0 additions & 5 deletions Godeps/Readme

This file was deleted.

227 changes: 227 additions & 0 deletions Gopkg.lock

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

77 changes: 77 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# Gopkg.toml for k8s.io/test-infra

# Ignore AWS SDK used by jenkins/aws-janitor
ignored = ["github.com/aws/aws-sdk-go*"]

[[constraint]]
name = "github.com/NYTimes/gziphandler"

[[constraint]]
name = "github.com/bwmarrin/snowflake"

[[constraint]]
name = "github.com/ghodss/yaml"

[[constraint]]
name = "github.com/golang/glog"

[[constraint]]
name = "github.com/golang/lint"

[[constraint]]
name = "github.com/golang/mock"

[[constraint]]
name = "github.com/golang/protobuf"

[[constraint]]
name = "github.com/google/go-github"

[[constraint]]
name = "github.com/google/gofuzz"

[[constraint]]
name = "github.com/gregjones/httpcache"

[[constraint]]
name = "github.com/influxdata/influxdb"

[[constraint]]
name = "github.com/jinzhu/gorm"

[[constraint]]
name = "github.com/peterbourgon/diskv"

[[constraint]]
name = "github.com/prometheus/client_golang"
version = "0.8.0"

[[constraint]]
name = "github.com/satori/go.uuid"

[[constraint]]
name = "github.com/shurcooL/githubql"

[[constraint]]
name = "github.com/sirupsen/logrus"

[[constraint]]
name = "github.com/spf13/cobra"

[[constraint]]
name = "github.com/spf13/pflag"

[[constraint]]
name = "golang.org/x/crypto"

[[constraint]]
name = "golang.org/x/oauth2"

[[constraint]]
name = "gopkg.in/yaml.v2"

[[constraint]]
name = "k8s.io/contrib"

[[constraint]]
name = "k8s.io/kubernetes"
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@ test jobs for a variety of platforms (e.g., Azure, rktnetes). The test-history
scripts gather e2e results from these federated jobs. For information about
how to contribute test results, see [Federated Testing](docs/federated_testing.md).

## Other Docs

* [kubernetes/test-infra dependency management](docs/dep.md)


[`jobs/config.json`]: https://github.com/kubernetes/test-infra/blob/master/jobs/config.json
[`prow/config.yaml`]: https://github.com/kubernetes/test-infra/blob/master/prow/config.yaml
Expand Down
26 changes: 26 additions & 0 deletions docs/dep.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# kubernetes/test-infra dependency management

test-infra uses [`dep`](https://github.com/golang/dep) for Go dependency
management. `dep` is a prototype dependency management tool for Go. It requires
Go 1.8 or newer to compile.


## Setup

You can follow the [setup instructions](https://github.com/golang/dep#setup) to
set up `dep` in your local environment.


## Changing dependencies

You can use the `dep` instructions for [adding](https://github.com/golang/dep#adding-a-dependency),
[updating](https://github.com/golang/dep#updating-dependencies) or
[removing](https://github.com/golang/dep#removing-dependencies) a dependency.

Once you've updated, make sure to run:
```
dep prune
verify/update-bazel.sh
```

To prune unneeded deps, and then update all the bazel files that `dep` blows away.
Loading

0 comments on commit c258100

Please sign in to comment.