4
4
# https://aka.ms/yaml
5
5
6
6
pool :
7
- vmImage : ' vs2017-win2016 '
7
+ vmImage : ' windows-latest ' # requires windows for azure authentication
8
8
9
9
schedules :
10
10
- cron : 1 16 * * *
@@ -35,11 +35,10 @@ steps:
35
35
AZURE_DEVOPS_EXT_PAT : $(tSQLtCIAzureCLIPatToken)
36
36
# # black magic: this token ^^^^ is required to make "az pipelines runs show" work below
37
37
inputs :
38
- azureSubscription : ' tSQLt CI Subscription(58c04a99-5b92-410c-9e41-10262f68ca80) '
38
+ azureSubscription : ' tSQLt CI - Nightly Cleanup - Service Connection '
39
39
scriptType : ' ps'
40
40
scriptLocation : ' inlineScript'
41
41
inlineScript : |
42
-
43
42
##Functions
44
43
$GetAll_tSQLtCI_RGs = {
45
44
param();
@@ -141,7 +140,7 @@ steps:
141
140
- task : AzurePowerShell@4
142
141
name : print_stuff
143
142
inputs :
144
- azureSubscription : ' tSQLt CI Subscription(58c04a99-5b92-410c-9e41-10262f68ca80) '
143
+ azureSubscription : ' tSQLt CI - Nightly Cleanup - Service Connection '
145
144
azurePowerShellVersion : ' LatestVersion'
146
145
failOnStandardError : True
147
146
ScriptType : ' InlineScript'
@@ -159,7 +158,7 @@ steps:
159
158
condition : succeeded()
160
159
name : Delete_RGs
161
160
inputs :
162
- azureSubscription : ' tSQLt CI Subscription(58c04a99-5b92-410c-9e41-10262f68ca80) '
161
+ azureSubscription : ' tSQLt CI - Nightly Cleanup - Service Connection '
163
162
azurePowerShellVersion : ' LatestVersion'
164
163
FailOnStandardError : true
165
164
ScriptType : ' InlineScript'
@@ -225,7 +224,7 @@ steps:
225
224
name : AssertDeleteSuccessful
226
225
condition : always()
227
226
inputs :
228
- azureSubscription : ' tSQLt CI Subscription(58c04a99-5b92-410c-9e41-10262f68ca80) '
227
+ azureSubscription : ' tSQLt CI - Nightly Cleanup - Service Connection '
229
228
azurePowerShellVersion : ' LatestVersion'
230
229
failOnStandardError : True
231
230
ScriptType : ' InlineScript'
0 commit comments