Skip to content

Commit

Permalink
Use helm action output for URL's
Browse files Browse the repository at this point in the history
  • Loading branch information
WyriHaximus committed Nov 17, 2024
1 parent 5ea9ebb commit f1fbdd3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/helm-charts-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:
- run: kubectl get svc -A
- name: Install PiHole
uses: evryfs/[email protected]
id: helm-pihole
with:
repo: https://mojo2600.github.io/pihole-kubernetes/
chart: pihole
Expand All @@ -63,9 +64,10 @@ jobs:
- name: Create postgresql URL
id: pihole
run: |
echo ::set-output name=hostname::$(echo "pihole-helm-charts-${{ github.run_number }}-web.default" | base64)
echo ::set-output name=hostname::$(echo "${{ steps.helm-pihole.outputs.releaseName }}-web.default" | base64)
- name: Install postgresql
uses: evryfs/[email protected]
id: helm-postgresql
with:
repo: https://charts.bitnami.com/bitnami
chart: postgresql
Expand All @@ -80,7 +82,7 @@ jobs:
- name: Create postgresql URL
id: postgresql
run: |
echo ::set-output name=url::$(echo "postgresql://postgres:${{ steps.postgresql_password.outputs.password }}@postgresql-helm-charts-${{ github.run_number }}.default/postgres")
echo ::set-output name=url::$(echo "postgresql://postgres:${{ steps.postgresql_password.outputs.password }}@${{ steps.helm-postgresql.outputs.releaseName }}.default/postgres")
- name: Add WyriHaximusNet repo
run: helm repo add WyriHaximusNet https://helm.wyrihaximus.net/
- name: Install Chart Tester
Expand Down

0 comments on commit f1fbdd3

Please sign in to comment.