Skip to content
Merged
Show file tree
Hide file tree
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
28 changes: 18 additions & 10 deletions eng/pipelines/templates/jobs/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,15 @@ jobs:
displayName: 'Tag scheduled builds'
condition: and(succeeded(), eq(variables['Build.SourceBranchName'],'main'),eq(variables['Build.Reason'],'Schedule'))

- template: /eng/common/pipelines/templates/steps/set-test-pipeline-version.yml
parameters:
PackageNames: "azure-sdk-template,azure-sdk-template-two,azure-sdk-template-three"
ServiceDirectory: "template"
TestPipeline: ${{ parameters.TestPipeline }}
- ${{ if eq(parameters.TestPipeline, true) }}:
- template: /eng/common/pipelines/templates/steps/set-test-pipeline-version.yml
parameters:
Artifacts:
- ${{ each artifact in parameters.ReleaseArtifacts }}:
- ${{ if contains(artifact.name, 'azure-sdk-template') }}:
- ${{ artifact }}
ServiceDirectory: ${{ parameters.ServiceDirectory }}
TestPipeline: ${{ parameters.TestPipeline }}

# The daily dev build variable isn't used for the PullRequests pipeline but is currently used
# to save off the packageInfo files for all ci pipeline. This needs to be skipped for the
Expand Down Expand Up @@ -349,11 +353,15 @@ jobs:
CspellConfigPath: .vscode/cspell.json
ContinueOnError: false

- template: /eng/common/pipelines/templates/steps/set-test-pipeline-version.yml
parameters:
PackageNames: "azure-sdk-template,azure-sdk-template-two,azure-sdk-template-three"
ServiceDirectory: "template"
TestPipeline: ${{ parameters.TestPipeline }}
- ${{ if eq(parameters.TestPipeline, true) }}:
- template: /eng/common/pipelines/templates/steps/set-test-pipeline-version.yml
parameters:
Artifacts:
- ${{ each artifact in parameters.ReleaseArtifacts }}:
- ${{ if contains(artifact.name, 'azure-sdk-template') }}:
- ${{ artifact }}
ServiceDirectory: ${{ parameters.ServiceDirectory }}
TestPipeline: ${{ parameters.TestPipeline }}

- template: /eng/common/pipelines/templates/steps/verify-links.yml
parameters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,15 @@ stages:
inputs:
versionSpec: $(PythonVersion)

- template: /eng/common/pipelines/templates/steps/set-test-pipeline-version.yml
parameters:
PackageNames: "azure-sdk-template,azure-sdk-template-two,azure-sdk-template-three"
ServiceDirectory: "template"
TestPipeline: ${{ parameters.TestPipeline }}
- ${{ if eq(parameters.TestPipeline, true) }}:
- template: /eng/common/pipelines/templates/steps/set-test-pipeline-version.yml
parameters:
Artifacts:
- ${{ each artifact in parameters.Artifacts }}:
- ${{ if contains(artifact.name, 'azure-sdk-template') }}:
- ${{ artifact }}
ServiceDirectory: ${{ parameters.ServiceDirectory }}
TestPipeline: ${{ parameters.TestPipeline }}

# Do all the verifications for all the artifacts after the sparse-checkout
- pwsh: |
Expand Down
Loading