fixes
parent
8c016d26af
commit
e3618eb0c0
|
|
@ -3356,7 +3356,10 @@ class KubernetesJobSpecFactory {
|
||||||
name: containerName,
|
name: containerName,
|
||||||
image,
|
image,
|
||||||
command: ['/bin/sh'],
|
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}`,
|
workingDir: `${workingDirectory}`,
|
||||||
resources: {
|
resources: {
|
||||||
requests: {
|
requests: {
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -106,7 +106,10 @@ class KubernetesJobSpecFactory {
|
||||||
name: containerName,
|
name: containerName,
|
||||||
image,
|
image,
|
||||||
command: ['/bin/sh'],
|
command: ['/bin/sh'],
|
||||||
args: ['-c', `${CloudRunnerCustomHooks.ApplyHooksToCommands(command, CloudRunner.buildParameters)}`],
|
args: [
|
||||||
|
'-c',
|
||||||
|
`${CloudRunnerCustomHooks.ApplyHooksToCommands(`${command}\nsleep 2m`, CloudRunner.buildParameters)}`,
|
||||||
|
],
|
||||||
|
|
||||||
workingDir: `${workingDirectory}`,
|
workingDir: `${workingDirectory}`,
|
||||||
resources: {
|
resources: {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue