forked from kloeckner-i/charts
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
35 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -95,40 +95,56 @@ jobs: | |
with: | ||
node_image: kindest/node:${{ matrix.k8s_version }} | ||
config: ./kind-config.yaml | ||
|
||
- uses: helmfile/[email protected] | ||
with: | ||
helmfile-version: 'v0.167.1' | ||
helm-version: 'v3.15.4' | ||
helm-plugins: > | ||
https://github.com/databus23/helm-diff, https://github.com/jkroepke/helm-secrets | ||
helmfile-args: sync --wait | ||
- name: Test the db-operator chart | ||
|
||
- name: Test the db-operator chart install | ||
run: | | ||
ct install --target-branch main --charts ./charts/db-operator | ||
helmfile destroy | ||
# Test is broken because of the image in the previous version, | ||
# so upgrate can't pass | ||
#- 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 | ||
- uses: helmfile/[email protected] | ||
with: | ||
helmfile-version: 'v0.167.1' | ||
helm-version: 'v3.15.4' | ||
helm-plugins: > | ||
https://github.com/databus23/helm-diff, https://github.com/jkroepke/helm-secrets | ||
helmfile-args: sync --wait | ||
|
||
- name: Test the db-operator chart upgrade | ||
run: | | ||
ct install --target-branch main --charts ./charts/db-operator --upgrade | ||
helmfile destroy | ||
- uses: helmfile/[email protected] | ||
with: | ||
helmfile-version: 'v0.167.1' | ||
helm-version: 'v3.15.4' | ||
helm-plugins: > | ||
https://github.com/databus23/helm-diff, https://github.com/jkroepke/helm-secrets | ||
helmfile-args: sync --wait | ||
|
||
- 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 | ||
helmfile destroy | ||
- name: Test db-instances charts install | ||
- uses: helmfile/[email protected] | ||
with: | ||
helmfile-version: 'v0.167.1' | ||
helm-version: 'v3.15.4' | ||
helm-plugins: > | ||
https://github.com/databus23/helm-diff, https://github.com/jkroepke/helm-secrets | ||
helmfile-args: sync --wait | ||
|
||
- name: Test db-instances charts upgrade | ||
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: | ||
|