Skip to content

Commit

Permalink
Add force push of templates
Browse files Browse the repository at this point in the history
  • Loading branch information
kylewuolle committed Nov 29, 2024
1 parent 4dd3656 commit 901cd16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/test_e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ jobs:
run: |
make hmc-chart-release
make helm-push
make FORCE_PUSH=true test-hmc-version helm-push
controller-e2etest:
name: E2E Controller
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ helm-push: helm-package
else \
chart_exists=$$($(HELM) pull $$repo_flag $(REGISTRY_REPO) $$chart_name --version $$chart_version --destination /tmp 2>&1 | grep "not found" || true); \
fi; \
if [ -z "$$chart_exists" ]; then \
if [ -z "$$chart_exists" ] && [ -z $$FORCE_PUSH ]; then \
echo "Chart $$chart_name version $$chart_version already exists in the repository."; \
else \
if $(REGISTRY_IS_OCI); then \
Expand Down

0 comments on commit 901cd16

Please sign in to comment.