Sync eng/common directory with azure-sdk-tools for PR 2484 (#3213)
* Add weekly pipeline generation to prepare-pipelines template * Add succeeded condition to pipeline generation pipelines Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
This commit is contained in:
parent
e7c610dcb3
commit
ae3e5e021b
@ -71,7 +71,26 @@ steps:
|
||||
--debug
|
||||
${{parameters.TestsConventionOptions}}
|
||||
displayName: Create Live Test pipelines for public repository
|
||||
condition: ne('${{parameters.TestsConventionOptions}}','')
|
||||
condition: and(succeeded(), ne('${{parameters.TestsConventionOptions}}',''))
|
||||
env:
|
||||
PATVAR: $(azuresdk-azure-sdk-devops-pipeline-generation-pat)
|
||||
- script: >
|
||||
$(Pipeline.Workspace)/pipeline-generator/pipeline-generator
|
||||
--organization https://dev.azure.com/azure-sdk
|
||||
--project internal
|
||||
--prefix ${{parameters.Prefix}}
|
||||
--devopspath "\${{parameters.Prefix}}"
|
||||
--path $(System.DefaultWorkingDirectory)/sdk
|
||||
--endpoint Azure
|
||||
--repository ${{parameters.Repository}}
|
||||
--convention weekly
|
||||
--agentpool Hosted
|
||||
--branch refs/heads/$(DefaultBranch)
|
||||
--patvar PATVAR
|
||||
--debug
|
||||
${{parameters.TestsConventionOptions}}
|
||||
displayName: Create Weekly (Multi-Cloud) Live Test pipelines for public repository
|
||||
condition: and(succeeded(), ne('${{parameters.TestsConventionOptions}}',''))
|
||||
env:
|
||||
PATVAR: $(azuresdk-azure-sdk-devops-pipeline-generation-pat)
|
||||
|
||||
@ -132,6 +151,6 @@ steps:
|
||||
--no-schedule
|
||||
${{parameters.TestsConventionOptions}}
|
||||
displayName: Create Live Test pipelines for private repository
|
||||
condition: ne('${{parameters.TestsConventionOptions}}','')
|
||||
condition: and(succeeded(), ne('${{parameters.TestsConventionOptions}}',''))
|
||||
env:
|
||||
PATVAR: $(azuresdk-azure-sdk-devops-pipeline-generation-pat)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user