better named tests and log local-docker params
parent
77aec2b711
commit
c35fe5e6a6
|
|
@ -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();
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -83,16 +83,23 @@ 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(
|
||||||
listeners: {
|
image,
|
||||||
stdout: (data: Buffer) => {
|
{ workspace, actionFolder, ...this.buildParameters },
|
||||||
myOutput += data.toString();
|
false,
|
||||||
},
|
commands.replace('\n', ' && '),
|
||||||
stderr: (data: Buffer) => {
|
content,
|
||||||
myOutput += `[LOCAL-DOCKER-ERROR]${data.toString()}`;
|
{
|
||||||
|
listeners: {
|
||||||
|
stdout: (data: Buffer) => {
|
||||||
|
myOutput += data.toString();
|
||||||
|
},
|
||||||
|
stderr: (data: Buffer) => {
|
||||||
|
myOutput += `[LOCAL-DOCKER-ERROR]${data.toString()}`;
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
});
|
);
|
||||||
|
|
||||||
return myOutput;
|
return myOutput;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue