Updated Executor and Runner
This commit is contained in:
parent
6386294887
commit
766610d14c
6 changed files with 8 additions and 3984 deletions
BIN
bin/executor
BIN
bin/executor
Binary file not shown.
3982
dist/bundles/qualiteer-executor.js
vendored
3982
dist/bundles/qualiteer-executor.js
vendored
File diff suppressed because one or more lines are too long
|
@ -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) {
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue