Skip to content

build: Release chart/agh3 v3.8.7 #115

build: Release chart/agh3 v3.8.7

build: Release chart/agh3 v3.8.7 #115

Workflow file for this run

name: ⚙️ [AGH3] 🧪 Test
on:
pull_request:
branches:
- main
paths:
- charts/agh3/**
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: 🔔 Checkout
uses: actions/checkout@v2
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@v1
with:
version: v3.10.3
- name: 📦 Add Helm dependency repos
run: |
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo add lkclab https://charts.lkc-lab.com
helm repo update
- name: 🧪 Run chart-linting
run: |
helm dependency build charts/agh3
helm lint charts/agh3
- name: 🧪 Run chart-testing -> internal mode (default)
run: |
helm dependency build charts/agh3
helm template agh charts/agh3 \
--set customRegistrySecret.auth.username='robot$ci-test-lkc-lab+foo' \
--set customRegistrySecret.auth.password='ci-test-9e1e8ee7-edba-49d9-9cae-2dabf522d4d1' \
--set keygen.apiToken='ci-test-f9cef717fa3c' \
--set keygen.accountID='ci-test-50e8e2cc-a1ac-4c8d-85e3-f897be4350a0' \
-n agh
- name: 🧪 Run chart-testing -> internal mode, storage-system only
run: |
helm dependency build charts/agh3
helm template agh charts/agh3 \
--set customRegistrySecret.auth.username='robot$ci-test-lkc-lab+foo' \
--set customRegistrySecret.auth.password='ci-test-9e1e8ee7-edba-49d9-9cae-2dabf522d4d1' \
--set keygen.apiToken='ci-test-f9cef717fa3c' \
--set keygen.accountID='ci-test-50e8e2cc-a1ac-4c8d-85e3-f897be4350a0' \
--set captain.enabled=false \
--set controller.enabled=false \
--set ui.enabled=false \
--set report.enabled=false \
--set db.helpers.init.dbs.forceProvision=true \
-n agh
- name: 🧪 Run chart-testing -> external mode
run: |
helm dependency build charts/agh3
helm template agh charts/agh3 \
--set customRegistrySecret.auth.username='robot$ci-test-lkc-lab+foo' \
--set customRegistrySecret.auth.password='ci-test-9e1e8ee7-edba-49d9-9cae-2dabf522d4d1' \
--set keygen.apiToken='ci-test-f9cef717fa3c' \
--set keygen.accountID='ci-test-50e8e2cc-a1ac-4c8d-85e3-f897be4350a0' \
--set db.connection.type=external \
--set db.internal.enabled=false \
--set db.connection.host='db.ci-test.example.com' \
--set db.connection.password='ci-test-b29cb508-15e6-4a08-a389-1e1f21cbc911' \
--set rabbitmq.connection.type=external \
--set rabbitmq.internal.enabled=false \
--set rabbitmq.connection.host='rabbitmq.ci-test.example.com' \
--set rabbitmq.connection.password='ci-test-b29cb508-15e6-4a08-a389-1e1f21cbc911' \
--set minio.connection.type=external \
--set minio.internal.enabled=false \
--set minio.connection.host='minio.ci-test.example.com' \
--set captain.secret.minio.password='ci-test-db6fb8ad' \
--set core.secret.minio.password='ci-test-5b5b9b5c' \
-n agh