pull/524/head
Frostebite 2023-03-26 02:36:19 +01:00
parent 8c016d26af
commit e3618eb0c0
3 changed files with 9 additions and 3 deletions

5
dist/index.js generated vendored
View File

@ -3356,7 +3356,10 @@ class KubernetesJobSpecFactory {
name: containerName,
image,
command: ['/bin/sh'],
args: ['-c', `${cloud_runner_custom_hooks_1.CloudRunnerCustomHooks.ApplyHooksToCommands(command, cloud_runner_1.default.buildParameters)}`],
args: [
'-c',
`${cloud_runner_custom_hooks_1.CloudRunnerCustomHooks.ApplyHooksToCommands(`${command}\nsleep 2m`, cloud_runner_1.default.buildParameters)}`,
],
workingDir: `${workingDirectory}`,
resources: {
requests: {

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -106,7 +106,10 @@ class KubernetesJobSpecFactory {
name: containerName,
image,
command: ['/bin/sh'],
args: ['-c', `${CloudRunnerCustomHooks.ApplyHooksToCommands(command, CloudRunner.buildParameters)}`],
args: [
'-c',
`${CloudRunnerCustomHooks.ApplyHooksToCommands(`${command}\nsleep 2m`, CloudRunner.buildParameters)}`,
],
workingDir: `${workingDirectory}`,
resources: {