Commit Graph

48 Commits

Author SHA1 Message Date
James Munnelly
8f1fb874ed Run update-codegen in module mode
Signed-off-by: James Munnelly <jmunnelly@apple.com>
2021-12-17 18:13:44 +00:00
James Munnelly
b2353bee4b Update codegen script to remove workarounds
Signed-off-by: James Munnelly <jmunnelly@apple.com>
2021-10-21 15:43:50 +01:00
irbekrm
81bdabf67a Code review feedback
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-09-30 17:23:42 +01:00
irbekrm
0889570722 Ensures conversion code temp workaround works for Go 1.17
Also refactor

Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-09-30 10:08:09 +01:00
irbekrm
25303b79c9 Use yq instead of jq
Because yq releases builds for darwin/arm

Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-08-23 07:08:51 +01:00
irbekrm
04b584e698 verify-crds script now verifies that the CRDs don't contain status field
This is necessary because some CD tools don't accept resource configs with predefined status fields, but controllergen currently adds this field when a CRD yaml is generated

Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-08-19 06:19:37 +01:00
Inteon
043bbd283e
remove helm-specific labels & add version label
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-11 17:42:32 +02:00
Maartje Eyskens
1dd6443f98 Remove api-migration tool
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-12-17 15:13:21 +01:00
James Munnelly
cf6c21f741 Remove the verify-links.sh script
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-05 14:49:26 +00:00
Maartje Eyskens
1439ca350c Write CRD filter for OpenShift
This adds a Go binary that filters certain keys from the CRDs.
This is meant to remove keys that are not compatible with OpenShift 3.11.
This then is ran on creating the deployment manifests.

Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-02-18 10:52:42 +01:00
James Munnelly
dfafd10391 Remove hack/release tool
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-01-31 10:35:22 +00:00
James Munnelly
3c46032750 Remove repo name prefix from jq target
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-11-15 12:26:11 +00:00
James Munnelly
1de8920bd7 Remove old reference docs generation code
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-11-15 00:10:18 +00:00
James Munnelly
9d5372c93a Use schemapatch to generate openapi schemas
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-10-25 14:44:02 +01:00
JoshVanL
fae39bb525 Adds CLI migration tool with docs on how to use it
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-10-08 16:09:57 +01:00
James Munnelly
37a20c5837 Run hack/update-bazel.sh
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-27 12:07:08 +01:00
James Munnelly
4b1a4fece8 Fix update-codegen for go 1.13
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-26 17:26:43 +01:00
James Munnelly
24f39b4b47 Prefix local WORKSPACE dependencies with @
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-26 15:26:29 +01:00
James Munnelly
9b0af7a5e6 Improve verify-links UX
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-26 15:26:29 +01:00
James Munnelly
a725d651a5 Improve verify-errexit UX
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-26 15:26:29 +01:00
James Munnelly
5c87f83a03 Improve update-gofmt UX
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-26 15:26:29 +01:00
James Munnelly
f1b942e0af Improve update-reference-docs UX
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-26 15:26:29 +01:00
James Munnelly
e44bef7f03 Update hack scripts for vendorless build and tidy up invocations
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-26 12:56:15 +01:00
James Munnelly
f842bf3f88 Set python_version for verify-boilerplate
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-26 12:19:28 +01:00
James Munnelly
32084c24b4 Add generate-groups-internal.sh script from code-generator
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-14 12:01:31 +01:00
James Munnelly
b699babf24 Update crd script to have access to GOPATH
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-07-25 14:57:51 +01:00
James Munnelly
f7882a9c59 Use controller-tools to generate CRDs
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-07-25 14:57:50 +01:00
James Munnelly
17ce68a53f Remove old test dependency
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-03 11:22:35 +01:00
James Munnelly
c5d9830d30 Remove deploy-gen scripts
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-03 11:16:25 +01:00
James Munnelly
c75db6304e Add new golang release tool
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-03 11:16:25 +01:00
James Munnelly
f835a5a591 Update dependency management tools for go modules
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-04-14 15:51:38 +01:00
James Munnelly
77869cf936 Add scripts for generating CRDs using controller-tools
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-06 01:52:26 +00:00
James Munnelly
4283138a81 Move deployment generation values.yaml to deploy/manifests and don't generate without-rbac variants of manifests
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-12-04 16:29:26 +00:00
James Munnelly
5a17c58c03 Rearrange Helm charts into deploy/ and test/e2e/charts directories
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-12-04 16:19:49 +00:00
James Munnelly
4c83e4efdb Revert "Remove extra buildozer modifications"
This reverts commit b50603a576.

Signed-off-by: James Munnelly <james@munnelly.eu>
2018-11-16 13:34:00 +00:00
James Munnelly
b50603a576 Remove extra buildozer modifications
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-11-14 11:39:22 +00:00
James Munnelly
b71944b5a4 Move reference-docs generation tools into docs/ subdir
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-11-14 00:48:06 +00:00
James Munnelly
302e16ace8 Use go_sdk gofmt instead of goimports
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-11-06 11:07:58 +00:00
James Munnelly
4a9de511b3 Run all docs generation with Bazel
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-23 02:15:26 +01:00
James Munnelly
9db19465ba Add //hack:{update,verify}-gofmt targets
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:25:04 +01:00
James Munnelly
5e16dd47ab Run brodocs using bazel
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:25:03 +01:00
James Munnelly
e7677f3656 Update update-codegen to run openapi-gen
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:24:53 +01:00
James Munnelly
9a7082ea86 Use bazel to run deploy-gen scripts
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:24:53 +01:00
James Munnelly
6ceaa5173f Add Kubernetes codegen Bazel rules
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:24:51 +01:00
James Munnelly
41fd345e18 Add update-deps bazel targets
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:24:50 +01:00
James Munnelly
db65d6a170 run //hack:update-bazel
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:24:48 +01:00
James Munnelly
f4fd0acd31 Add update-bazel.sh rule to run gazelle and kazel
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:21:42 +01:00
James Munnelly
77c63bdc2d Add root Bazel build files
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:21:42 +01:00