Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 19 additions & 2 deletions eng/pipelines/templates/stages/archetype-js-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ stages:
name: azsdk-pool-mms-ubuntu-2004-general
vmImage: MMSUbuntu20.04

variables:
DocValidationImageId: azuresdkimages.azurecr.io/jsrefautocr:latest
strategy:
runOnce:
deploy:
Expand All @@ -128,6 +130,12 @@ stages:
- sdk/**/*.md
- .github/CODEOWNERS
- download: current
# Pull and build the docker image.
- template: /eng/common/pipelines/templates/steps/docker-pull-image.yml
parameters:
ContainerRegistryClientId: $(azuresdkimages-cr-clientid)
ContainerRegistryClientSecret: $(azuresdkimages-cr-clientsecret)
ImageId: "$(DocValidationImageId)"
- template: /eng/common/pipelines/templates/steps/update-docsms-metadata.yml
parameters:
PackageInfoLocations:
Expand All @@ -142,7 +150,8 @@ stages:
- metadata/
- ci-configs/packages-latest.json
- ci-configs/packages-preview.json

DocValidationImageId: "$(DocValidationImageId)"

- ${{if ne(artifact.skipPublishDocGithubIo, 'true')}}:
- deployment: PublishDocsGitHubIO
displayName: Publish Docs to GitHubIO Blob Storage
Expand Down Expand Up @@ -283,6 +292,8 @@ stages:
pool:
name: azsdk-pool-mms-ubuntu-2004-general
vmImage: MMSUbuntu20.04
variables:
DocValidationImageId: azuresdkimages.azurecr.io/jsrefautocr:latest
steps:
- template: /eng/common/pipelines/templates/steps/sparse-checkout.yml
parameters:
Expand All @@ -294,7 +305,12 @@ stages:
- pwsh: |
Get-ChildItem -Recurse $(Pipeline.Workspace)/${{parameters.ArtifactName}}/
displayName: Show visible artifacts

# Pull and build the docker image.
- template: /eng/common/pipelines/templates/steps/docker-pull-image.yml
parameters:
ContainerRegistryClientId: $(azuresdkimages-cr-clientid)
ContainerRegistryClientSecret: $(azuresdkimages-cr-clientsecret)
ImageId: "$(DocValidationImageId)"
- template: /eng/common/pipelines/templates/steps/update-docsms-metadata.yml
parameters:
PackageInfoLocations:
Expand All @@ -311,3 +327,4 @@ stages:
- metadata/
- ci-configs/packages-latest.json
- ci-configs/packages-preview.json
DocValidationImageId: "$(DocValidationImageId)"