Skip to content

Commit

Permalink
More removing qualifier
Browse files Browse the repository at this point in the history
  • Loading branch information
psoleckimoj committed Jan 15, 2025
1 parent 8841534 commit cdf28c7
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ commands:
type: string
releaseName:
type: string
qualifier:
type: string
releaseChannel:
type: string
steps:
Expand All @@ -38,8 +36,7 @@ commands:
command: |
VERSION_TO_DEPLOY=$(cat /tmp/build-info/version-to-deploy.txt)
sed -i "s/appVersion:.*/appVersion: \"${VERSION_TO_DEPLOY}\"/g" "./helm_deploy/prisoner-content-hub-frontend/Chart.yaml"
QUALIFIER=<< parameters.qualifier >>
RELEASE_NAME=<< parameters.releaseName >>${QUALIFIER:+-$QUALIFIER}
RELEASE_NAME=<< parameters.releaseName >>
kubectl -n ${KUBE_NAMESPACE} get secret ip-allowlist -o json | jq '{ ingress: { allowed: .data | map_values(@base64d) } } ' | \
helm upgrade $RELEASE_NAME ./helm_deploy/prisoner-content-hub-frontend \
--install --wait --reset-values --timeout 360s \
Expand All @@ -63,7 +60,7 @@ commands:
--set prisonerAuthAD.clientSecret="${AZURE_AD_CLIENT_SECRET}" \
--set appInsightsSecret="${APPINSIGHTS_INSTRUMENTATIONKEY}" \
--set image.tag=${VERSION_TO_DEPLOY} \
--set ingress.qualifier="<< parameters.qualifier >>"
--set ingress.qualifier=""
PULL_REQUEST=${CIRCLE_PULL_REQUEST##*/}
if [ ! -z $PULL_REQUEST ]; then
Expand Down Expand Up @@ -267,9 +264,6 @@ jobs:
parameters:
environment:
type: string
qualifier:
type: string
default: ""
releaseChannel:
type: string
steps:
Expand All @@ -279,7 +273,6 @@ jobs:
- release_to_namespace:
environment: "<< parameters.environment >>"
releaseName: "prisoner-content-hub-frontend"
qualifier: "<< parameters.qualifier >>"
releaseChannel: "<< parameters.releaseChannel >>"

clean_up_dev_deployments:
Expand Down

0 comments on commit cdf28c7

Please sign in to comment.