Skip to content

Commit

Permalink
v0.3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
nielstenboom committed Jan 3, 2023
1 parent 4a06add commit 932f186
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"name": "run prepare job tests",
"request": "launch",
"program": "${workspaceFolder}/packages/k8s/node_modules/.bin/jest",
"args": ["packages/k8s/tests/k8s-utils-test.ts", "--runInBand"],
"args": ["${relativeFile}", "--runInBand"],
"cwd": "${workspaceFolder}/packages/k8s",
"console": "integratedTerminal",
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hooks",
"version": "0.3.5",
"version": "0.3.6",
"description": "Three projects are included - k8s: a kubernetes hook implementation that spins up pods dynamically to run a job - docker: A hook implementation of the runner's docker implementation - A hook lib, which contains shared typescript definitions and utilities that the other packages consume",
"main": "",
"directories": {
Expand Down
4 changes: 2 additions & 2 deletions packages/k8s/src/hooks/prepare-job.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ export async function prepareJob(
throw new Error('Job Container is required.')
}

core.debug("running prepareJob on version 0.3.5")
core.debug("running prepareJob on version 0.3.6")

await prunePods()
await copyExternalsToRoot()
let container: k8s.V1Container | undefined = undefined
if (args.container?.image) {
core.debug(`Using image '${args.container.image}' for job image`)
core.debug(`Using image '${args.container.image}' for job image, v0.3.6`)
container = createContainerSpec(args.container, JOB_CONTAINER_NAME, true)
}

Expand Down

0 comments on commit 932f186

Please sign in to comment.