Skip to content

Commit

Permalink
fix: ci values for new chart
Browse files Browse the repository at this point in the history
  • Loading branch information
debdutdeb authored Feb 22, 2023
1 parent 35b29c8 commit f095a49
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-helm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,15 @@ jobs:
run: helm package ./helm-charts/rocketchat && cp rocketchat-${{ env.ROCKETCHAT_VERSION }}.tgz gh-pages/charts/

- name: Install helm package
run: helm install --set mongodb.auth.username=rocketchat,mongodb.auth.password=testpass,mongodb.auth.database=rocketchat,mongodb.auth.rootPassword=root-testpass test-install-rocketchat rocketchat-${{ env.ROCKETCHAT_VERSION }}.tgz
run: helm install --set mongodb.auth.passwords={testpass},mongodb.auth.rootPassword=root-testpass test-install-rocketchat rocketchat-${{ env.ROCKETCHAT_VERSION }}.tgz

- name: Test helm installation
run: helm test --logs test-install-rocketchat

- name: Test helm upgrade
run: |
helm repo add rocketchat https://rocketchat.github.io/helm-charts
helm install --set mongodb.auth.username=rocketchat,mongodb.auth.password=testpass,mongodb.auth.database=rocketchat,mongodb.auth.rootPassword=root-testpass test-upgrade-rocketchat rocketchat/rocketchat
helm install --set mongodb.auth.passwords={testpass},mongodb.auth.rootPassword=root-testpass test-upgrade-rocketchat rocketchat/rocketchat
echo waiting for pod to be created
sleep 80
timeout 360 kubectl port-forward --pod-running-timeout=1m0s --namespace default $(kubectl get pods --namespace default -l "app.kubernetes.io/name=rocketchat,app.kubernetes.io/instance=test-upgrade-rocketchat" -o jsonpath='{ .items[0].metadata.name }') 8888:3000 &
Expand All @@ -100,7 +100,7 @@ jobs:
- name: (Microservices) Test helm installation
run: |
helm install --set microservices.enabled=true,mongodb.auth.username=rocketchat,mongodb.auth.password=testpass,mongodb.auth.database=rocketchat,mongodb.auth.rootPassword=root-testpass test-install-rocketchat-microservices rocketchat-${{ env.ROCKETCHAT_VERSION }}.tgz
helm install --set microservices.enabled=true,mongodb.auth.passwords={testpass},mongodb.auth.rootPassword=root-testpass test-install-rocketchat-microservices rocketchat-${{ env.ROCKETCHAT_VERSION }}.tgz
echo waiting for pod to be created
sleep 80
timeout 360 kubectl port-forward --pod-running-timeout=1m0s --namespace default $(kubectl get pods --namespace default -l "app.kubernetes.io/name=rocketchat,app.kubernetes.io/instance=test-install-rocketchat-microservices" -o jsonpath='{ .items[0].metadata.name }') 8889:3000 &
Expand Down

0 comments on commit f095a49

Please sign in to comment.