mirror of
https://github.com/actions/runner-container-hooks.git
synced 2025-12-15 17:26:44 +00:00
returned logging below the try k8s prepare job
This commit is contained in:
@@ -71,12 +71,13 @@ export async function prepareJob(
|
|||||||
new Set([PodPhase.RUNNING]),
|
new Set([PodPhase.RUNNING]),
|
||||||
new Set([PodPhase.PENDING])
|
new Set([PodPhase.PENDING])
|
||||||
)
|
)
|
||||||
core.debug('Job pod is ready for traffic')
|
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
await prunePods()
|
await prunePods()
|
||||||
throw new Error(`Pod failed to come online with error: ${err}`)
|
throw new Error(`Pod failed to come online with error: ${err}`)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
core.debug('Job pod is ready for traffic')
|
||||||
|
|
||||||
let isAlpine = false
|
let isAlpine = false
|
||||||
try {
|
try {
|
||||||
isAlpine = await isPodContainerAlpine(
|
isAlpine = await isPodContainerAlpine(
|
||||||
|
|||||||
Reference in New Issue
Block a user