better named tests and log local-docker params

pull/461/head
Frostebite 2022-09-21 21:38:14 +01:00
parent 77aec2b711
commit c35fe5e6a6
3 changed files with 17 additions and 10 deletions

2
dist/index.js vendored
View File

@ -3650,7 +3650,7 @@ 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));
yield docker_1.default.run(image, Object.assign({ workspace, actionFolder }, this.buildParameters), false, commands, content, { yield docker_1.default.run(image, Object.assign({ workspace, actionFolder }, this.buildParameters), false, commands.replace('\n', ' && '), content, {
listeners: { listeners: {
stdout: (data) => { stdout: (data) => {
myOutput += data.toString(); myOutput += data.toString();

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -83,7 +83,13 @@ 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));
await Docker.run(image, { workspace, actionFolder, ...this.buildParameters }, false, commands, content, { await Docker.run(
image,
{ workspace, actionFolder, ...this.buildParameters },
false,
commands.replace('\n', ' && '),
content,
{
listeners: { listeners: {
stdout: (data: Buffer) => { stdout: (data: Buffer) => {
myOutput += data.toString(); myOutput += data.toString();
@ -92,7 +98,8 @@ class LocalDockerCloudRunner implements ProviderInterface {
myOutput += `[LOCAL-DOCKER-ERROR]${data.toString()}`; myOutput += `[LOCAL-DOCKER-ERROR]${data.toString()}`;
}, },
}, },
}); },
);
return myOutput; return myOutput;
} }