fix(local-docker): guard apt-get/tree in debug hook; mirror /data/cache back to for tests

This commit is contained in:
Frostebite
2025-09-05 15:09:44 +01:00
parent 16d1156834
commit 9e6d69f9f5
4 changed files with 17 additions and 7 deletions

View File

@@ -173,9 +173,9 @@ export class ContainerHookService {
image: ubuntu
hook: after
commands: |
apt-get update > /dev/null
${CloudRunnerOptions.cloudRunnerDebug ? `apt-get install -y tree > /dev/null` : `#`}
${CloudRunnerOptions.cloudRunnerDebug ? `tree -L 3 /data/cache` : `#`}
apt-get update > /dev/null || true
${CloudRunnerOptions.cloudRunnerDebug ? `apt-get install -y tree > /dev/null || true` : `#`}
${CloudRunnerOptions.cloudRunnerDebug ? `tree -L 3 /data/cache || true` : `#`}
secrets:
- name: awsAccessKeyId
value: ${process.env.AWS_ACCESS_KEY_ID || ``}