mirror of
https://github.com/actions/runner.git
synced 2025-12-15 22:47:01 +00:00
.
This commit is contained in:
@@ -92,6 +92,10 @@ async function run(): Promise<void> {
|
|||||||
]
|
]
|
||||||
await exec.exec('kubectl', cpKubeInnerArgs)
|
await exec.exec('kubectl', cpKubeInnerArgs)
|
||||||
|
|
||||||
|
// copy over _work
|
||||||
|
const cpWorkArgs = ['cp', '/actions-runner/_work', 'job-container:/__w/']
|
||||||
|
await exec.exec('kubectl', cpWorkArgs)
|
||||||
|
|
||||||
const creationOutput = {
|
const creationOutput = {
|
||||||
JobContainerId: 'job-container',
|
JobContainerId: 'job-container',
|
||||||
Network: 'job-container'
|
Network: 'job-container'
|
||||||
|
|||||||
@@ -3059,6 +3059,13 @@ function run() {
|
|||||||
'job-container:/__runner_util/kubeInnerHandler'
|
'job-container:/__runner_util/kubeInnerHandler'
|
||||||
];
|
];
|
||||||
yield exec.exec('kubectl', cpKubeInnerArgs);
|
yield exec.exec('kubectl', cpKubeInnerArgs);
|
||||||
|
// copy over _work
|
||||||
|
const cpWorkArgs = [
|
||||||
|
'cp',
|
||||||
|
'/actions-runner/_work',
|
||||||
|
'job-container:/__w/'
|
||||||
|
];
|
||||||
|
yield exec.exec('kubectl', cpWorkArgs);
|
||||||
const creationOutput = {
|
const creationOutput = {
|
||||||
JobContainerId: 'job-container',
|
JobContainerId: 'job-container',
|
||||||
Network: 'job-container'
|
Network: 'job-container'
|
||||||
|
|||||||
Reference in New Issue
Block a user