Skip to content

Commit

Permalink
NIT-994 pipeline for installing helm charts
Browse files Browse the repository at this point in the history
  • Loading branch information
Shahzad Chaudhry committed Dec 19, 2023
1 parent 95e7135 commit 44e1aca
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/cloud-platform-deploy-release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: cloud-platform-deploy-release
name: cloud-platform-helm-releases

on:
push:
Expand Down Expand Up @@ -42,6 +42,8 @@ jobs:
uses: azure/setup-helm@v3

- name: Deploy to dev
shell: bash
working-directory: ./alfresco-content-services
run: |
# https://github.com/ministryofjustice/cloud-platform-example-application/blob/main/.github/workflows/deploy.yml#L38
echo "${{ secrets.KUBE_CERT }}" > ca.crt
Expand All @@ -68,7 +70,6 @@ jobs:
# This is the S3 bucket where docs are stored
export BUCKET_NAME=$(awk '{print substr($0, 0)}' <<< $(kubectl get secrets s3-bucket-output -o jsonpath='{.data.bucket_name}' | base64 -d))
cd alfresco-content-services
helm upgrade --install alfresco-content-services . --values=./values.yaml \
--set s3connector.config.bucketName=$BUCKET_NAME \
--set global.tracking.sharedsecret=$SECRET
Expand Down

0 comments on commit 44e1aca

Please sign in to comment.