include build number at start of build id for readability
parent
291e241898
commit
b464633669
|
|
@ -225,7 +225,7 @@ class AWS {
|
|||
var _a;
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
try {
|
||||
const buildUid = nanoid_1.nanoid();
|
||||
const buildUid = `${process.env.GITHUB_RUN_NUMBER}-${nanoid_1.nanoid()}`;
|
||||
const branchName = (_a = process.env.GITHUB_REF) === null || _a === void 0 ? void 0 : _a.split('/').reverse()[0];
|
||||
core.info('Starting part 1/4 (clone from github and restore cache)');
|
||||
yield this.run(buildUid, buildParameters.awsStackName, 'alpine/git', ['/bin/sh'], [
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -7,7 +7,7 @@ import * as zlib from 'zlib';
|
|||
class AWS {
|
||||
static async runBuildJob(buildParameters, baseImage) {
|
||||
try {
|
||||
const buildUid = nanoid();
|
||||
const buildUid = `${process.env.GITHUB_RUN_NUMBER}-${nanoid()}`;
|
||||
const branchName = process.env.GITHUB_REF?.split('/').reverse()[0];
|
||||
|
||||
core.info('Starting part 1/4 (clone from github and restore cache)');
|
||||
|
|
|
|||
Loading…
Reference in New Issue