From dd193b2dc495d180dfe5dd3d40427b1f8dbe3fca Mon Sep 17 00:00:00 2001 From: Junwei Zhao Date: Tue, 5 May 2020 20:22:03 +1000 Subject: [PATCH] Update helm deployment --- .github/workflows/main.yml | 3 +-- .github/workflows/postgres.yml | 6 ++++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 047020b..60b92c1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,6 +1,6 @@ # This is a basic workflow to help you get started with Actions -name: CI +name: kubectl deployment # Controls when the action will run. Triggers the workflow on push or pull request # events but only for the master branch @@ -39,4 +39,3 @@ jobs: KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_DATA }} with: args: kubectl rollout status deployment/files -n media - \ No newline at end of file diff --git a/.github/workflows/postgres.yml b/.github/workflows/postgres.yml index 887b6e6..9c6555a 100644 --- a/.github/workflows/postgres.yml +++ b/.github/workflows/postgres.yml @@ -1,6 +1,6 @@ # This is a basic workflow to help you get started with Actions -name: CI +name: helm deployment # Controls when the action will run. Triggers the workflow on push or pull request # events but only for the master branch @@ -27,7 +27,9 @@ jobs: env: KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_DATA }} with: - args: helm upgrade --install postgres -n db -f postgres-values.yaml bitnami/postgresql + args: | + helm repo add bitnami https://charts.bitnami.com/bitnami + helm upgrade --install postgres -n db -f postgres-values.yaml bitnami/postgresql - name: verify postgres uses: wahyd4/kubectl-helm-action@master