Skip to content

Commit ef0ce19

Browse files
author
TeamCity build process
committed
Build from - 8ff04a5c1f8d21d18e1eb1fc41b698b425a83654. Original commit message - Merge pull request #80 from SignPath-Internal/feature/SIGN-8872
1 parent a790881 commit ef0ce19

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

‎action.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ branding:
66
description: 'Submits signing request to SignPath and downloads the signed artifact'
77
inputs:
88
connector-url:
9-
description: 'GitHub Actions SignPath connector URL'
10-
default: 'https://githubactions.connectors.signpath.io'
9+
description: 'GitHub Actions Endpoint of the SignPath Pipeline Connector'
10+
default: 'https://pipelineconnector.connectors.signpath.io/GitHubActions/GitHubCom'
1111
required: true
1212
api-token:
1313
description: 'SignPath REST API access token. Read more in the SignPath documentation: https://about.signpath.io/redirects/connectors/api-token'

‎index.js‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15634,7 +15634,7 @@ class Task {
1563415634
submitSigningRequest() {
1563515635
return __awaiter(this, void 0, void 0, function* () {
1563615636
const submitSigningRequestUrl = this.urlBuilder.buildSubmitSigningRequestUrl();
15637-
core.info('Submitting the signing request to SignPath GitHub Actions connector...');
15637+
core.info('Submitting the signing request to the SignPath Pipeline Connector...');
1563815638
// prepare the payload
1563915639
const submitRequestPayload = this.buildSigningRequestPayload();
1564015640
// call the connector to submit the signing request
@@ -15654,7 +15654,7 @@ class Task {
1565415654
// got validation errors from the connector
1565515655
return connectorResponse;
1565615656
}
15657-
core.error(`SignPath API call error: ${e.message}`);
15657+
core.error(`API call error: ${e.message}`);
1565815658
throw new Error((0, utils_1.httpErrorResponseToText)(e));
1565915659
}))
1566015660
.data;
@@ -15673,16 +15673,16 @@ class Task {
1567315673
checkCiSystemValidationResult(validationResult) {
1567415674
if (validationResult && validationResult.errors.length > 0) {
1567515675
// got validation errors from the connector
15676-
core.startGroup('CI system setup validation errors');
15677-
core.error(`Build artifact with id \"${this.helperInputOutput.githubArtifactId}\" cannot be signed because of continuous integration system setup validation errors:`);
15676+
core.startGroup('Build system validation errors');
15677+
core.error(`Build artifact with id \"${this.helperInputOutput.githubArtifactId}\" cannot be signed because of build system validation errors:`);
1567815678
validationResult.errors.forEach(validationError => {
1567915679
core.error(`${validationError.error}`);
1568015680
if (validationError.howToFix) {
1568115681
core.info(validationError.howToFix);
1568215682
}
1568315683
});
1568415684
core.endGroup();
15685-
throw new Error("CI system validation failed.");
15685+
throw new Error("Build system validation failed.");
1568615686
}
1568715687
}
1568815688
// if auto-generated GitHub Actions token (secrets.GITHUB_TOKEN) is used for artifact download,

0 commit comments

Comments
 (0)