build: Release chart/agh3-playground v1.2.4
#17
Workflow file for this run
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
name: ⚙️ [AGH3-Playground] 🧪 Test | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- charts/playground/** | |
- .github/workflows/agh3-playground-release.yml | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🔔 Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: ⚙️ Configure Git | |
run: | | |
git config user.name "$GITHUB_ACTOR" | |
git config user.email "$GITHUB_ACTOR@users.noreply.github.com" | |
- name: 🪝 Install Helm | |
uses: azure/setup-helm@v4 | |
with: | |
version: v3.14.4 | |
- name: 📦 Add Helm dependency repos | |
run: | | |
helm repo add bitnami https://charts.bitnami.com/bitnami | |
helm repo update | |
- name: 🧪 Run chart-linting | |
run: | | |
helm dependency build charts/playground | |
helm lint charts/playground | |
- name: 🧪 Run chart-testing -> internal mode (default) | |
run: | | |
helm dependency build charts/playground | |
helm template agh charts/playground \ | |
--set customRegistrySecret.auth.username='robot$ci-test-lkc-lab+foo' \ | |
--set customRegistrySecret.auth.password='ci-test-9e1e8ee7-edba-49d9-9cae-2dabf522d4d1' \ | |
--set playground.secret.firebase.apiKey='ci-test-firebase--api-key' \ | |
--set playground.secret.firebase.authDomain='ci-test-firebase.firebaseapp.com' \ | |
--set playground.secret.firebase.projectId='ci-test-firebase' \ | |
--set playground.secret.firebase.storageBucket='ci-test-firebase.appspot.com' \ | |
--set playground.secret.firebase.messagingSenderId='ci-test-firebase-sender-id' \ | |
--set playground.secret.firebase.appId='1:ci-test-firebase-sender-id:web:ci-test-firebase-app-id' \ | |
--set playground.secret.firebase.measurementId='G-CI_TEST_CODE' \ | |
-n agh3-playground | |
- name: 🧪 Run chart-testing -> internal mode with custom namespace | |
run: | | |
helm dependency build charts/playground | |
helm template agh charts/playground \ | |
--set customRegistrySecret.auth.username='robot$ci-test-lkc-lab+foo' \ | |
--set customRegistrySecret.auth.password='ci-test-9e1e8ee7-edba-49d9-9cae-2dabf522d4d1' \ | |
--set playground.service.backendRef.namespace='agh3-prod' \ | |
--set playground.service.backendRef.kind='Service' \ | |
--set playground.secret.firebase.apiKey='ci-test-firebase--api-key' \ | |
--set playground.secret.firebase.authDomain='ci-test-firebase.firebaseapp.com' \ | |
--set playground.secret.firebase.projectId='ci-test-firebase' \ | |
--set playground.secret.firebase.storageBucket='ci-test-firebase.appspot.com' \ | |
--set playground.secret.firebase.messagingSenderId='ci-test-firebase-sender-id' \ | |
--set playground.secret.firebase.appId='1:ci-test-firebase-sender-id:web:ci-test-firebase-app-id' \ | |
--set playground.secret.firebase.measurementId='G-CI_TEST_CODE' \ | |
-n agh3-playground | |
- name: 🧪 Run chart-testing -> external mode | |
run: | | |
helm dependency build charts/playground | |
helm template agh charts/playground \ | |
--set customRegistrySecret.auth.username='robot$ci-test-lkc-lab+foo' \ | |
--set customRegistrySecret.auth.password='ci-test-9e1e8ee7-edba-49d9-9cae-2dabf522d4d1' \ | |
--set playground.service.backendRef.kind='ExternalService' \ | |
--set playground.service.backendRef.endpoint='example.com/api/v1' \ | |
--set playground.secret.firebase.apiKey='ci-test-firebase--api-key' \ | |
--set playground.secret.firebase.authDomain='ci-test-firebase.firebaseapp.com' \ | |
--set playground.secret.firebase.projectId='ci-test-firebase' \ | |
--set playground.secret.firebase.storageBucket='ci-test-firebase.appspot.com' \ | |
--set playground.secret.firebase.messagingSenderId='ci-test-firebase-sender-id' \ | |
--set playground.secret.firebase.appId='1:ci-test-firebase-sender-id:web:ci-test-firebase-app-id' \ | |
--set playground.secret.firebase.measurementId='G-CI_TEST_CODE' \ | |
-n agh3-playground |