Skip to content

Commit

Permalink
update PR builds and scheduled deployment triggers (#505)
Browse files Browse the repository at this point in the history
  • Loading branch information
glennmusa authored Nov 8, 2021
1 parent bf33406 commit e0cbdb3
Show file tree
Hide file tree
Showing 9 changed files with 35 additions and 20 deletions.
5 changes: 3 additions & 2 deletions .azure-devops/cred-poli-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ schedules:
branches:
include:
- main
- mlz-azure-pipelines
always: true

pool:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ schedules:
branches:
include:
- main
- mlz-azure-pipelines
always: true

pool:
Expand Down
1 change: 0 additions & 1 deletion .azure-devops/nightlybuild/mlz-tf-azurecloud-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ schedules:
branches:
include:
- main
- mlz-azure-pipelines
always: true

pool:
Expand Down
1 change: 0 additions & 1 deletion .azure-devops/nightlybuild/mlz-tf-azuregov-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ schedules:
branches:
include:
- main
- mlz-azure-pipelines
always: 'true'
pool:
vmImage: ubuntu-latest
Expand Down
13 changes: 9 additions & 4 deletions .azure-devops/prbuild/mlz-pr-bicep-azurecloud-pipelines.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -15,7 +20,7 @@ jobs:
- job: bicepCommercialCloud
steps:
- task: AzureCLI@2
displayName: "Deploy MLZ Bicep"
displayName: "What-if Bicep"
inputs:
azureSubscription: $(ServiceConnectionName)
scriptType: 'bash'
Expand Down
13 changes: 9 additions & 4 deletions .azure-devops/prbuild/mlz-pr-bicep-azuregov-pipelines.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -15,7 +20,7 @@ jobs:
- job: bicepGovCloud
steps:
- task: AzureCLI@2
displayName: "Deploy MLZ Bicep"
displayName: "What-if Bicep"
inputs:
azureSubscription: $(GServiceConnectionName)
scriptType: 'bash'
Expand Down
7 changes: 5 additions & 2 deletions .azure-devops/prbuild/mlz-pr-tf-azurecloud-pipelines.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
13 changes: 9 additions & 4 deletions .azure-devops/prbuild/mlz-pr-tf-azuregov-pipelines.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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'
Expand Down

0 comments on commit e0cbdb3

Please sign in to comment.