Commit Graph

189 Commits

Author SHA1 Message Date
jetstack-bot
04019b2c3c
Merge pull request #5491 from irbekrm/kubebuilder_shas_script
Adds a script that generates kubebuilder tools SHAs for a version
2022-10-06 16:05:27 +01:00
jetstack-bot
dc96eb7d65
Merge pull request #5476 from Git-Jiro/master
Deploy contour from HELM chart instead of plain yaml
2022-10-06 14:50:27 +01:00
irbekrm
aa886e78d6 Adds a script to quickly generate latest SHAs
Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-10-06 14:29:24 +01:00
irbekrm
5bbd5ca3a9 Updates SHAs for kubebuilder-tools
Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-10-06 13:23:31 +01:00
Martin Schimandl
e24ff641c6 Deploy contour from HELM chart instead of plain yaml
Signed-off-by: Martin Schimandl <martin.schimandl@gmail.com>
2022-10-01 11:22:31 +01:00
Luca Comellini
4498b7cc47
Bump Go to 1.19
Signed-off-by: Luca Comellini <luca.com@gmail.com>
2022-09-27 11:38:51 -07:00
Tim Ramlot
39fa9f51b4 upgrade dependencies
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2022-09-26 11:43:12 +02:00
Luca Comellini
97fbe24a74
Bump k8s.io dependencies
Signed-off-by: Luca Comellini <luca.com@gmail.com>
2022-09-23 10:52:44 -07:00
Tim Ramlot
519e2d1337 add kind 1.25
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2022-09-22 15:29:10 +02:00
jetstack-bot
edc9363f7d
Merge pull request #5353 from bodgit/update-year
Update year to 2022
2022-08-30 12:24:31 +01:00
jetstack-bot
8465f1223e
Merge pull request #5411 from inteon/automate_tools
Use new tools.mk structure for rclone
2022-08-29 12:38:03 +01:00
jetstack-bot
3d6534120c
Merge pull request #5403 from jahrlin/always-upload-kind-logs
move e2e-ci to a script
2022-08-29 10:10:03 +01:00
Tim Ramlot
785d30dd90 bugfix: use new tools.mk structure for rclone
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2022-08-28 21:59:36 +02:00
Tim Ramlot
36b55c1561 improve tools.mk docs
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2022-08-26 12:55:53 +02:00
Joakim Ahrlin
6cfce6459e set errexit, trap kind-logs
Signed-off-by: Joakim Ahrlin <joakim.ahrlin@gmail.com>
2022-08-26 11:46:48 +02:00
Tim Ramlot
5802b3a963 use variables for binaries
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2022-08-26 07:43:17 +00:00
Tim Ramlot
0e8eb38d5c generate build targets dynamically
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2022-08-26 07:23:44 +00:00
Joakim Ahrlin
58de2e57a8 move e2e-ci to a script
Signed-off-by: Joakim Ahrlin <joakim.ahrlin@gmail.com>
2022-08-25 14:28:34 +02:00
Tim Ramlot
37f64ca5a0 partial undo of replace-all for contour-gateway.yaml
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2022-08-19 07:36:43 +00:00
Tim Ramlot
836793e7e3 upgrade gateway api to v0.5.0
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2022-08-08 08:52:59 +00:00
jetstack-bot
88bda66693
Merge pull request #5345 from inteon/ginkgo_v2
Upgrade to Ginkgo v2
2022-08-04 21:06:15 +01:00
jetstack-bot
b52d116fa4
Merge pull request #5363 from inteon/gotestsum_junit
Output junit xml using gotestsum
2022-08-04 12:46:14 +01:00
Tim Ramlot
ba9a6bd5b3 add pruning logic for gotestsum junit xml output
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2022-08-04 11:15:18 +00:00
jetstack-bot
b7c47298a0
Merge pull request #5362 from inteon/simplify_manifest
Simplify static manifest generation
2022-08-04 11:25:14 +01:00
Tim Ramlot
9897f2355c upgrade ginkgo to v2
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2022-08-04 10:16:29 +00:00
Tim Ramlot
aabe2fc5d1 simplify static manifest generation
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2022-08-04 06:54:11 +00:00
Ashley Davis
ea9a46a16a
add trivy scan targets
These enable scanning of each of our container images on linux/amd64
to check for vulnerabilities. These targets can then be used in CI as
an indicator that we might need to take a look at upgrading dependencies
or base images.

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-08-03 15:57:28 +01:00
Matt Dainty
1e2ae60170
Update year to 2022
Signed-off-by: Matt Dainty <matt@bodgit-n-scarper.com>
2022-08-01 11:40:38 +01:00
Ashley Davis
1b10f5dd33
add some docs on changing or adding make targets
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-07-19 16:58:21 +01:00
Ashley Davis
d7e57c9918
use order-only prerequisites where possible for tools
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-07-19 16:16:18 +01:00
Ashley Davis
e7326519f9
update base images using ./hack/latest-base-images.sh
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-07-18 12:33:37 +01:00
Ashley Davis
ba415c2df3
add missing target for $(BINDIR)
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-07-11 15:41:45 +01:00
Maël Valais
24e1ba51a6
make: cmctl and kubectl-cert_manager were using two -ldflags
I also took the opportunity to document the three most important "build"
variables in "make help".

Manually rebased to adopt $(BINDIR) changes

Signed-off-by: Maël Valais <mael@vls.dev>
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-07-11 10:18:30 +01:00
Joe Bowbeer
1dc252e27e update kyverno version and policy
Signed-off-by: Joe Bowbeer <joe.bowbeer@gmail.com>
2022-07-06 10:11:37 -07:00
Ashley Davis
e18908fb56
Use variable for curl, add retries
This adds multiple retries on every attempt we make to use curl, which
should help to reduce flakes. Uses a $(CURL) variable where possible so
that we have the same invocation everywhere.

Also switches to using the more verbose curl arguments, in an attempt to
make it easier to reason about how curl is configured.

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-07-06 12:38:14 +01:00
Ashley Davis
cdfcc63951
check gatewayapi SHA256SUM
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-07-04 15:02:36 +01:00
Ashley Davis
59c7f881ff
use new darwin-arm64 versions of kubebuilder tools
previously we'd relied on rosetta because these tools hadn't been built
for darwin-arm64, but now they've started to be built and we can use
arm64 versions directly

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-07-04 15:02:36 +01:00
jetstack-bot
5a4e7654d4
Merge pull request #5097 from lucacome/bump-k8s-deps
Bump k8s.io dependencies
2022-07-04 14:44:45 +01:00
irbekrm
1c48a7351d Bump versions of kubebuilder assets and kubectl
Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-07-01 19:16:31 +01:00
jetstack-bot
ad50d45487
Merge pull request #5252 from SgtCoDFish/upgrade-test-make
Port upgrade test to make
2022-07-01 17:20:38 +01:00
Ashley Davis
a0ad47f117
bump base images to latest available
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-07-01 12:50:21 +01:00
Ashley Davis
18e98ce3da
move legacy targets to legacy.mk
we don't _need_ to remove these and we can keep them around for
longer, but we don't need them to be in files we actually use and edit.

putting the targets in a separate file feels cleaner!

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-06-30 22:35:45 +01:00
Ashley Davis
ca35696244
add make-based upgrade test
This uses cmctl instead of kubectl_cert-manager, uses make instead of
bazel and fixes an incorrect container name in
test/fixtures/upgrade/overlay/cainjector-ops.yaml

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-06-30 22:35:39 +01:00
Ashley Davis
27e1a770b3
add warning about vendor-go gotcha
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-06-30 22:33:56 +01:00
Ashley Davis
642161a963
make update-all & ensure bazel-only targets are runnable
this allows us to maintain the bazel build files until they're removed,
but tries to avoid accidentally encouraging their use

`make update-all` implementes a non-bazel version of
`hack/update-all.sh`, with `hack/update-all.sh` now calling make but
also doing the bazel stuff it used to.

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-06-30 12:47:30 +01:00
Ashley Davis
80bbe953bb
fix name of command in example comment
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-06-28 16:24:28 +01:00
Ashley Davis
2c9344e316
Don't require python to be installed for everything
We only use python in one place and probably won't start using it more
without some kind of policy change. We don't need to require that everyone
has it installed, and can instead only require it for people who're running
the boilerplate check

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-06-28 15:57:39 +01:00
Ashley Davis
6eb1be3636
make verify_deps is now a no-op
this will allow tests to pass until we remove the pull-cert-manager-deps test

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-06-28 09:28:01 +01:00
Ashley Davis
f8c1ebe2d8
add make verifier / updater for LICENSES
Uses go-licenses to create a CSV file which replaces LICENSES.

The replacement is much smaller and easier to parse for both humans
and for machines.

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-06-28 09:27:54 +01:00
Ashley Davis
b3a3f61fbf
add install for go-licenses
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-06-27 18:15:08 +01:00