cleanup cli

pull/437/head
Frostebite 2022-10-19 00:50:52 +01:00
parent b5bb9fc421
commit e17bafe800
4 changed files with 5 additions and 5 deletions

4
dist/index.js vendored
View File

@ -3891,7 +3891,7 @@ class Caching {
cloud_runner_logger_1.default.log(`There is ${contents.length} files/dir in the source folder ${path_1.default.basename(sourceFolder)}`);
if (cloud_runner_1.default.buildParameters.cloudRunnerDebug) {
// await CloudRunnerSystem.Run(`tree -L 2 ./..`);
yield cloud_runner_system_1.CloudRunnerSystem.Run(`tree -L 2`);
// await CloudRunnerSystem.Run(`tree -L 2`);
}
if (contents.length === 0) {
cloud_runner_logger_1.default.log(`Did not push source folder to cache because it was empty ${path_1.default.basename(sourceFolder)}`);
@ -4463,7 +4463,7 @@ class CloudRunnerCustomSteps {
hook: after
commands: |
apt-get update > /dev/null
apt-get install -y tree > /dev/null
${cloud_runner_options_1.default.cloudRunnerDebugTree ? `apt-get install -y tree > /dev/null` : `#`}
${cloud_runner_options_1.default.cloudRunnerDebugTree ? `tree -L 3 /data/cache` : `#`}
secrets:
- name: awsAccessKeyId

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -67,7 +67,7 @@ export class Caching {
if (CloudRunner.buildParameters.cloudRunnerDebug) {
// await CloudRunnerSystem.Run(`tree -L 2 ./..`);
await CloudRunnerSystem.Run(`tree -L 2`);
// await CloudRunnerSystem.Run(`tree -L 2`);
}
if (contents.length === 0) {

View File

@ -94,7 +94,7 @@ export class CloudRunnerCustomSteps {
hook: after
commands: |
apt-get update > /dev/null
apt-get install -y tree > /dev/null
${CloudRunnerOptions.cloudRunnerDebugTree ? `apt-get install -y tree > /dev/null` : `#`}
${CloudRunnerOptions.cloudRunnerDebugTree ? `tree -L 3 /data/cache` : `#`}
secrets:
- name: awsAccessKeyId