1
0
Fork 0
mirror of https://github.com/imjasonh/build-old-fork synced 2026-07-20 05:19:09 +00:00
Commit graph

15 commits

Author SHA1 Message Date
Jason Hall
80fa331b37 Remove go-containerregistry dep 2018-07-23 11:30:59 -04:00
Matt Moore
37a5ea0c74 Update VENDOR-LICENSE in ./hack/update-deps.sh (#273)
This pulls in the `dep-collector` tool I have been putting together
and uses it to regenerate `./third_party/VENDOR-LICENSE` whenever
`./hack/update-deps.sh` is run.

This also adds a `dep-collector -check` test to our presubmit testing
which will scan our binaries for "forbidden" licenses, and block PRs
from bringing them into the repo.
2018-07-20 17:42:33 -07:00
Matt Moore
5fe95a87ac Update our copy of github.com/google/go-containerregistry. (#262) 2018-07-19 18:17:32 -07:00
David Gageot
f95294f242 Add a command to tail build logs (#222)
* Add a command to tail build logs

Fixes #214

Signed-off-by: David Gageot <david@gageot.net>

* Import the Kubernetes auth plugins

Signed-off-by: David Gageot <david@gageot.net>
2018-07-06 12:44:02 -07:00
Jason Hall
a51ba1db5d Initial support for synchronous webhook validation (#181)
* Copy webhook from knative/serving

* Add simple unit tests, stub validation for now

* Minor cleanup

* Vendor go-cmp

* Remove pkg/webhook/OWNERS
2018-06-11 09:20:25 -07:00
Jason Hall
85c3cf9b7f Update go-containerregistry dep (#166) 2018-05-28 09:40:10 -07:00
Matt Moore
fb45f02a2c Vendor a copy of ko. (#142)
This is a first step that will enable us to start supporting ko-based development flows.
2018-05-17 11:43:05 -07:00
Matt Moore
f43fbe2f38
Update to the K8s 1.10 tags. (#98)
This also makes several tweaks to our ./hack/update-deps.sh story to simplify it a bit.

Everything under "vendor/" should be "go get"-able, so the BUILD files are meaningless and Gazelle should be able to generate completely correct BUILD files (eliminates some of our patching, and the need for the WORKSPACE workaround).

We can also drop the (now default) proto flag, which builds around the same idea of vendor being "go get" compatible.

In a vain attempt to make `bazel test ...` work, I also `rm -rf *_test.go` under `vendor/`, but there are still some lingering issues.
2018-03-29 12:29:32 -07:00
Matt Moore
cfd4cfa3d0
Update to Go and K8s 1.10 (#93)
We want to update to Go 1.10 so that we can reject excess JSON fields during webhook validation (eventually).

The corresponding update to `rules_go` requires us to move to a more recent release of Kubernetes, which would be the 1.10 branches that are currently stabilizing (the release hasn't been signed off yet, but the release branch has been cut).

The vast majority of this change is generated from `Gopkg.toml`, and `WORKSPACE`. There is one other supporting change in `./hack/update-deps.sh`.
2018-03-22 09:23:18 -07:00
Jason Hall
ecc11b19d8 Implement new "gcs" source type (#79)
* Initial revision of GCS archive/manifest work

* Address comments and update codegen

* Add basic tests and support for conversion to GCB

* WIP end-to-end example with stubbed fecher

Currently broken trying to run :everything.replace

* Address review feedback

* Drop support for generations (for now), pass --bucket to fetcher (for now)

* Initial import of GCS fetcher code

* Fix some example values

* Update BUILD.bazel

* Add tests

* Actually add tests

* Remove stubbed fetcher

* Address review comments

* Pass correct flags to fetcher image, integration tests pass

* Add new test to suite
2018-03-16 11:12:36 -07:00
Matt Moore
50ef3075eb
Update the rules_docker/k8s deps. (#77)
Make the revision in Gopkg.toml match the version to which we rewrite deps.

Add a few comments to clarify things purpose.
2018-03-09 08:08:09 -08:00
Matt Moore
ec084635ff
This fixes codegen, which has been broken since we moved to Github. (#71)
The main changes are:
 * remove the `--output-base` flag, and
 * pin `k8s.io/code-generator` at `release-1.9`
2018-03-08 09:46:23 -08:00
Matt Moore
b255af36d7 Switch Build from Job to Pod. (#57)
This does not yet take advantage of our greater visibility into step failures, but a subsequent CL will do just that.

Fixes: https://github.com/google/build-crd/issues/51
2018-03-01 10:29:01 -05:00
Matt Moore
786a2a0045
vendor the code generator and api machinery (#16)
Fixes: https://github.com/google/build-crd/issues/7
2018-02-08 07:18:23 -08:00
Matt Moore
aa19008f1b Initial commit. 2018-02-03 19:30:55 -08:00