Copy all of data folder to docker volume to enable local-docker retained workspace
parent
9253b5e21c
commit
954066b224
|
|
@ -3763,10 +3763,10 @@ class LocalDockerCloudRunner {
|
||||||
apt-get update > /dev/null && apt-get install -y tree> /dev/null
|
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/. /data/cache/
|
cp -a /github/workspace/cloud-runner-cache/. /data/
|
||||||
tree -L 3 /data/
|
tree -L 3 /data/
|
||||||
${commands}
|
${commands}
|
||||||
cp -a /data/cache/. /github/workspace/cloud-runner-cache/
|
cp -a /data/. /github/workspace/cloud-runner-cache/
|
||||||
tree -L 2 /github/workspace/cloud-runner-cache
|
tree -L 2 /github/workspace/cloud-runner-cache
|
||||||
tree -L 3 /data/
|
tree -L 3 /data/
|
||||||
`, {
|
`, {
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -95,10 +95,10 @@ class LocalDockerCloudRunner implements ProviderInterface {
|
||||||
apt-get update > /dev/null && apt-get install -y tree> /dev/null
|
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/. /data/cache/
|
cp -a /github/workspace/cloud-runner-cache/. /data/
|
||||||
tree -L 3 /data/
|
tree -L 3 /data/
|
||||||
${commands}
|
${commands}
|
||||||
cp -a /data/cache/. /github/workspace/cloud-runner-cache/
|
cp -a /data/. /github/workspace/cloud-runner-cache/
|
||||||
tree -L 2 /github/workspace/cloud-runner-cache
|
tree -L 2 /github/workspace/cloud-runner-cache
|
||||||
tree -L 3 /data/
|
tree -L 3 /data/
|
||||||
`,
|
`,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue