-
Notifications
You must be signed in to change notification settings - Fork 58
45 lines (41 loc) · 1.45 KB
/
aro-hcp-dev-bicep-what-if.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
38
39
40
41
42
43
44
45
---
name: ARO HCP Integrated DEV Bicep What-If
env:
DEPLOY_ENV: dev
on:
pull_request:
branches:
- main
paths:
- 'dev-infrastructure/**/*.bicep'
- 'dev-infrastructure/**/*.bicepparam'
- 'dev-infrastructure/Makefile'
- '.github/workflows/aro-hcp-dev-bicep-what-if.yml'
jobs:
what-if:
permissions:
id-token: 'write'
contents: 'read'
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
with:
fetch-depth: 1
- name: 'Az CLI login'
uses: azure/login@6c251865b4e6290e7b78be643ea2d005bc51f69a # v2.1.1
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
- name: Install Azure CLI
uses: ./.github/actions/install-azure-cli
- name: 'Deployment What If'
run: |
dev-infrastructure/make ${DEPLOY_ENV} acr.what-if
dev-infrastructure/make ${DEPLOY_ENV} acr-svc.what-if
dev-infrastructure/make ${DEPLOY_ENV} acr-ocp.what-if
dev-infrastructure/make ${DEPLOY_ENV} region.what-if
dev-infrastructure/make ${DEPLOY_ENV} svc.what-if
dev-infrastructure/make ${DEPLOY_ENV} mgmt.what-if
dev-infrastructure/make ${DEPLOY_ENV} metrics-infra.what-if
dev-infrastructure/make ${DEPLOY_ENV} imagesync.what-if