Update github check with aws log
parent
792f254c80
commit
aa96d861e4
|
|
@ -6121,7 +6121,7 @@ class GitHub {
|
||||||
const token = cloud_runner_1.default.buildParameters.gitPrivateToken;
|
const token = cloud_runner_1.default.buildParameters.gitPrivateToken;
|
||||||
const owner = cloud_runner_options_1.default.githubOwner;
|
const owner = cloud_runner_options_1.default.githubOwner;
|
||||||
const repo = cloud_runner_options_1.default.githubRepoName;
|
const repo = cloud_runner_options_1.default.githubRepoName;
|
||||||
GitHub.startedDate = Date.now();
|
GitHub.startedDate = Date.now().toString();
|
||||||
// call github api to create a check
|
// call github api to create a check
|
||||||
const octokit = new core_1.Octokit({
|
const octokit = new core_1.Octokit({
|
||||||
auth: process.env.CHECKS_API_TOKEN || token,
|
auth: process.env.CHECKS_API_TOKEN || token,
|
||||||
|
|
@ -6137,7 +6137,7 @@ class GitHub {
|
||||||
// eslint-disable-next-line camelcase
|
// eslint-disable-next-line camelcase
|
||||||
external_id: cloud_runner_1.default.buildParameters.buildGuid,
|
external_id: cloud_runner_1.default.buildParameters.buildGuid,
|
||||||
// eslint-disable-next-line camelcase
|
// eslint-disable-next-line camelcase
|
||||||
started_at: '2018-05-04T01:14:52Z',
|
started_at: GitHub.startedDate,
|
||||||
output: {
|
output: {
|
||||||
title: nameReadable,
|
title: nameReadable,
|
||||||
summary,
|
summary,
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -18,7 +18,7 @@ class GitHub {
|
||||||
const token = CloudRunner.buildParameters.gitPrivateToken;
|
const token = CloudRunner.buildParameters.gitPrivateToken;
|
||||||
const owner = CloudRunnerOptions.githubOwner;
|
const owner = CloudRunnerOptions.githubOwner;
|
||||||
const repo = CloudRunnerOptions.githubRepoName;
|
const repo = CloudRunnerOptions.githubRepoName;
|
||||||
GitHub.startedDate = Date.now();
|
GitHub.startedDate = Date.now().toString();
|
||||||
|
|
||||||
// call github api to create a check
|
// call github api to create a check
|
||||||
const octokit = new Octokit({
|
const octokit = new Octokit({
|
||||||
|
|
@ -37,7 +37,7 @@ class GitHub {
|
||||||
// eslint-disable-next-line camelcase
|
// eslint-disable-next-line camelcase
|
||||||
external_id: CloudRunner.buildParameters.buildGuid,
|
external_id: CloudRunner.buildParameters.buildGuid,
|
||||||
// eslint-disable-next-line camelcase
|
// eslint-disable-next-line camelcase
|
||||||
started_at: '2018-05-04T01:14:52Z',
|
started_at: GitHub.startedDate,
|
||||||
output: {
|
output: {
|
||||||
title: nameReadable,
|
title: nameReadable,
|
||||||
summary,
|
summary,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue