This repository was archived by the owner on Feb 13, 2025. It is now read-only.
File tree 4 files changed +25
-9
lines changed
4 files changed +25
-9
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "image" : " mcr.microsoft.com/powershell/test-deps:ubuntu-22.04" ,
3
+ "features" : {
4
+ "ghcr.io/devcontainers/features/github-cli:1" : {},
5
+ "ghcr.io/devcontainers/features/common-utils:2" : {}
6
+ },
7
+ "customizations" : {
8
+ "codespaces" : {
9
+ }
10
+ }
11
+ }
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ variables:
32
32
value : 1
33
33
- name : runCodesignValidationInjection
34
34
value : false
35
+ - group : poolNames
35
36
36
37
stages :
37
38
- template : ./templates/releaseBuildAndPushStage.yml
Original file line number Diff line number Diff line change @@ -7,11 +7,21 @@ parameters:
7
7
default : ' private'
8
8
9
9
jobs :
10
+ - template : ./Approval.yml
11
+ parameters :
12
+ displayName : ' Approve ${{ parameters.channel }}-${{ parameters.release }} upload'
13
+ instructions : |
14
+ Only approve one channel at a time or malware scanning will fail.
15
+ Approving this will trigger the upload of the snap as "${{ parameters.channel }}-${{ parameters.release }}"
16
+ jobName : ' push_approval'
17
+
10
18
- job : scan
11
19
displayName : Scan ${{ parameters.channel }}
20
+ dependsOn :
21
+ - push_approval
12
22
13
23
pool :
14
- name : 1es
24
+ name : $(ubuntuPool)
15
25
demands :
16
26
- ImageOverride -equals ${{ parameters.vmImage }}
17
27
72
82
**/*
73
83
scanningService : ' pwshEsrpScanning'
74
84
75
- - template : ./Approval.yml
76
- parameters :
77
- displayName : ' Approve ${{ parameters.channel }}-${{ parameters.release }} upload'
78
- instructions : ' Approving this will trigger the upload of the snap as "${{ parameters.channel }}-${{ parameters.release }}"'
79
- jobName : ' push_approval'
80
-
81
85
- job : push
82
86
dependsOn :
83
87
- push_approval
86
90
displayName : Push to ${{ parameters.release }}
87
91
88
92
pool :
89
- name : 1es
93
+ name : $(ubuntuPool)
90
94
demands :
91
95
- ImageOverride -equals ${{ parameters.vmImage }}
92
96
Original file line number Diff line number Diff line change 16
16
17
17
${{ if startsWith(parameters.vmImage, 'PSMMS') }} :
18
18
pool :
19
- name : 1es
19
+ name : $(ubuntuPool)
20
20
demands :
21
21
- ImageOverride -equals ${{ parameters.vmImage }}
22
22
You can’t perform that action at this time.
0 commit comments