diff options
author | Elizabeth Hunt <me@liz.coffee> | 2025-07-20 13:03:39 -0700 |
---|---|---|
committer | Elizabeth Hunt <me@liz.coffee> | 2025-07-20 13:03:39 -0700 |
commit | dc4ac7742690f8f2bd759d57108ac4455e717fe9 (patch) | |
tree | f138ba41dd44bf703087eaa8ec43a22fe842923d /model | |
parent | dccb99505e92685ba8ade7c3be84555f2b539a47 (diff) | |
download | ci-dc4ac7742690f8f2bd759d57108ac4455e717fe9.tar.gz ci-dc4ac7742690f8f2bd759d57108ac4455e717fe9.zip |
Mount src directory from path on host running worker container
Diffstat (limited to 'model')
-rw-r--r-- | model/job/jobs.ts | 1 | ||||
-rw-r--r-- | model/pipeline/builder.ts | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/model/job/jobs.ts b/model/job/jobs.ts index dc23070..eb22afd 100644 --- a/model/job/jobs.ts +++ b/model/job/jobs.ts @@ -43,6 +43,7 @@ export interface CheckoutCiJobProps extends JobArgT { readonly rev: string; readonly run: string; + readonly executorLaminarPath: string; readonly returnPath: string; } diff --git a/model/pipeline/builder.ts b/model/pipeline/builder.ts index 926a97f..b15a044 100644 --- a/model/pipeline/builder.ts +++ b/model/pipeline/builder.ts @@ -23,7 +23,7 @@ export class DefaultGitHookPipelineBuilder extends BasePipelineBuilder { constructor( private readonly remoteUrl = process.env.remote!, rev = process.env.rev!, - private readonly ref = process.env.ref!, + private readonly refname = process.env.refname!, ) { super(); @@ -47,6 +47,6 @@ export class DefaultGitHookPipelineBuilder extends BasePipelineBuilder { public getBranch(): string | undefined { const branchRefPrefix = 'refs/heads/'; - return this.ref.split(branchRefPrefix).at(1); + return this.refname.split(branchRefPrefix).at(1); } } |