Skip to content

Commit

Permalink
Update cloud infrastructure workflow to set the DOMAIN_NAME environme…
Browse files Browse the repository at this point in the history
…nt variable (#197)

### Summary & Motivation

Update the cloud infrastructure workflow to pass the `DOMAIN_NAME`
environment variable to the Bash scripts, enabling them to configure
custom domains.

### Checklist

- [x] I have added a Label to the pull-request
- [x] I have added tests, and done manual regression tests
- [x] I have updated the documentation, if necessary
  • Loading branch information
tjementum authored Nov 6, 2023
2 parents 2a21a67 + 276e1b8 commit 7c627de
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/cloud-infrastructure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ jobs:
ACTIVE_DIRECTORY_SQL_ADMIN_OBJECT_ID: ${{ secrets.ACTIVE_DIRECTORY_SQL_ADMIN_OBJECT_ID }}
CONTAINER_REGISTRY_NAME: ${{ vars.CONTAINER_REGISTRY_NAME }}
UNIQUE_CLUSTER_PREFIX: ${{ vars.UNIQUE_CLUSTER_PREFIX }}
DOMAIN_NAME: ${{ env.DOMAIN_NAME.DOMAIN_NAME }}
run: bash ./cloud-infrastructure/cluster/config/staging-west-europe.sh --plan

staging-environment-deploy:
Expand Down Expand Up @@ -170,6 +171,7 @@ jobs:
ACTIVE_DIRECTORY_SQL_ADMIN_OBJECT_ID: ${{ secrets.ACTIVE_DIRECTORY_SQL_ADMIN_OBJECT_ID }}
CONTAINER_REGISTRY_NAME: ${{ vars.CONTAINER_REGISTRY_NAME }}
UNIQUE_CLUSTER_PREFIX: ${{ vars.UNIQUE_CLUSTER_PREFIX }}
DOMAIN_NAME: ${{ env.DOMAIN_NAME.DOMAIN_NAME }}
run: bash ./cloud-infrastructure/cluster/config/staging-west-europe.sh --apply

- name: Refresh Azure tokens ## The previous step may take a while, so we refresh the token to avoid timeouts
Expand Down Expand Up @@ -217,6 +219,7 @@ jobs:
ACTIVE_DIRECTORY_SQL_ADMIN_OBJECT_ID: ${{ secrets.ACTIVE_DIRECTORY_SQL_ADMIN_OBJECT_ID }}
CONTAINER_REGISTRY_NAME: ${{ vars.CONTAINER_REGISTRY_NAME }}
UNIQUE_CLUSTER_PREFIX: ${{ vars.UNIQUE_CLUSTER_PREFIX }}
DOMAIN_NAME: ${{ env.DOMAIN_NAME.DOMAIN_NAME }}
run: bash ./cloud-infrastructure/cluster/config/production-west-europe.sh --plan

production-environment-deploy:
Expand Down Expand Up @@ -283,6 +286,7 @@ jobs:
ACTIVE_DIRECTORY_SQL_ADMIN_OBJECT_ID: ${{ secrets.ACTIVE_DIRECTORY_SQL_ADMIN_OBJECT_ID }}
CONTAINER_REGISTRY_NAME: ${{ vars.CONTAINER_REGISTRY_NAME }}
UNIQUE_CLUSTER_PREFIX: ${{ vars.UNIQUE_CLUSTER_PREFIX }}
DOMAIN_NAME: ${{ env.DOMAIN_NAME.DOMAIN_NAME }}
run: bash ./cloud-infrastructure/cluster/config/production-west-europe.sh --apply

- name: Refresh Azure tokens ## The previous step may take a while, so we refresh the token to avoid timeouts
Expand Down

0 comments on commit 7c627de

Please sign in to comment.