diff --git a/tools/devops/automation/run-post-ci-build-vs-insertion.yml b/tools/devops/automation/run-post-ci-build-vs-insertion.yml index b11f9fda10..8e75d2f69f 100644 --- a/tools/devops/automation/run-post-ci-build-vs-insertion.yml +++ b/tools/devops/automation/run-post-ci-build-vs-insertion.yml @@ -6,18 +6,6 @@ pr: none parameters: - - name: stageDisplayNamePrefix - type: string - default: '' - - - name: repositoryAlias - type: string - default: self - - - name: commit - type: string - default: HEAD - - name: pushNugets type: boolean default: true # default to true until otherwhise @@ -45,6 +33,33 @@ resources: stages: - build_packages + repositories: + - repository: self + checkoutOptions: + submodules: true + + - repository: yaml-templates + type: github + name: xamarin/yaml-templates + ref: refs/heads/main + endpoint: xamarin + + - repository: sdk-insertions + type: github + name: xamarin/sdk-insertions + ref: refs/heads/main + endpoint: xamarin + + - repository: maccore + type: github + name: xamarin/maccore + ref: refs/heads/main + endpoint: xamarin + + - repository: CustomPipelineTemplates + type: git + name: 1ESPipelineTemplates/MicroBuildTemplate + extends: template: azure-pipelines/MicroBuild.1ES.Official.yml@CustomPipelineTemplates parameters: @@ -77,11 +92,11 @@ extends: - repository: yaml-templates - repository: sdk-insertions stages: - - template: templates/release/vs-insertion-prep.yml + - template: ./templates/release/vs-insertion-prep.yml parameters: - stageDisplayNamePrefix: ${{ parameters.stageDisplayNamePrefix }} + stageDisplayNamePrefix: '' isPR: false - repositoryAlias: ${{ parameters.repositoryAlias }} - commit: ${{ parameters.commit }} + repositoryAlias: self + commit: HEAD pushNugets: ${{ parameters.pushNugets }} pushNugetsToMaestro: ${{ parameters.pushNugetsToMaestro }} diff --git a/tools/devops/automation/templates/release/vs-insertion-prep.yml b/tools/devops/automation/templates/release/vs-insertion-prep.yml index a51d2d5f7f..c0c047d8fc 100644 --- a/tools/devops/automation/templates/release/vs-insertion-prep.yml +++ b/tools/devops/automation/templates/release/vs-insertion-prep.yml @@ -1,6 +1,7 @@ parameters: - name: buildStage type: string + default: '' - name: dependsOn type: object