cleanup
parent
cda93e27fc
commit
b5de40caa2
|
|
@ -3798,15 +3798,11 @@ class LocalDockerCloudRunner {
|
||||||
const fileContents = `#!/bin/bash
|
const fileContents = `#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
apt-get update > /dev/null && apt-get install -y tree> /dev/null
|
|
||||||
mkdir -p /github/workspace/cloud-runner-cache
|
mkdir -p /github/workspace/cloud-runner-cache
|
||||||
mkdir -p /data/cache
|
mkdir -p /data/cache
|
||||||
cp -a /github/workspace/cloud-runner-cache/. ${sharedFolder}
|
cp -a /github/workspace/cloud-runner-cache/. ${sharedFolder}
|
||||||
tree -L 3 ${sharedFolder}
|
|
||||||
${commands}
|
${commands}
|
||||||
cp -a ${sharedFolder}. /github/workspace/cloud-runner-cache/
|
cp -a ${sharedFolder}. /github/workspace/cloud-runner-cache/
|
||||||
tree -L 2 /github/workspace/cloud-runner-cache
|
|
||||||
tree -L 3 ${sharedFolder}
|
|
||||||
`;
|
`;
|
||||||
fs_1.writeFileSync(`${workspace}/${entrypointFilePath}`, fileContents, {
|
fs_1.writeFileSync(`${workspace}/${entrypointFilePath}`, fileContents, {
|
||||||
flag: 'w',
|
flag: 'w',
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -90,15 +90,11 @@ class LocalDockerCloudRunner implements ProviderInterface {
|
||||||
const fileContents = `#!/bin/bash
|
const fileContents = `#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
apt-get update > /dev/null && apt-get install -y tree> /dev/null
|
|
||||||
mkdir -p /github/workspace/cloud-runner-cache
|
mkdir -p /github/workspace/cloud-runner-cache
|
||||||
mkdir -p /data/cache
|
mkdir -p /data/cache
|
||||||
cp -a /github/workspace/cloud-runner-cache/. ${sharedFolder}
|
cp -a /github/workspace/cloud-runner-cache/. ${sharedFolder}
|
||||||
tree -L 3 ${sharedFolder}
|
|
||||||
${commands}
|
${commands}
|
||||||
cp -a ${sharedFolder}. /github/workspace/cloud-runner-cache/
|
cp -a ${sharedFolder}. /github/workspace/cloud-runner-cache/
|
||||||
tree -L 2 /github/workspace/cloud-runner-cache
|
|
||||||
tree -L 3 ${sharedFolder}
|
|
||||||
`;
|
`;
|
||||||
writeFileSync(`${workspace}/${entrypointFilePath}`, fileContents, {
|
writeFileSync(`${workspace}/${entrypointFilePath}`, fileContents, {
|
||||||
flag: 'w',
|
flag: 'w',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue