Skip K8S cleanup sidecar - linear runner doesn't often get stuck - recommend garbage collection mode for game-ci
parent
2037184670
commit
8bb695773c
|
|
@ -2096,20 +2096,14 @@ class KubernetesJobSpecFactory {
|
||||||
command: [
|
command: [
|
||||||
'bin/bash',
|
'bin/bash',
|
||||||
'-c',
|
'-c',
|
||||||
`cd /data/builder/action/steps;
|
`cd /data/builder/action/steps;
|
||||||
chmod +x /return_license.sh;
|
chmod +x /return_license.sh;
|
||||||
/return_license.sh;`,
|
/return_license.sh;`,
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: 'controller-cleanup',
|
|
||||||
image: 'alpine',
|
|
||||||
command: ['/bin/sh'],
|
|
||||||
args: ['-c', 'echo "test"'],
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
restartPolicy: 'Never',
|
restartPolicy: 'Never',
|
||||||
},
|
},
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -145,12 +145,6 @@ class KubernetesJobSpecFactory {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: 'controller-cleanup',
|
|
||||||
image: 'alpine',
|
|
||||||
command: ['/bin/sh'],
|
|
||||||
args: ['-c', 'echo "test"'],
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
restartPolicy: 'Never',
|
restartPolicy: 'Never',
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue