Skip to content

Commit d4b37d9

Browse files
authored
1ES-ify SignalR Daily Tests pipeline (#54884)
* 1ESify signalr-daily-tests * Fix signtype
1 parent effb34d commit d4b37d9

File tree

2 files changed

+36
-15
lines changed

2 files changed

+36
-15
lines changed

.azure/pipelines/jobs/default-build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,9 @@ jobs:
352352
- LC_ALL: 'en_US.UTF-8'
353353
- LANG: 'en_US.UTF-8'
354354
- LANGUAGE: 'en_US.UTF-8'
355-
- ${{ if eq(parameters.codeSign, true) }}:
355+
- ${{ if ne(parameters.codeSign, true) }}:
356+
- _SignType: ''
357+
- ${{ else }}:
356358
- ${{ if notin(variables['Build.Reason'], 'PullRequest') }}:
357359
- _SignType: real
358360
- ${{ if in(variables['Build.Reason'], 'PullRequest') }}:

.azure/pipelines/signalr-daily-tests.yml

Lines changed: 33 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,38 @@ variables:
88
- ${{ if ne(variables['System.TeamProject'], 'public') }}:
99
- group: DotNet-MSRC-Storage
1010
- group: AzureDevOps-Artifact-Feeds-Pats
11-
- template: /eng/common/templates/variables/pool-providers.yml
11+
- template: /eng/common/templates-official/variables/pool-providers.yml@self
1212

13-
# The only Daily Tests we have run in Sauce Labs and only need to run on one machine (because they just trigger SauceLabs)
14-
# Hence we use the 'default-build.yml' template because it represents a single phase
15-
jobs:
16-
- template: jobs/default-build.yml
13+
resources:
14+
repositories:
15+
# Repo: 1ESPipelineTemplates/1ESPipelineTemplates
16+
- repository: 1esPipelines
17+
type: git
18+
name: 1ESPipelineTemplates/1ESPipelineTemplates
19+
ref: refs/tags/release
20+
21+
extends:
22+
template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines
1723
parameters:
18-
buildDirectory: src/SignalR
19-
buildArgs: "/p:DailyTests=true /p:SauceUser='$(asplab-sauce-labs-username)' /p:SauceKey='$(asplab-sauce-labs-access-key)' -t"
20-
agentOs: Windows
21-
jobName: SignalRDailyTests
22-
jobDisplayName: "SignalR Daily Tests"
23-
artifacts:
24-
- name: Windows_Logs
25-
path: artifacts/log/
26-
publishOnError: true
24+
sdl:
25+
sourceAnalysisPool:
26+
name: NetCore1ESPool-Svc-Internal
27+
image: 1es-windows-2022-pt
28+
os: windows
29+
stages:
30+
- stage: build
31+
displayName: Build
32+
# The only Daily Tests we have run in Sauce Labs and only need to run on one machine (because they just trigger SauceLabs)
33+
# Hence we use the 'default-build.yml' template because it represents a single phase
34+
jobs:
35+
- template: .azure/pipelines/jobs/default-build.yml@self
36+
parameters:
37+
buildDirectory: src/SignalR
38+
buildArgs: "/p:DailyTests=true /p:SauceUser='$(asplab-sauce-labs-username)' /p:SauceKey='$(asplab-sauce-labs-access-key)' -t"
39+
agentOs: Windows
40+
jobName: SignalRDailyTests
41+
jobDisplayName: "SignalR Daily Tests"
42+
artifacts:
43+
- name: Windows_Logs
44+
path: artifacts/log/
45+
publishOnError: true

0 commit comments

Comments
 (0)