Skip to content

add mce clusterlifecycle-state-metrics #501

add mce clusterlifecycle-state-metrics

add mce clusterlifecycle-state-metrics #501

Workflow file for this run

---
name: CS PR Check Environment Bicep What-If
env:
DEPLOY_ENV: cs-pr
DEPLOYMENT_NAME_SUFFIX: "-dev-${GITHUB_RUN_ID}"
on:
pull_request:
branches:
- main
paths:
- 'config/config.yaml'
- 'dev-infrastructure/**/*.bicep'
- 'dev-infrastructure/**/*.bicepparam'
- 'dev-infrastructure/Makefile'
- '.github/workflows/cs-pr-what-if.yml'
jobs:
what-if:
permissions:
id-token: 'write'
contents: 'read'
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 1
- name: "install azure-cli"
uses: "Azure/ARO-HCP@main"
- name: 'Az CLI login'
uses: azure/login@a65d910e8af852a8061c627c456678983e180302 # v2.2.0
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
- name: 'Deployment What If'
run: |
cd dev-infrastructure/
make what-if