Skip to content

Commit

Permalink
Merge pull request #25 from ministryofjustice/NIT-1046-alfresco-helm-…
Browse files Browse the repository at this point in the history
…install-app-and-migrate-data-into-new-cp-dev-environment

NIT-1046 allow the pipeline to modify the dev namespace
  • Loading branch information
pete-j-g authored Jan 24, 2024
2 parents 085e327 + 1f46590 commit f24f015
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/cloud-platform-deploy-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ jobs:
include:
- environment: poc
values: values_poc.yaml
# Get this GitHub environment populated with action secrets by raising a CP pull request. See docs at:
- environment: dev
values: values_dev.yaml
# Get this GitHub environment populated with action secrets by raising a CP pull request. See docs at:
# https://github.com/ministryofjustice/cloud-platform-terraform-serviceaccount?tab=readme-ov-file#input_github_environments
environment:
name: ${{ matrix.environment }}
Expand Down Expand Up @@ -62,8 +64,8 @@ jobs:
# Helm will not deploy unless this secret is present. Create a new one if one does not already exist from env section
SECRET=$(awk '{print substr($0, 19)}' <<< $(kubectl get secrets alfresco-content-services-alfresco-repository-properties-secret -o jsonpath='{.data.alfresco-global\.properties}' | base64 -d)) 2> /dev/null
if [ -z ${SECRET} ]
then
if [ -z ${SECRET} ]
then
SECRET=$(openssl rand -base64 20)
fi
Expand Down
5 changes: 5 additions & 0 deletions alfresco-content-services/values_dev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# this file overrides values defined in ./values.yaml
# repository:
# replicaCount: 1
# share:
# replicaCount: 1

0 comments on commit f24f015

Please sign in to comment.