Commit Graph

8 Commits

Author SHA1 Message Date
Patrick Ohly
c1078a6585 go-get-kubernetes.sh: automate Kubernetes dependency handling
This script handles the necessary "replace" statements and determines
which packages need to be updated in lockstep.
2019-10-07 14:43:53 +02:00
Patrick Ohly
194289aa8e update Go mod support
It turned out that changes like
https://github.com/kubernetes-csi/csi-lib-utils/pull/33 should better
have been committed after `go mod tidy` because that adds some
indirect dependencies in that example.

The revised `test-vendor` checks for that and (just in case that this
ever becomes desired) allows projects to not have a vendor directory
when using `go mod`.

How to use `go mod` properly gets documented in the README.md, because
there are such pitfalls.
2019-10-04 14:27:41 +02:00
Patrick Ohly
55212ff2b4 initial Prow test job
This enables testing of other repos and of this repo itself inside
Prow. Currently supported is unit testing ("make test") and E2E
testing (either via a local test suite or the Kubernetes E2E test
suite applied to the hostpath driver example deployment).

The script passes shellcheck and uses Prow to verify that for future
PRs.
2019-04-02 09:01:14 +02:00
Patrick Ohly
6c7ba1be0f build.make: integrate shellcheck into "make test"
By default this only tests the scripts inside the "release-tools"
directory, which is useful when making experimental changes to them in
a component that uses csi-release-tools. But a component can also
enable checking for other directories.
2019-04-02 09:01:09 +02:00
Patrick Ohly
f49080e086 README.md: fix repo URL for initial setup
Copy-and-paste error from the time when the
kubernetes-csi/csi-release-tools repo didn't have the code...
2019-01-22 10:28:11 +01:00
Patrick Ohly
c876547b7f README.md: update repo name, add initial setup step
The actual repository was not named like the prototype repo.
2019-01-21 10:26:11 +01:00
Aaron Crickenberger
b41cac350d Add files from github.com/pohly/csi-build-rules 2019-01-16 10:51:52 -08:00
Aaron Crickenberger
0535c0d4f1 Initial commit from kubernetes-template-project 2019-01-16 10:47:35 -08:00