From 276e1b8b313c520af89620053605d7f237dc7883 Mon Sep 17 00:00:00 2001 From: Thomas Jespersen Date: Mon, 6 Nov 2023 15:04:44 +0100 Subject: [PATCH] Ensure GitHub workflows have access to DOMAIN_NAME environment variables --- .github/workflows/cloud-infrastructure.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/cloud-infrastructure.yml b/.github/workflows/cloud-infrastructure.yml index e5eff90f2..f15df3af6 100644 --- a/.github/workflows/cloud-infrastructure.yml +++ b/.github/workflows/cloud-infrastructure.yml @@ -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: @@ -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 @@ -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: @@ -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