Convert the update-readmes pipeline to use 1ES templates (#5277)
This commit is contained in:
Родитель
c7860c4a9a
Коммит
9e64921279
|
@ -1,17 +1,38 @@
|
|||
trigger: none
|
||||
pr: none
|
||||
variables:
|
||||
- template: variables/core.yml
|
||||
jobs:
|
||||
- job: UpdateReadmes
|
||||
pool:
|
||||
vmImage: $(defaultLinuxAmd64PoolImage)
|
||||
steps:
|
||||
- template: ../common/templates/steps/init-docker-linux.yml
|
||||
- template: steps/set-public-source-branch-var.yml
|
||||
- template: ../common/templates/steps/set-image-info-path-var.yml
|
||||
parameters:
|
||||
publicSourceBranch: $(publicSourceBranch)
|
||||
- template: steps/set-publish-mcrdocs-args-var.yml
|
||||
- template: ../common/templates/steps/publish-readmes.yml
|
||||
- template: ../common/templates/steps/cleanup-docker-linux.yml
|
||||
- template: /eng/pipelines/variables/core.yml@self
|
||||
resources:
|
||||
repositories:
|
||||
- repository: 1ESPipelineTemplates
|
||||
type: git
|
||||
name: 1ESPipelineTemplates/1ESPipelineTemplates
|
||||
ref: refs/tags/release
|
||||
extends:
|
||||
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
|
||||
parameters:
|
||||
pool:
|
||||
name: NetCore1ESPool-Internal
|
||||
image: 1es-windows-2022
|
||||
os: windows
|
||||
customBuildTags:
|
||||
- ES365AIMigrationTooling
|
||||
stages:
|
||||
- stage: UpdateReadmes
|
||||
displayName: Update Readmes
|
||||
jobs:
|
||||
- job: UpdateReadmes
|
||||
displayName: Update Readmes
|
||||
pool:
|
||||
name: NetCore1ESPool-Internal
|
||||
image: 1es-ubuntu-2204
|
||||
os: linux
|
||||
steps:
|
||||
- template: /eng/common/templates/steps/init-docker-linux.yml@self
|
||||
- template: /eng/pipelines/steps/set-public-source-branch-var.yml@self
|
||||
- template: /eng/common/templates/steps/set-image-info-path-var.yml@self
|
||||
parameters:
|
||||
publicSourceBranch: $(publicSourceBranch)
|
||||
- template: /eng/pipelines/steps/set-publish-mcrdocs-args-var.yml@self
|
||||
- template: /eng/common/templates/steps/publish-readmes.yml@self
|
||||
- template: /eng/common/templates/steps/cleanup-docker-linux.yml@self
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
variables:
|
||||
- template: ../../common/templates/variables/dotnet/build-test-publish.yml
|
||||
- template: /eng/common/templates/variables/dotnet/build-test-publish.yml@self
|
||||
|
||||
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
|
||||
- group: AzureDevOps-Artifact-Feeds-Pats
|
||||
|
|
Загрузка…
Ссылка в новой задаче