Updated Executor and Runner

This commit is contained in:
Dunemask 2022-07-12 22:06:33 +00:00
parent 6386294887
commit 766610d14c
6 changed files with 8 additions and 3984 deletions

Binary file not shown.

File diff suppressed because one or more lines are too long

View file

@ -55,7 +55,7 @@ export default class Executor {
onClose() {
console.log("Server disconnected, terminating process.");
this.proc.kill("SIGINT");
this.proc.kill("SIGKILL");
}
onProcClose(code) {

View file

@ -3,7 +3,7 @@ import commonjs from "@rollup/plugin-commonjs";
import { terser } from "rollup-plugin-terser";
export default {
input: "lib/core/executor.js",
input: "lib/jobs/job-executor.js",
output: {
file: "dist/bundles/qualiteer-executor.js",
format: "cjs",

View file

@ -5,7 +5,7 @@ import single from "./single.js";
import failing from "./failing.js";
// Constants
const endLiveCount = 2;
const endLiveCount = 5;
const reportingUrl = `${process.env.QUALITEER_URL}/api/dev/rabbit/TestResults`;
// Pull args
const args = process.argv.slice(2);

View file

@ -18,6 +18,8 @@ const job = {
name: "testing",
image: "node",
};
await primary.newPipelineJob(job, null, () =>
const launchJob = () => primary.newPipelineJob(job, null, () =>
console.log("Primary Job Concluded")
);
launchJob();