better named tests and log local-docker params
parent
94851b231b
commit
a03e4c21d4
|
|
@ -3651,8 +3651,8 @@ class LocalDockerCloudRunner {
|
||||||
}
|
}
|
||||||
let myOutput = '';
|
let myOutput = '';
|
||||||
// core.info(JSON.stringify({ workspace, actionFolder, ...this.buildParameters, ...content }, undefined, 4));
|
// core.info(JSON.stringify({ workspace, actionFolder, ...this.buildParameters, ...content }, undefined, 4));
|
||||||
const entrypointFilePath = `${workspace}/start.sh`;
|
const entrypointFilePath = `ls && cd ./.. && ${workspace}/start.sh`;
|
||||||
fs_1.writeFileSync(entrypointFilePath, commands.replace('\n', ' && '), {
|
fs_1.writeFileSync(entrypointFilePath, commands, {
|
||||||
flag: 'w',
|
flag: 'w',
|
||||||
});
|
});
|
||||||
yield docker_1.default.run(image, Object.assign({ workspace, actionFolder }, this.buildParameters), false, entrypointFilePath, content, {
|
yield docker_1.default.run(image, Object.assign({ workspace, actionFolder }, this.buildParameters), false, entrypointFilePath, content, {
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -84,8 +84,8 @@ class LocalDockerCloudRunner implements ProviderInterface {
|
||||||
let myOutput = '';
|
let myOutput = '';
|
||||||
|
|
||||||
// core.info(JSON.stringify({ workspace, actionFolder, ...this.buildParameters, ...content }, undefined, 4));
|
// core.info(JSON.stringify({ workspace, actionFolder, ...this.buildParameters, ...content }, undefined, 4));
|
||||||
const entrypointFilePath = `${workspace}/start.sh`;
|
const entrypointFilePath = `ls && cd ./.. && ${workspace}/start.sh`;
|
||||||
writeFileSync(entrypointFilePath, commands.replace('\n', ' && '), {
|
writeFileSync(entrypointFilePath, commands, {
|
||||||
flag: 'w',
|
flag: 'w',
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue