diff options
author | Elizabeth Hunt <me@liz.coffee> | 2025-07-26 15:15:56 -0700 |
---|---|---|
committer | Elizabeth Hunt <me@liz.coffee> | 2025-07-26 15:16:09 -0700 |
commit | 8a0c5f5cae2d6cdc66315172d7ffdffc8954ffaa (patch) | |
tree | aaf3c74620ede2c0beab6d5a0576848d038721ff /.ci/ci.cjs | |
parent | b1efe258974f93616c98485f2bcfb8b999f0e4ad (diff) | |
download | ci-8a0c5f5cae2d6cdc66315172d7ffdffc8954ffaa.tar.gz ci-8a0c5f5cae2d6cdc66315172d7ffdffc8954ffaa.zip |
Uses correct subpackage for server in ci and streams stdout and stderr during ci builds
Diffstat (limited to '.ci/ci.cjs')
-rwxr-xr-x | .ci/ci.cjs | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -477,7 +477,15 @@ var Optional = class _Optional extends _Tagged3 { }; // ../model/job/index.ts -var isJob = (j) => !!(isObject(j) && "arguments" in j && isObject(j.arguments) && "type" in j && typeof j.type === "string" && j); +var JobTypes = [ + "fetch_code", + "ci_pipeline", + "build_docker_image.js", + "ansible_playbook.js", + "checkout_ci.js" +]; +var isJobType = (j) => typeof j === "string" && JobTypes.includes(j); +var isJob = (j) => !!(isObject(j) && "arguments" in j && isObject(j.arguments) && "type" in j && isJobType(j.type) && j); // ../model/pipeline/builder.ts var BasePipelineBuilder = class { @@ -564,7 +572,7 @@ var getPipeline = () => { gitHookPipeline.addStage({ parallelJobs: [baseCiPackageBuild] }); - const subPackages = ["worker", "hooks"].map((_package) => ({ + const subPackages = ["worker", "server"].map((_package) => ({ type: "build_docker_image.js", arguments: { ...commonBuildArgs, |