From 4bf80049a0923cece80c8bfae0d740f0c279eb2c Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Wed, 12 Jun 2024 18:34:17 -0400 Subject: [PATCH] Sync eng/common directory with azure-sdk-tools for PR 8434 (#30027) Sync eng/common directory with azure-sdk-tools for PR https://github.com/Azure/azure-sdk-tools/pull/8434 See [eng/common workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow) Co-authored-by: Wes Haggard --- .../templates/jobs/prepare-pipelines.yml | 230 +++++++++--------- 1 file changed, 115 insertions(+), 115 deletions(-) diff --git a/eng/common/pipelines/templates/jobs/prepare-pipelines.yml b/eng/common/pipelines/templates/jobs/prepare-pipelines.yml index 32427e7e2422..f2cbb2e931e5 100644 --- a/eng/common/pipelines/templates/jobs/prepare-pipelines.yml +++ b/eng/common/pipelines/templates/jobs/prepare-pipelines.yml @@ -40,20 +40,20 @@ jobs: azureSubscription: 'opensource-api-connection' scriptType: pscore scriptLocation: inlineScript - inlineScript: - $(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate ` - --organization azure-sdk ` - --project public ` - --prefix ${{parameters.Prefix}} ` - --devopspath "\${{parameters.Prefix}}" ` - --path $(System.DefaultWorkingDirectory)/sdk ` - --endpoint Azure ` - --repository ${{parameters.Repository}} ` - --convention ci ` - --agentpool Hosted ` - --branch refs/heads/$(DefaultBranch) ` - --set-managed-variables ` - --debug ` + inlineScript: > + $(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate + --organization azure-sdk + --project public + --prefix ${{parameters.Prefix}} + --devopspath "\${{parameters.Prefix}}" + --path $(System.DefaultWorkingDirectory)/sdk + --endpoint Azure + --repository ${{parameters.Repository}} + --convention ci + --agentpool Hosted + --branch refs/heads/$(DefaultBranch) + --set-managed-variables + --debug ${{parameters.CIConventionOptions}} displayName: Create CI Pipelines for Public Repository - task: AzureCLI@2 @@ -61,20 +61,20 @@ jobs: azureSubscription: 'opensource-api-connection' scriptType: pscore scriptLocation: inlineScript - inlineScript: - $(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate ` - --organization azure-sdk ` - --project internal ` - --prefix ${{parameters.Prefix}} ` - --devopspath "\${{parameters.Prefix}}" ` - --path $(System.DefaultWorkingDirectory)/sdk ` - --endpoint Azure ` - --repository ${{parameters.Repository}} ` - --convention up ` - --agentpool Hosted ` - --branch refs/heads/$(DefaultBranch) ` - --set-managed-variables ` - --debug ` + inlineScript: > + $(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate + --organization azure-sdk + --project internal + --prefix ${{parameters.Prefix}} + --devopspath "\${{parameters.Prefix}}" + --path $(System.DefaultWorkingDirectory)/sdk + --endpoint Azure + --repository ${{parameters.Repository}} + --convention up + --agentpool Hosted + --branch refs/heads/$(DefaultBranch) + --set-managed-variables + --debug ${{parameters.UPConventionOptions}} displayName: Create UP Pipelines for Public Repository - task: AzureCLI@2 @@ -82,20 +82,20 @@ jobs: azureSubscription: 'opensource-api-connection' scriptType: pscore scriptLocation: inlineScript - inlineScript: - $(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate ` - --organization azure-sdk ` - --project internal ` - --prefix ${{parameters.Prefix}} ` - --devopspath "\${{parameters.Prefix}}" ` - --path $(System.DefaultWorkingDirectory)/sdk ` - --endpoint Azure ` - --repository ${{parameters.Repository}} ` - --convention tests ` - --agentpool Hosted ` - --branch refs/heads/$(DefaultBranch) ` - --set-managed-variables ` - --debug ` + inlineScript: > + $(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate + --organization azure-sdk + --project internal + --prefix ${{parameters.Prefix}} + --devopspath "\${{parameters.Prefix}}" + --path $(System.DefaultWorkingDirectory)/sdk + --endpoint Azure + --repository ${{parameters.Repository}} + --convention tests + --agentpool Hosted + --branch refs/heads/$(DefaultBranch) + --set-managed-variables + --debug ${{parameters.TestsConventionOptions}} displayName: Create Live Test Pipelines for Public Repository condition: and(succeeded(), ne('${{parameters.TestsConventionOptions}}','')) @@ -104,20 +104,20 @@ jobs: azureSubscription: 'opensource-api-connection' scriptType: pscore scriptLocation: inlineScript - inlineScript: - $(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate ` - --organization azure-sdk ` - --project internal ` - --prefix ${{parameters.Prefix}} ` - --devopspath "\${{parameters.Prefix}}" ` - --path $(System.DefaultWorkingDirectory)/sdk ` - --endpoint Azure ` - --repository ${{parameters.Repository}} ` - --convention testsweekly ` - --agentpool Hosted ` - --branch refs/heads/$(DefaultBranch) ` - --set-managed-variables ` - --debug ` + inlineScript: > + $(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate + --organization azure-sdk + --project internal + --prefix ${{parameters.Prefix}} + --devopspath "\${{parameters.Prefix}}" + --path $(System.DefaultWorkingDirectory)/sdk + --endpoint Azure + --repository ${{parameters.Repository}} + --convention testsweekly + --agentpool Hosted + --branch refs/heads/$(DefaultBranch) + --set-managed-variables + --debug ${{parameters.TestsConventionOptions}} displayName: Create Weekly (Multi-Cloud) Live Test Pipelines for Public Repository condition: and(succeeded(), ne('${{parameters.TestsConventionOptions}}','')) @@ -126,20 +126,20 @@ jobs: azureSubscription: 'opensource-api-connection' scriptType: pscore scriptLocation: inlineScript - inlineScript: - $(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate ` - --organization azure-sdk ` - --project internal ` - --prefix ${{parameters.Prefix}} ` - --devopspath "\${{parameters.Prefix}}" ` - --path $(System.DefaultWorkingDirectory)/sdk ` - --endpoint Azure ` - --repository ${{parameters.Repository}} ` - --convention upweekly ` - --agentpool Hosted ` - --branch refs/heads/$(DefaultBranch) ` - --set-managed-variables ` - --debug ` + inlineScript: > + $(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate + --organization azure-sdk + --project internal + --prefix ${{parameters.Prefix}} + --devopspath "\${{parameters.Prefix}}" + --path $(System.DefaultWorkingDirectory)/sdk + --endpoint Azure + --repository ${{parameters.Repository}} + --convention upweekly + --agentpool Hosted + --branch refs/heads/$(DefaultBranch) + --set-managed-variables + --debug ${{parameters.UPConventionOptions}} displayName: Create Weekly (Multi-Cloud) Unified Test Pipelines for Public Repository condition: and(succeeded(), eq(${{parameters.GenerateUnifiedWeekly}},true)) @@ -151,21 +151,21 @@ jobs: azureSubscription: 'opensource-api-connection' scriptType: pscore scriptLocation: inlineScript - inlineScript: - $(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate ` - --organization azure-sdk ` - --project internal ` - --prefix ${{parameters.Prefix}}-pr ` - --devopspath "\${{parameters.Prefix}}\pr" ` - --path $(System.DefaultWorkingDirectory)/sdk ` - --endpoint Azure ` - --repository ${{parameters.Repository}} ` - --convention ci ` - --agentpool Hosted ` - --branch refs/heads/$(DefaultBranch) ` - --set-managed-variables ` - --debug ` - --no-schedule ` + inlineScript: > + $(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate + --organization azure-sdk + --project internal + --prefix ${{parameters.Prefix}}-pr + --devopspath "\${{parameters.Prefix}}\pr" + --path $(System.DefaultWorkingDirectory)/sdk + --endpoint Azure + --repository ${{parameters.Repository}} + --convention ci + --agentpool Hosted + --branch refs/heads/$(DefaultBranch) + --set-managed-variables + --debug + --no-schedule ${{parameters.CIConventionOptions}} displayName: Create CI Pipelines for Private Repository - task: AzureCLI@2 @@ -173,21 +173,21 @@ jobs: azureSubscription: 'opensource-api-connection' scriptType: pscore scriptLocation: inlineScript - inlineScript: - $(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate ` - --organization azure-sdk ` - --project internal ` - --prefix ${{parameters.Prefix}}-pr ` - --devopspath "\${{parameters.Prefix}}\pr" ` - --path $(System.DefaultWorkingDirectory)/sdk ` - --endpoint Azure ` - --repository ${{parameters.Repository}} ` - --convention up ` - --agentpool Hosted ` - --branch refs/heads/$(DefaultBranch) ` - --set-managed-variables ` - --debug ` - --no-schedule ` + inlineScript: > + $(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate + --organization azure-sdk + --project internal + --prefix ${{parameters.Prefix}}-pr + --devopspath "\${{parameters.Prefix}}\pr" + --path $(System.DefaultWorkingDirectory)/sdk + --endpoint Azure + --repository ${{parameters.Repository}} + --convention up + --agentpool Hosted + --branch refs/heads/$(DefaultBranch) + --set-managed-variables + --debug + --no-schedule ${{parameters.UPConventionOptions}} displayName: Create UP Pipelines for Private Repository - task: AzureCLI@2 @@ -195,21 +195,21 @@ jobs: azureSubscription: 'opensource-api-connection' scriptType: pscore scriptLocation: inlineScript - inlineScript: - $(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate ` - --organization azure-sdk ` - --project internal ` - --prefix ${{parameters.Prefix}}-pr ` - --devopspath "\${{parameters.Prefix}}\pr" ` - --path $(System.DefaultWorkingDirectory)/sdk ` - --endpoint Azure ` - --repository ${{parameters.Repository}} ` - --convention tests ` - --agentpool Hosted ` - --branch refs/heads/$(DefaultBranch) ` - --set-managed-variables ` - --debug ` - --no-schedule ` + inlineScript: > + $(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate + --organization azure-sdk + --project internal + --prefix ${{parameters.Prefix}}-pr + --devopspath "\${{parameters.Prefix}}\pr" + --path $(System.DefaultWorkingDirectory)/sdk + --endpoint Azure + --repository ${{parameters.Repository}} + --convention tests + --agentpool Hosted + --branch refs/heads/$(DefaultBranch) + --set-managed-variables + --debug + --no-schedule ${{parameters.TestsConventionOptions}} displayName: Create Live Test Pipelines for Private Repository condition: and(succeeded(), ne('${{parameters.TestsConventionOptions}}',''))