custom hook files and test
commit
ab7f64481d
|
|
@ -3729,7 +3729,6 @@ class LocalDockerCloudRunner {
|
||||||
this.buildParameters = buildParameters;
|
this.buildParameters = buildParameters;
|
||||||
}
|
}
|
||||||
runTask(buildGuid, image, commands, mountdir, workingdir, environment, secrets) {
|
runTask(buildGuid, image, commands, mountdir, workingdir, environment, secrets) {
|
||||||
var _a;
|
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
cloud_runner_logger_1.default.log(buildGuid);
|
cloud_runner_logger_1.default.log(buildGuid);
|
||||||
cloud_runner_logger_1.default.log(commands);
|
cloud_runner_logger_1.default.log(commands);
|
||||||
|
|
@ -3753,7 +3752,7 @@ class LocalDockerCloudRunner {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
let myOutput = '';
|
let myOutput = '';
|
||||||
const sharedFolder = ((_a = this.buildParameters) === null || _a === void 0 ? void 0 : _a.retainWorkspace) ? `/data/` : `/data/cache/`;
|
const sharedFolder = `/data/`;
|
||||||
// core.info(JSON.stringify({ workspace, actionFolder, ...this.buildParameters, ...content }, undefined, 4));
|
// core.info(JSON.stringify({ workspace, actionFolder, ...this.buildParameters, ...content }, undefined, 4));
|
||||||
const entrypointFilePath = `start.sh`;
|
const entrypointFilePath = `start.sh`;
|
||||||
fs_1.writeFileSync(`${workspace}/${entrypointFilePath}`, `#!/bin/bash
|
fs_1.writeFileSync(`${workspace}/${entrypointFilePath}`, `#!/bin/bash
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -82,7 +82,7 @@ class LocalDockerCloudRunner implements ProviderInterface {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
let myOutput = '';
|
let myOutput = '';
|
||||||
const sharedFolder = this.buildParameters?.retainWorkspace ? `/data/` : `/data/cache/`;
|
const sharedFolder = `/data/`;
|
||||||
|
|
||||||
// core.info(JSON.stringify({ workspace, actionFolder, ...this.buildParameters, ...content }, undefined, 4));
|
// core.info(JSON.stringify({ workspace, actionFolder, ...this.buildParameters, ...content }, undefined, 4));
|
||||||
const entrypointFilePath = `start.sh`;
|
const entrypointFilePath = `start.sh`;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue