Skip to content

Commit

Permalink
E2E tests - [DO NOT MERGE]
Browse files Browse the repository at this point in the history
  • Loading branch information
slysunkin committed Nov 19, 2024
1 parent 478f4d5 commit 432a30e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,19 +76,19 @@ set-hmc-version: yq
for template in $$TEMPLATE_DIR; do \
if [ $$(yq eval '.kind' $$template) = 'ClusterTemplate' ]; then \
echo $$template; \
sed -i '' "s/chartVersion:.*[^$$cutversion].*/&-$$cutversion/g" "$$template"; \
sed -i "s/chartVersion:.*[^$$cutversion].*/&-$$cutversion/g" "$$template"; \
fi; \
done; \
CHART_DIR=$(TEMPLATES_DIR)/cluster/**/Chart.yaml; \
for chart in $$CHART_DIR; do \
echo $$chart; \
sed -i '' "s/version:.*[^$$cutversion]*./&-$$cutversion/g" "$$chart"; \
sed -i "s/version:.*[^$$cutversion]*./&-$$cutversion/g" "$$chart"; \
done; \
TEST_RES="test/e2e/managedcluster/resources/*.yaml.tpl"; \
for template in $$TEST_RES; do \
if [ $$(yq eval '.kind' $$template) = 'ManagedCluster' ]; then \
echo $$template; \
sed -i '' "s/template:.*[^$$cutversion].*/&-$$cutversion/g" "$$template"; \
sed -i "s/template:.*[^$$cutversion].*/&-$$cutversion/g" "$$template"; \
fi; \
done

Expand Down

0 comments on commit 432a30e

Please sign in to comment.