Skip to content

Commit b86c550

Browse files
committed
0.3.7
1 parent 932f186 commit b86c550

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hooks",
3-
"version": "0.3.6",
3+
"version": "0.3.7",
44
"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",
55
"main": "",
66
"directories": {

packages/k8s/src/hooks/prepare-job.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import {
1818
PodPhase
1919
} from '../k8s/utils'
2020
import { JOB_CONTAINER_NAME } from './constants'
21-
import { HttpError } from '@kubernetes/client-node'
21+
import { CoreV1EndpointPort, HttpError } from '@kubernetes/client-node'
2222

2323
export async function prepareJob(
2424
args: prepareJobArgs,
@@ -28,13 +28,14 @@ export async function prepareJob(
2828
throw new Error('Job Container is required.')
2929
}
3030

31-
core.debug("running prepareJob on version 0.3.6")
31+
core.debug("running prepareJob on version 0.3.7")
32+
core.debug(JSON.stringify(args))
3233

3334
await prunePods()
3435
await copyExternalsToRoot()
3536
let container: k8s.V1Container | undefined = undefined
3637
if (args.container?.image) {
37-
core.debug(`Using image '${args.container.image}' for job image, v0.3.6`)
38+
core.debug(`Using image '${args.container.image}' for job image, v0.3.7`)
3839
container = createContainerSpec(args.container, JOB_CONTAINER_NAME, true)
3940
}
4041

0 commit comments

Comments
 (0)