mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-26 21:33:14 +00:00
Fix helm package build redundancy and release automation (#1010)
This commit is contained in:
2
Makefile
2
Makefile
@@ -295,6 +295,8 @@ helm-chart-generate: kustomize helm kubectl-slice yq charts
|
|||||||
--output-dir=charts/$(CHART_NAME)/templates \
|
--output-dir=charts/$(CHART_NAME)/templates \
|
||||||
--sort-by-kind
|
--sort-by-kind
|
||||||
@echo "AWX Operator installed with Helm Chart version $(VERSION)" > charts/$(CHART_NAME)/templates/NOTES.txt
|
@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
|
mkdir charts/$(CHART_NAME)/crds
|
||||||
mv charts/$(CHART_NAME)/templates/customresourcedefinition* charts/$(CHART_NAME)/crds
|
mv charts/$(CHART_NAME)/templates/customresourcedefinition* charts/$(CHART_NAME)/crds
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
- name: Build and package helm chart
|
- name: Build and package helm chart
|
||||||
command: |
|
command: |
|
||||||
make helm-chart helm-package
|
make helm-package
|
||||||
environment:
|
environment:
|
||||||
VERSION: "{{ tag }}"
|
VERSION: "{{ tag }}"
|
||||||
IMAGE_TAG_BASE: "{{ operator_image }}"
|
IMAGE_TAG_BASE: "{{ operator_image }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user