-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (32 loc) · 1014 Bytes
/
deploy-cluster.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Deploy Cluster
on:
push:
branches:
- oidc-smoke-test
jobs:
deploy:
name: Deploy Cluster
concurrency: deploy_${{ matrix.environment }}
environment:
name: ${{ matrix.environment }}
runs-on: ubuntu-latest
strategy:
max-parallel: 1
matrix:
environment: [platform-test]
permissions:
id-token: write # Required for OIDC authentication to Azure
steps:
- uses: actions/checkout@v4
# - uses: ./.github/actions/deploy-environment
# with:
# azure_credentials: ${{ secrets.AZURE_CREDENTIALS }}
# environment_name: ${{ matrix.environment }}
- name: Test application deployment
if: vars.TEST_APP_DEPLOYMENT == "true"
uses: ./.github/actions/deploy-ittms
with:
azure-client-id: ${{ secrets.AZURE_CLIENT_ID }}
azure-subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }}
environment: ${{ vars.ITTMS_ENVIRONMENT }}