-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: move ESRP to a parameterized subtask which takes signingId (#1…
…7216) This centralized all our ESRP calls in one file, which will make it easier in the future when we are invariable required to change how we call it again. (cherry picked from commit 5ce7fb7) Service-Card-Id: 92577954 Service-Version: 1.20
- Loading branch information
Showing
5 changed files
with
117 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
parameters: | ||
- name: displayName | ||
type: string | ||
default: ESRP Code Signing | ||
- name: inputs | ||
type: object | ||
default: {} | ||
- name: signingIdentity | ||
type: object | ||
default: {} | ||
|
||
steps: | ||
- task: EsrpCodeSigning@5 | ||
displayName: ${{ parameters.displayName }} | ||
inputs: | ||
ConnectedServiceName: ${{ parameters.signingIdentity.serviceName }} | ||
AppRegistrationClientId: ${{ parameters.signingIdentity.appId }} | ||
AppRegistrationTenantId: ${{ parameters.signingIdentity.tenantId }} | ||
AuthAKVName: ${{ parameters.signingIdentity.akvName }} | ||
AuthCertName: ${{ parameters.signingIdentity.authCertName }} | ||
AuthSignCertName: ${{ parameters.signingIdentity.signCertName }} | ||
${{ insert }}: ${{ parameters.inputs }} |