Fix helm package build redundancy and release automation (#1010)

This commit is contained in:
Christian Adams
2022-08-01 17:27:15 -04:00
committed by GitHub
parent 3a6040e0cd
commit c230016819
2 changed files with 3 additions and 1 deletions

View File

@@ -295,6 +295,8 @@ helm-chart-generate: kustomize helm kubectl-slice yq charts
--output-dir=charts/$(CHART_NAME)/templates \
--sort-by-kind
@echo "AWX Operator installed with Helm Chart version $(VERSION)" > charts/$(CHART_NAME)/templates/NOTES.txt
# clean old crds dir before copying in newly generated CRDs
rm -rf charts/$(CHART_NAME)/crds
mkdir charts/$(CHART_NAME)/crds
mv charts/$(CHART_NAME)/templates/customresourcedefinition* charts/$(CHART_NAME)/crds

View File

@@ -16,7 +16,7 @@
- name: Build and package helm chart
command: |
make helm-chart helm-package
make helm-package
environment:
VERSION: "{{ tag }}"
IMAGE_TAG_BASE: "{{ operator_image }}"