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

Change from master to main for pipeline generation. #1572

Merged
9 commits merged into from
Apr 30, 2021
15 changes: 9 additions & 6 deletions eng/common/pipelines/templates/steps/prepare-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ parameters:
- name: Repository
type: string
default: $(Build.Repository.Name)
- name: Branch
mitchdenny marked this conversation as resolved.
Show resolved Hide resolved
type: string
default: main
- name: Prefix
type: string
- name: CIConventionOptions
Expand Down Expand Up @@ -30,7 +33,7 @@ steps:
--repository ${{parameters.Repository}}
--convention ci
--agentpool Hosted
--branch refs/heads/master
--branch refs/heads/${{parameters.Branch}}
--patvar PATVAR
--debug
${{parameters.CIConventionOptions}}
Expand All @@ -48,7 +51,7 @@ steps:
--repository ${{parameters.Repository}}
--convention up
--agentpool Hosted
--branch refs/heads/master
--branch refs/heads/${{parameters.Branch}}
--patvar PATVAR
--debug
${{parameters.UPConventionOptions}}
Expand All @@ -66,7 +69,7 @@ steps:
--repository ${{parameters.Repository}}
--convention tests
--agentpool Hosted
--branch refs/heads/master
--branch refs/heads/${{parameters.Branch}}
--patvar PATVAR
--debug
${{parameters.TestsConventionOptions}}
Expand All @@ -88,7 +91,7 @@ steps:
--repository ${{parameters.Repository}}
--convention ci
--agentpool Hosted
--branch refs/heads/master
--branch refs/heads/${{parameters.Branch}}
--patvar PATVAR
--debug
--no-schedule
Expand All @@ -107,7 +110,7 @@ steps:
--repository ${{parameters.Repository}}
--convention up
--agentpool Hosted
--branch refs/heads/master
--branch refs/heads/${{parameters.Branch}}
--patvar PATVAR
--debug
--no-schedule
Expand All @@ -126,7 +129,7 @@ steps:
--repository ${{parameters.Repository}}
--convention tests
--agentpool Hosted
--branch refs/heads/master
--branch refs/heads/${{parameters.Branch}}
--patvar PATVAR
--debug
--no-schedule
Expand Down
12 changes: 6 additions & 6 deletions eng/pipelines/pipeline-generation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
matrix:
Java:
RepositoryName: azure-sdk-for-java
Branch: master
Branch: main
Prefix: java
PublicOptions: ''
InternalOptions: >-
Expand All @@ -45,7 +45,7 @@ jobs:
TestOptions: '--variablegroup ${{ parameters.Secrets_for_Resource_Provisioner }}'
Android:
RepositoryName: azure-sdk-for-android
Branch: master
Branch: main
Prefix: android
PublicOptions: ''
InternalOptions: >-
Expand All @@ -56,7 +56,7 @@ jobs:
--variablegroup ${{ parameters.APIReview_AutoCreate_Configurations }}
JavaScript:
RepositoryName: azure-sdk-for-js
Branch: master
Branch: main
Prefix: js
PublicOptions: ''
InternalOptions: >-
Expand All @@ -68,7 +68,7 @@ jobs:
TestOptions: '--variablegroup ${{ parameters.Secrets_for_Resource_Provisioner }}'
Python:
RepositoryName: azure-sdk-for-python
Branch: master
Branch: main
Prefix: python
PublicOptions: ''
InternalOptions: >-
Expand All @@ -79,7 +79,7 @@ jobs:
TestOptions: '--variablegroup ${{ parameters.Secrets_for_Resource_Provisioner }}'
Net:
RepositoryName: azure-sdk-for-net
Branch: master
Branch: main
Prefix: net
PublicOptions: ''
InternalOptions: >-
Expand All @@ -91,7 +91,7 @@ jobs:
TestOptions: '--variablegroup ${{ parameters.Secrets_for_Resource_Provisioner }}'
Cpp:
RepositoryName: azure-sdk-for-cpp
Branch: master
Branch: main
Prefix: cpp
PublicOptions: ''
# Resource Provisioner is in InternalOptions and not TestOptions becasue C++ includes live tests in the unified pipelines
Expand Down