Commit 6eaea92
committed
.azure-pipelines: introduce esrp/sign.yml template
Refactor the three EsrpCodeSigning@6 invocations in release.yml
(Payload binaries, FastFetch, installer) to use a shared
.azure-pipelines/esrp/sign.yml step template, modeled on the same
template in microsoft/git.
The template:
* Forwards the per-call inputs (displayName, folderPath, pattern,
inlineOperation) to EsrpCodeSigning@6.
* Provides defaults for the ESRP connection parameters that point
at the standard pipeline variables ($(esrpAppConnectionName),
$(esrpClientId), etc.), so callers don't repeat them.
* Runs an inline PowerShell@2 step right after each signing
operation that removes the CodeSignSummary-<guid>.md report
ESRP CLI drops into the signing folder. Without this, those
.md files would otherwise end up packaged into SetupGVFS.exe
(Payload), or uploaded as part of the FastFetch and Installer
pipeline artifacts.
Net effect on release.yml is a small reduction in line count and,
more importantly, cleanup is no longer something a future caller
can forget to wire up.
Signed-off-by: Matthew John Cheetham <mjcheetham@outlook.com>1 parent c21ed31 commit 6eaea92
2 files changed
Lines changed: 68 additions & 36 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
156 | 149 | | |
157 | 150 | | |
158 | 151 | | |
| |||
163 | 156 | | |
164 | 157 | | |
165 | 158 | | |
166 | | - | |
167 | | - | |
168 | 159 | | |
169 | 160 | | |
170 | 161 | | |
| |||
189 | 180 | | |
190 | 181 | | |
191 | 182 | | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
202 | 186 | | |
203 | 187 | | |
204 | | - | |
205 | | - | |
206 | 188 | | |
207 | 189 | | |
208 | 190 | | |
| |||
240 | 222 | | |
241 | 223 | | |
242 | 224 | | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
253 | 228 | | |
254 | 229 | | |
255 | | - | |
256 | | - | |
257 | 230 | | |
258 | 231 | | |
259 | 232 | | |
| |||
0 commit comments