cert-manager/hack
Ashley Davis 32d716654a
Add a makefile flow for building artifacts
Includes targets for:

- all "server" binaries, for all arches
- all containers for all server binaries for all arches
- all client binaries (kubectl plugin / cmctl) for all arches
- the cert-manager helm chart + signature
- the cert-manager static manifests + CRDs
- tools which bazel would download, with checksum verification
- (commented out) a signed SHA256SUM file for client binaries

Upgrades from the bazel flow include that:

- we use OS-specific base images rather than just using amd64 everywhere
- we easily add support for signing artifacts at build time
- we add ".exe" to the end of windows executables
- we add a zip file for windows executables, for easier consumption
- we concatenate YAML files more robustly
- staging a full release should be much faster
- hopefully, it's easier to change things!
- licenses are trimmed down to reduce bloat in images (the license
  bundle was 1.4MB in size alone)

Changes from the bazel flow include:

- containers no longer have a symlink to the binary at an unusual
  path, but instead just have the binary at a more predictable path
  (e.g. /app/cmd/webhook/webhook instead of
  /app/cmd/webhook/webhook.runfiles/com_github_jetstack_cert_manager/cmd/webhook/webhook_/webhook)

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2021-12-15 09:54:15 +00:00
..
bin Merge pull request #4485 from munnerz/m1-support 2021-10-01 14:03:35 +01:00
boilerplate Make the verify aware of the change 2021-01-08 16:57:03 +01:00
build Update bazel repos 2021-11-23 16:58:59 +00:00
containers Add a makefile flow for building artifacts 2021-12-15 09:54:15 +00:00
util add scripts for sha256 sum calculations 2021-12-15 09:54:15 +00:00
artifact-metadata.template.json Add a makefile flow for building artifacts 2021-12-15 09:54:15 +00:00
BUILD.bazel Update codegen script to remove workarounds 2021-10-21 15:43:50 +01:00
concat-yaml.sh Add a makefile flow for building artifacts 2021-12-15 09:54:15 +00:00
latest-base-images.sh Add a makefile flow for building artifacts 2021-12-15 09:54:15 +00:00
latest-kind-images.sh add a script + flow for getting latest kind images 2021-11-08 16:58:16 +00:00
sha256-of-plugin-tar.sh Use The cert-manager Authors. 2020-12-11 19:04:13 +01:00
test-securitycontext-deprecation.sh Use The cert-manager Authors. 2020-12-11 19:04:13 +01:00
update-all.sh Use The cert-manager Authors. 2020-12-11 19:04:13 +01:00
update-bazel.sh Bumps versions of Gazelle, go_rules, Kazel, protobuf 2021-03-29 08:25:12 +01:00
update-codegen.sh config.cert-manager.io -> webhook.config.cert-manager.io 2021-12-01 12:57:08 +00:00
update-crds.sh Use The cert-manager Authors. 2020-12-11 19:04:13 +01:00
update-deps-licenses.sh Add a comment about staticcheck script 2021-08-23 08:58:20 +01:00
update-deps.sh Add a comment about staticcheck script 2021-08-23 08:58:20 +01:00
update-gofmt.sh Use The cert-manager Authors. 2020-12-11 19:04:13 +01:00
verify_boilerplate.py Adds the new format of Go build tags to verify_boilerplate 2021-09-30 10:08:30 +01:00
verify-bazel.sh Bumps versions of Gazelle, go_rules, Kazel, protobuf 2021-03-29 08:25:12 +01:00
verify-chart-version.sh Apply suggestions from code review 2021-08-29 09:24:59 -07:00
verify-codegen.sh spelling: every 2021-03-04 13:04:38 -05:00
verify-crds.sh Code review feedback. 2021-08-19 09:43:45 +01:00
verify-deps-licenses.sh Use yq instead of jq 2021-08-23 07:08:51 +01:00
verify-deps.sh Use The cert-manager Authors. 2020-12-11 19:04:13 +01:00
verify-errexit.sh
verify-gofmt.sh Use The cert-manager Authors. 2020-12-11 19:04:13 +01:00
verify-staticcheck.sh Add a comment about staticcheck script 2021-08-23 08:58:20 +01:00
verify-upgrade.sh Bumps timeout to wait for cm api in upgrade test 2021-11-02 11:19:05 +02:00