Skip K8S cleanup sidecar - linear runner doesn't often get stuck - recommend garbage collection mode for game-ci

pull/310/head
Frostebite 2022-01-12 22:23:26 +00:00
parent 2037184670
commit 8bb695773c
3 changed files with 3 additions and 15 deletions

10
dist/index.js vendored
View File

@ -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',
}, },

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -145,12 +145,6 @@ class KubernetesJobSpecFactory {
}, },
}, },
}, },
{
name: 'controller-cleanup',
image: 'alpine',
command: ['/bin/sh'],
args: ['-c', 'echo "test"'],
},
], ],
restartPolicy: 'Never', restartPolicy: 'Never',
}, },