Skip to content

Commit

Permalink
Merge pull request #706 from bcgov/sf-config-script-update
Browse files Browse the repository at this point in the history
Updated configmap update script to use script present in branch selected when we deploy backend to DEV
  • Loading branch information
michaeltangbcgov authored Jan 8, 2025
2 parents 3dedd86 + 1067618 commit ef1c201
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-n-deploy-backend-to-ocp-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ jobs:
| oc apply -n ${{ env.OPENSHIFT_NAMESPACE }} -f -
# update configmap
curl -s https://raw.githubusercontent.com/bcgov/${{ env.APP_NAME }}/refs/heads/main/tools/openshift/update-configmap-backend.sh | bash /dev/stdin \
bash tools/openshift/update-configmap-backend.sh \
${{ env.TARGET_ENV }} \
${{ env.APP_NAME }} \
${{ env.OPENSHIFT_NAMESPACE }} \
Expand Down
2 changes: 1 addition & 1 deletion tools/openshift/update-configmap-backend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ oc create -n "$OPENSHIFT_NAMESPACE" configmap "$APP_NAME"-backend-config-map \
--from-literal=GRAD_REPORT_API_URL="http://educ-grad-report-api.$GRAD_NAMESPACE-$ENV.svc.cluster.local:8080/api/v1" \
--from-literal=GRAD_TRAX_API_URL="http://educ-grad-trax-api.$GRAD_NAMESPACE-$ENV.svc.cluster.local:8080/api/v1" \
--from-literal=GRAD_TRAX_API_URL_V2="http://educ-grad-trax-api.$GRAD_NAMESPACE-$ENV.svc.cluster.local:8080/api/v2" \
--form-literal=INSTITUTE_API_URL="http://institute-api.$COMMON_NAMESPACE-$ENV.svc.cluster.local:8080/api/v1" \
--from-literal=INSTITUTE_API_URL="http://institute-api-master.$COMMON_NAMESPACE-$ENV.svc.cluster.local:8080/api/v1" \
--dry-run=client -o yaml | oc apply -f -

#### splunk
Expand Down

0 comments on commit ef1c201

Please sign in to comment.