Skip to content

Commit

Permalink
chore: improve resources for helm test (#504)
Browse files Browse the repository at this point in the history
set replicaCount=1 and postgresql.architecture=standalone
and update version to upgrade from
  • Loading branch information
evegufy authored Feb 6, 2025
1 parent f2a813a commit 279d15c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/portal-chart-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
run: |
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo add tractusx-dev https://eclipse-tractusx.github.io/charts/dev
helm install portal charts/portal --namespace install --create-namespace --debug
helm install portal charts/portal --namespace install --set replicaCount=1 --set postgresql.architecture=standalone --wait --wait-for-jobs --create-namespace --debug
helm uninstall portal --namespace install
if: github.event_name != 'pull_request' || steps.list-changed.outputs.changed == 'true'

Expand All @@ -100,7 +100,7 @@ jobs:
run: |
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo add tractusx-dev https://eclipse-tractusx.github.io/charts/dev
helm install portal tractusx-dev/portal --version ${{ github.event.inputs.upgrade_from || '1.8.0' }} --namespace upgrade --create-namespace
helm install portal tractusx-dev/portal --version ${{ github.event.inputs.upgrade_from || '2.3.0' }} --set replicaCount=1 --set postgresql.architecture=standalone --wait --wait-for-jobs --namespace upgrade --create-namespace
helm dependency update charts/portal
helm upgrade portal charts/portal --namespace upgrade -f charts/values-test.yaml
if: github.event_name != 'pull_request' || steps.list-changed.outputs.changed == 'true'

0 comments on commit 279d15c

Please # to comment.