-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1,121 changed files
with
51,891 additions
and
13,195 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,38 @@ | ||
parameters: | ||
# For customizing the deployment path in non-PR builds | ||
- name: deployBasePath | ||
type: string | ||
default: '' | ||
|
||
# Skip the component governance detection step (injected by a pipeline decorator from an | ||
# internal extension) by default because we run it separately. Since all our pipelines | ||
# in each branch install the same packages, only one pipeline (currently the daily release) | ||
# needs to run detection. | ||
- name: skipComponentGovernanceDetection | ||
type: boolean | ||
default: true | ||
|
||
variables: | ||
deployBasePath: "pr-deploy-site/${{ variables['Build.SourceBranch'] }}" | ||
# Also accessed as process.env.DEPLOYHOST | ||
deployHost: 'fluentuipr.z22.web.core.windows.net' | ||
|
||
deployHost: 'fabricweb.z5.web.core.windows.net' | ||
# Also accessed as process.env.DEPLOYURL | ||
deployUrl: 'https://$(deployHost)/$(deployBasePath)' | ||
|
||
azureSubscription: 'UI Fabric (bac044cf-49e1-4843-8dda-1ce9662606c8)' | ||
# This service principal ("subscription" is a misleading name) only has access to the fluentuipr storage account | ||
azureSubscription: Azure PR deploy | ||
azureStorage: fluentuipr | ||
|
||
${{ if ne(variables['Build.SourceBranch'], 'refs/heads/master') }}: | ||
${{ if not(startsWith(variables['Build.SourceBranch'], 'refs/heads/')) }}: | ||
isPR: true | ||
targetBranch: 'origin/$(System.PullRequest.TargetBranch)' | ||
${{ if eq(variables['Build.SourceBranch'], 'refs/heads/master') }}: | ||
# Deploy PRs under "pull/####" unless otherwise requested | ||
# (this is also accessed as process.env.DEPLOYBASEPATH) | ||
deployBasePath: ${{ coalesce(parameters.deployBasePath, 'pull/$(System.PullRequest.PullRequestNumber)') }} | ||
${{ if startsWith(variables['Build.SourceBranch'], 'refs/heads/') }}: | ||
isPR: false | ||
targetBranch: '' | ||
# Deploy master under "heads/branchname" unless otherwise requested | ||
deployBasePath: ${{ coalesce(parameters.deployBasePath, replace(variables['Build.SourceBranch'], 'refs/', '')) }} | ||
|
||
backfillProvider: 'azure-blob' | ||
backfillOptions: '{"connectionString":"$(BACKFILL_CONNECTION_STRING)", "container":"$(BACKFILL_CONTAINER)"}' | ||
skipComponentGovernanceDetection: ${{ parameters.skipComponentGovernanceDetection }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.