diff --git a/.azure-devops/cred-poli-scan.yml b/.azure-devops/cred-poli-scan.yml index 1bda2b7f0..eff118b37 100644 --- a/.azure-devops/cred-poli-scan.yml +++ b/.azure-devops/cred-poli-scan.yml @@ -5,9 +5,10 @@ # https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/github?view=azure-devops&tabs=yaml#disabling-the-ci-trigger trigger: none -# pull request validation pr: -- main + branches: + include: + - main pool: vmImage: windows-latest diff --git a/.azure-devops/nightlybuild/mlz-bicep-azurecloud-pipelines.yml b/.azure-devops/nightlybuild/mlz-bicep-azurecloud-pipelines.yml index c7c03520d..9ec8247d9 100644 --- a/.azure-devops/nightlybuild/mlz-bicep-azurecloud-pipelines.yml +++ b/.azure-devops/nightlybuild/mlz-bicep-azurecloud-pipelines.yml @@ -7,7 +7,6 @@ schedules: branches: include: - main - - mlz-azure-pipelines always: true pool: diff --git a/.azure-devops/nightlybuild/mlz-bicep-azuregov-pipelines.yml b/.azure-devops/nightlybuild/mlz-bicep-azuregov-pipelines.yml index 95c60b7ff..9256750cd 100644 --- a/.azure-devops/nightlybuild/mlz-bicep-azuregov-pipelines.yml +++ b/.azure-devops/nightlybuild/mlz-bicep-azuregov-pipelines.yml @@ -7,7 +7,6 @@ schedules: branches: include: - main - - mlz-azure-pipelines always: true pool: diff --git a/.azure-devops/nightlybuild/mlz-tf-azurecloud-pipelines.yml b/.azure-devops/nightlybuild/mlz-tf-azurecloud-pipelines.yml index 65e8ade96..7f7d804cb 100644 --- a/.azure-devops/nightlybuild/mlz-tf-azurecloud-pipelines.yml +++ b/.azure-devops/nightlybuild/mlz-tf-azurecloud-pipelines.yml @@ -7,7 +7,6 @@ schedules: branches: include: - main - - mlz-azure-pipelines always: true pool: diff --git a/.azure-devops/nightlybuild/mlz-tf-azuregov-pipelines.yml b/.azure-devops/nightlybuild/mlz-tf-azuregov-pipelines.yml index 8f251b719..28477d99d 100644 --- a/.azure-devops/nightlybuild/mlz-tf-azuregov-pipelines.yml +++ b/.azure-devops/nightlybuild/mlz-tf-azuregov-pipelines.yml @@ -7,7 +7,6 @@ schedules: branches: include: - main - - mlz-azure-pipelines always: 'true' pool: vmImage: ubuntu-latest diff --git a/.azure-devops/prbuild/mlz-pr-bicep-azurecloud-pipelines.yml b/.azure-devops/prbuild/mlz-pr-bicep-azurecloud-pipelines.yml index 226ca7c84..45eb3bf8b 100644 --- a/.azure-devops/prbuild/mlz-pr-bicep-azurecloud-pipelines.yml +++ b/.azure-devops/prbuild/mlz-pr-bicep-azurecloud-pipelines.yml @@ -1,9 +1,14 @@ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. -trigger: -- main -- mlz-azure-pipelines +# disable CI per: +# https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/github?view=azure-devops&tabs=yaml#disabling-the-ci-trigger +trigger: none + +pr: + branches: + include: + - main pool: vmImage: ubuntu-latest @@ -15,7 +20,7 @@ jobs: - job: bicepCommercialCloud steps: - task: AzureCLI@2 - displayName: "Deploy MLZ Bicep" + displayName: "What-if Bicep" inputs: azureSubscription: $(ServiceConnectionName) scriptType: 'bash' diff --git a/.azure-devops/prbuild/mlz-pr-bicep-azuregov-pipelines.yml b/.azure-devops/prbuild/mlz-pr-bicep-azuregov-pipelines.yml index 85bc5223d..9fd0caea1 100644 --- a/.azure-devops/prbuild/mlz-pr-bicep-azuregov-pipelines.yml +++ b/.azure-devops/prbuild/mlz-pr-bicep-azuregov-pipelines.yml @@ -1,9 +1,14 @@ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. -trigger: -- main -- mlz-azure-pipelines +# disable CI per: +# https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/github?view=azure-devops&tabs=yaml#disabling-the-ci-trigger +trigger: none + +pr: + branches: + include: + - main pool: vmImage: ubuntu-latest @@ -15,7 +20,7 @@ jobs: - job: bicepGovCloud steps: - task: AzureCLI@2 - displayName: "Deploy MLZ Bicep" + displayName: "What-if Bicep" inputs: azureSubscription: $(GServiceConnectionName) scriptType: 'bash' diff --git a/.azure-devops/prbuild/mlz-pr-tf-azurecloud-pipelines.yml b/.azure-devops/prbuild/mlz-pr-tf-azurecloud-pipelines.yml index 120bd0b67..12e12c395 100644 --- a/.azure-devops/prbuild/mlz-pr-tf-azurecloud-pipelines.yml +++ b/.azure-devops/prbuild/mlz-pr-tf-azurecloud-pipelines.yml @@ -1,11 +1,14 @@ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. -trigger: +# disable CI per: +# https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/github?view=azure-devops&tabs=yaml#disabling-the-ci-trigger +trigger: none + +pr: branches: include: - main - - mlz-azure-pipelines pool: vmImage: ubuntu-latest diff --git a/.azure-devops/prbuild/mlz-pr-tf-azuregov-pipelines.yml b/.azure-devops/prbuild/mlz-pr-tf-azuregov-pipelines.yml index 40d8a0ffd..bf48c45e1 100644 --- a/.azure-devops/prbuild/mlz-pr-tf-azuregov-pipelines.yml +++ b/.azure-devops/prbuild/mlz-pr-tf-azuregov-pipelines.yml @@ -1,9 +1,14 @@ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. -trigger: -- main -- mlz-azure-pipelines +# disable CI per: +# https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/github?view=azure-devops&tabs=yaml#disabling-the-ci-trigger +trigger: none + +pr: + branches: + include: + - main pool: vmImage: ubuntu-latest @@ -18,7 +23,7 @@ jobs: inputs: terraformVersion: '1.0.8' - task: AzureCLI@2 - displayName: "Deploy MLZ Terraform" + displayName: "Terraform Plan" inputs: azureSubscription: $(GAzureConnection) scriptType: 'bash'