Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update PR builds and scheduled deployment triggers #505

Merged
merged 2 commits into from
Nov 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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