Skip to content

Commit 20ea296

Browse files
authoredJan 29, 2025··
Switch to new pools (#186)
1 parent 52f3bab commit 20ea296

File tree

2 files changed

+16
-18
lines changed

2 files changed

+16
-18
lines changed
 

Diff for: ‎azure-pipelines-gitTests-template.yml

+8-9
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ parameters:
4040

4141
jobs:
4242
- job: ListRepos
43+
pool:
44+
name: TypeScript-1ES-Deploys
45+
demands:
46+
- ImageOverride -equals mariner-2.0
4347
steps:
4448
- task: AzureKeyVault@2
4549
inputs:
@@ -69,13 +73,6 @@ jobs:
6973
strategy:
7074
parallel: ${{ parameters.MACHINE_COUNT }}
7175
steps:
72-
- task: AzureKeyVault@2
73-
inputs:
74-
azureSubscription: 'TypeScript Public CI'
75-
KeyVaultName: 'jststeam-passwords'
76-
SecretsFilter: 'typescript-bot-github-PAT-error-deltas'
77-
displayName: Get secrets
78-
retryCountOnTaskFailure: 3
7976
- download: current
8077
artifact: RepoList
8178
- task: UseNode@1
@@ -101,12 +98,14 @@ jobs:
10198
node dist/checkGithubRepos ${{ parameters.ENTRYPOINT }} ${{ parameters.OLD_VERSION }} ${{ parameters.NEW_VERSION }} '$(Pipeline.Workspace)/RepoList/repos.json' $(System.TotalJobsInPhase) $(System.JobPositionInPhase) 'RepoResults$(System.JobPositionInPhase)' ${{ parameters.DIAGNOSTIC_OUTPUT }} ${{ parameters.PRNG_SEED }}
10299
displayName: 'Run TypeScript on repos'
103100
continueOnError: true
104-
env:
105-
GITHUB_PAT: $(typescript-bot-github-PAT-error-deltas)
106101
- publish: 'RepoResults$(System.JobPositionInPhase)'
107102
artifact: 'RepoResults$(System.JobPositionInPhase)'
108103
- job: ReportNewErrors
109104
dependsOn: DetectNewErrors
105+
pool:
106+
name: TypeScript-1ES-Deploys
107+
demands:
108+
- ImageOverride -equals mariner-2.0
110109
steps:
111110
- task: AzureKeyVault@2
112111
inputs:

Diff for: ‎azure-pipelines-userTests.yml

+8-9
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ variables:
7171

7272
jobs:
7373
- job: ListRepos
74+
pool:
75+
name: TypeScript-1ES-Deploys
76+
demands:
77+
- ImageOverride -equals mariner-2.0
7478
steps:
7579
- task: AzureKeyVault@2
7680
inputs:
@@ -103,13 +107,6 @@ jobs:
103107
strategy:
104108
parallel: ${{ parameters.MACHINE_COUNT }}
105109
steps:
106-
- task: AzureKeyVault@2
107-
inputs:
108-
azureSubscription: 'TypeScript Public CI'
109-
KeyVaultName: 'jststeam-passwords'
110-
SecretsFilter: 'typescript-bot-github-PAT-error-deltas'
111-
displayName: Get secrets
112-
retryCountOnTaskFailure: 3
113110
- download: current
114111
artifact: RepoList
115112
- task: UseNode@1
@@ -134,12 +131,14 @@ jobs:
134131
mkdir 'RepoResults$(System.JobPositionInPhase)'
135132
node dist/checkUserTestRepos ${{ parameters.ENTRYPOINT }} ${{ parameters.OLD_TS_REPO_URL }} ${{ parameters.OLD_HEAD_REF }} ${{ parameters.SOURCE_ISSUE }} ${{ parameters.TOP_REPOS }} '$(Pipeline.Workspace)/RepoList/repos.json' $(System.TotalJobsInPhase) $(System.JobPositionInPhase) 'RepoResults$(System.JobPositionInPhase)' ${{ parameters.DIAGNOSTIC_OUTPUT }} ${{ parameters.PRNG_SEED }}
136133
displayName: 'Run user tests'
137-
env:
138-
GITHUB_PAT: $(typescript-bot-github-PAT-error-deltas)
139134
- publish: 'RepoResults$(System.JobPositionInPhase)'
140135
artifact: 'RepoResults$(System.JobPositionInPhase)'
141136
- job: ReportNewErrors
142137
dependsOn: DetectNewErrors
138+
pool:
139+
name: TypeScript-1ES-Deploys
140+
demands:
141+
- ImageOverride -equals mariner-2.0
143142
steps:
144143
- task: AzureKeyVault@2
145144
inputs:

0 commit comments

Comments
 (0)
Please sign in to comment.