|
1 | 1 | trigger: none |
2 | 2 | pr: none |
3 | 3 |
|
| 4 | +resources: |
| 5 | + pipelines: |
| 6 | + # https://dev.azure.com/dnceng/internal/_build?definitionId=1434 |
| 7 | + - pipeline: dotnet-docker-release-staging |
| 8 | + source: dotnet-docker-release-staging |
| 9 | + |
| 10 | +variables: |
| 11 | +- template: /eng/pipelines/variables/core.yml@self |
| 12 | + parameters: |
| 13 | + sourceBuildPipelineRunId: "$(resources.pipeline.dotnet-docker-release-staging.runID)" |
| 14 | +# Set pathArgs to empty in order to publish all images |
| 15 | +- name: imageBuilder.pathArgs |
| 16 | + value: "" |
| 17 | +- name: imageBuilder.queueArgs |
| 18 | + value: "" |
| 19 | + |
4 | 20 | extends: |
5 | 21 | template: /eng/common/templates/1es-official.yml@self |
6 | | - stages: |
7 | | - - stage: release-promotion |
8 | | - jobs: |
9 | | - - job: release-promotion |
10 | | - steps: |
11 | | - - script: echo "Hello world" |
| 22 | + parameters: |
| 23 | + serviceConnections: |
| 24 | + - name: $(internal-mirror.serviceConnectionName) |
| 25 | + - name: $(publish.serviceConnectionName) |
| 26 | + - name: $(kusto.serviceConnectionName) |
| 27 | + - name: $(marStatus.serviceConnectionName) |
| 28 | + stages: |
| 29 | + - template: /eng/pipelines/stages/publish.yml@self |
| 30 | + parameters: |
| 31 | + internalProjectName: ${{ variables.internalProjectName }} |
| 32 | + publicProjectName: ${{ variables.publicProjectName }} |
| 33 | + isStandalonePublish: true |
| 34 | + sourceBuildPipelineDefinitionId: "$(resources.pipeline.dotnet-docker-release-staging.pipelineID)" |
| 35 | + sourceBuildPipelineRunId: "$(resources.pipeline.dotnet-docker-release-staging.runID)" |
| 36 | + customPublishInitSteps: |
| 37 | + - script: echo "##vso[task.setvariable variable=sourceBuildId]$(resources.pipeline.dotnet-docker-release-staging.runID)" |
| 38 | + displayName: Set sourceBuildId |
0 commit comments