Skip to content

Commit

Permalink
pass smoke-test steps through
Browse files Browse the repository at this point in the history
  • Loading branch information
scbedd committed Mar 6, 2024
1 parent e22f8ad commit 26bcdaa
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 4 deletions.
17 changes: 13 additions & 4 deletions eng/pipelines/templates/jobs/smoke.tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,10 @@ jobs:

steps:
- template: /eng/pipelines/templates/steps/smoke-test-steps.yml

parameters:
Artifact: ${{ parameters.Artifact }}
ArtifactName: ${{ parameters.ArtifactName }}
Daily: ${{ parameters.Daily }}

- ${{ if eq(parameters.Daily, true) }}:
- job: run_smoke_test_windows
Expand Down Expand Up @@ -144,7 +147,6 @@ jobs:
name: $(Pool)
image: $(OSVmImage)
os: windows

variables:
- template: /eng/pipelines/templates/variables/globals.yml
- name: Location
Expand All @@ -160,9 +162,12 @@ jobs:
value: $(Build.SourcesDirectory)/common/smoketest/requirements.txt
${{ if eq(parameters.Daily, false) }}:
value: $(Build.SourcesDirectory)/common/smoketest/requirements-release.txt

steps:
- template: /eng/pipelines/templates/steps/smoke-test-steps.yml
parameters:
Artifact: ${{ parameters.Artifact }}
ArtifactName: ${{ parameters.ArtifactName }}
Daily: ${{ parameters.Daily }}

- job: run_smoke_test_macos
displayName: Run Smoke Test MacOS
Expand Down Expand Up @@ -206,4 +211,8 @@ jobs:
value: $(Build.SourcesDirectory)/common/smoketest/requirements-release.txt

steps:
- template: /eng/pipelines/templates/steps/smoke-test-steps.yml
- template: /eng/pipelines/templates/steps/smoke-test-steps.yml
parameters:
Artifact: ${{ parameters.Artifact }}
ArtifactName: ${{ parameters.ArtifactName }}
Daily: ${{ parameters.Daily }}
10 changes: 10 additions & 0 deletions eng/pipelines/templates/steps/smoke-test-steps.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
parameters:
- name: Daily
default: true
- name: Artifact
type: object
default: {}
- name: ArtifactName
type: string
default: "not-specified"

steps:
- template: /eng/common/pipelines/templates/steps/verify-agent-os.yml
parameters:
Expand Down

0 comments on commit 26bcdaa

Please sign in to comment.