fix(job-builder): remove duplicate lines
Accidentally introduced duplicate content during prior edit. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -3,9 +3,6 @@
|
|||||||
* Constructs a Job that runs the Shannon worker image with the correct
|
* Constructs a Job that runs the Shannon worker image with the correct
|
||||||
* volumes, env, and security context. Optionally includes a git clone init container.
|
* volumes, env, and security context. Optionally includes a git clone init container.
|
||||||
*/
|
*/
|
||||||
* Constructs a Job that runs the Shannon worker image with the correct
|
|
||||||
* volumes, env, and security context. Optionally includes a git clone init container.
|
|
||||||
*/
|
|
||||||
|
|
||||||
import type * as k8s from '@kubernetes/client-node';
|
import type * as k8s from '@kubernetes/client-node';
|
||||||
|
|
||||||
@@ -24,7 +21,7 @@ export interface JobParams {
|
|||||||
readonly pipelineTesting?: boolean;
|
readonly pipelineTesting?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
const WORKER_LABEL = 'hightower-worker'; //
|
const WORKER_LABEL = 'hightower-worker';
|
||||||
const REPO_MOUNT_PATH = '/repo';
|
const REPO_MOUNT_PATH = '/repo';
|
||||||
|
|
||||||
export function buildJobSpec(params: JobParams): k8s.V1Job {
|
export function buildJobSpec(params: JobParams): k8s.V1Job {
|
||||||
|
|||||||
Reference in New Issue
Block a user