Skip to content

Commit

Permalink
Fix helm package build redundancy and release automation (#1010)
Browse files Browse the repository at this point in the history
  • Loading branch information
rooftopcellist authored Aug 1, 2022
1 parent 3a6040e commit c230016
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion ansible/helm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down

0 comments on commit c230016

Please sign in to comment.