Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor release process for Github and Staging
Replace use of sed with gojq to modify templates, by copying manifests to _artifacts and outputting to out/*-components.yaml, preventing source files being modified in place. Switch to using Docker build cache to speed up builds, should reduce CloudBuild times significantly. CloudBuild modified such that manifests will be generated and uploaded to GCS on execution. This will allow advanced users to be able to test manifests directly from staging for testing prior to release. Finally, targets are added to create a release in Github using the Github CLI. Signed-off-by: Naadir Jeewa <jeewan@vmware.com>
- Loading branch information
1 parent
d23cc4e
commit bebdfec
Showing
13 changed files
with
362 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
images: | ||
- name: "" | ||
newName: "" | ||
newTag: "" | ||
kind: Kustomization | ||
patchesJson6902: | ||
- path: pull-policy-patch.yaml | ||
target: | ||
group: apps | ||
kind: Deployment | ||
name: controller-name | ||
namespace: namespace | ||
version: v1 | ||
- path: pull-policy-patch.yaml | ||
target: | ||
group: apps | ||
kind: Deployment | ||
name: controller-name | ||
namespace: capi-webhook-system | ||
version: v1 | ||
resources: | ||
- source-manifest.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- op: replace | ||
path: /spec/template/spec/containers/0/imagePullPolicy | ||
value: Always |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.