Skip to content

Commit

Permalink
Enable the check for breaking changes in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
allanger committed Apr 8, 2024
1 parent 090c22d commit 3e2e857
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/helm-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,12 @@ jobs:
helmfile sync
ct install --target-branch main --charts ./charts/db-operator
helmfile destroy
# -- TODO: Enable it when new tests are used in main
# - name: Test db-operator charts upgrade
# run: make test-upgrade
- name: Test db-operator charts upgrade
run: |
helmfile -l name=prometheus-stack sync
helmfile sync
ct install --target-branch main --charts ./charts/db-operator --upgrade
helmfile destroy
- name: Test db-instances charts install
run: |
helmfile -l name=prometheus-stack sync
Expand All @@ -114,9 +117,14 @@ jobs:
kubectl rollout status deploy/db-operator-webhook -n db-operator
ct install --target-branch main --charts ./charts/db-instances
helmfile destroy
# -- TODO: Enable it when new tests are used in main
# - name: Test db-instances charts upgrade
# run: make test-upgrade-instances
- name: Test db-instances charts install
run: |
helmfile -l name=prometheus-stack sync
helmfile sync -e instances
kubectl rollout status deploy/db-operator -n db-operator
kubectl rollout status deploy/db-operator-webhook -n db-operator
ct install --target-branch main --charts ./charts/db-instances --upgrade
helmfile destroy
release:
runs-on: ubuntu-latest
needs: test
Expand Down

0 comments on commit 3e2e857

Please sign in to comment.