Skip to content

Commit

Permalink
Update preprod domain to AKS
Browse files Browse the repository at this point in the history
  • Loading branch information
vipin-dfe committed Nov 27, 2024
1 parent 274af04 commit 0035fdd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 17 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,22 +97,6 @@ jobs:
image-tag: ${{ github.sha }}
azure-credentials: ${{ secrets.AZURE_CREDENTIALS }}

set_matrix:
name: Set deployment matrix
runs-on: ubuntu-latest
needs: [build_image]
outputs:
deployment_matrix: ${{ steps.set-matrix.outputs.deployment_matrix }}
steps:
- id: set-matrix
run: |
if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then
DEPLOYMENT_MATRIX="{ 'environment': ['${{ github.event.inputs.environment }}'] }"
else
DEPLOYMENT_MATRIX="{ 'environment': ['preprod'] }"
fi
echo "deployment_matrix=$DEPLOYMENT_MATRIX" >> $GITHUB_OUTPUT
deploy_non_prod:
name: Deploy to ${{ matrix.environment }} environment
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions terraform/application/config/preprod.yml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
---
EXTERNAL_DOMAIN: preprod.refer-serious-misconduct.education.gov.uk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"resource_group_name": "s189p01-rsm-dom-rg",
"domains": ["preprod"],
"environment_short": "pp",
"origin_hostname": "s165t01-rsm-preprod-app.azurewebsites.net"
"origin_hostname": "refer-serious-misconduct-preprod.test.teacherservices.cloud"
}
}
}

0 comments on commit 0035fdd

Please sign in to comment.