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 default branch name to main #15840

Merged
merged 1 commit into from
Jun 18, 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
3 changes: 2 additions & 1 deletion eng/pipelines/mgmt-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ trigger:
branches:
include:
- master
- main
paths:
include:
- eng/pipelines/mgmt-pr.yml
Expand Down Expand Up @@ -220,7 +221,7 @@ jobs:
inputs:
verbose: false

- script: 'gulp pack --base-reference=master --head-reference=master'
- script: 'gulp pack --base-reference=main --head-reference=main'
displayName: 'gulp pack'

- task: CopyFiles@2
Expand Down
2 changes: 1 addition & 1 deletion eng/pipelines/templates/jobs/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- script: |
echo "##vso[build.addbuildtag]Scheduled"
displayName: "Tag scheduled builds"
condition: and(always(),and(eq(variables['Build.SourceBranchName'],'master'),eq(variables['Build.Reason'],'Schedule')))
condition: and(always(),and(eq(variables['Build.SourceBranchName'],'main'),eq(variables['Build.Reason'],'Schedule')))

- template: ../steps/common.yml

Expand Down
4 changes: 2 additions & 2 deletions sdk/storage/test-resources-post.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
# There are no documented approaches to specifying CORS rules using ARM, this is a workaround until
# support for setting CORS rules is added to ARM for Queues

# It is invoked by the https://github.com/Azure/azure-sdk-for-js/blob/master/eng/New-TestResources.ps1
# script after the ARM template, defined in https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/storage/test-resources.json,
# It is invoked by the https://github.com/Azure/azure-sdk-for-js/blob/main/eng/New-TestResources.ps1
# script after the ARM template, defined in https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/test-resources.json,
# is finished being deployed. The ARM template is responsible for creating the Storage accounts needed for live tests.

param (
Expand Down
6 changes: 3 additions & 3 deletions sdk/tables/test-resources-post.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
# There are no documented approaches to specifying CORS rules using ARM, this is a workaround until
# support for setting CORS rules is added to ARM for Tables

# It is invoked by the https://github.com/Azure/azure-sdk-for-js/blob/master/eng/New-TestResources.ps1
# script after the ARM template, defined in https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/tables/test-resources.json,
# It is invoked by the https://github.com/Azure/azure-sdk-for-js/blob/main/eng/New-TestResources.ps1
# script after the ARM template, defined in https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/tables/test-resources.json,
# is finished being deployed. The ARM template is responsible for creating the Storage accounts needed for live tests.

param (
Expand Down Expand Up @@ -35,4 +35,4 @@ $corsRules = (@{

Set-AzStorageCORSRule -ServiceType 'Table' -CorsRules $corsRules -Context $context

Write-Verbose "CORS rule set for $storageAccountName"
Write-Verbose "CORS rule set for $storageAccountName"