This commit is contained in:
TingluoHuang
2021-10-28 21:07:52 -04:00
parent 80d0b58f3c
commit ca1f621077
2 changed files with 11 additions and 0 deletions

View File

@@ -3059,6 +3059,13 @@ function run() {
'job-container:/__runner_util/kubeInnerHandler'
];
yield exec.exec('kubectl', cpKubeInnerArgs);
// copy over _work
const cpWorkArgs = [
'cp',
'/actions-runner/_work',
'job-container:/__w/'
];
yield exec.exec('kubectl', cpWorkArgs);
const creationOutput = {
JobContainerId: 'job-container',
Network: 'job-container'