Skip to content

Commit 2e46cba

Browse files
authored
Merge pull request #6028 from gchq/6027-nightly-test-ec2
Issue 6027 - Fix starting nightly tests on fresh EC2
2 parents d6a0002 + d4ead28 commit 2e46cba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/test/nightly/startNightlyTestsFromHost.sh

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ deleteOldLogs() {
4444
find "$LOGS_DIR_HOST"/* -maxdepth 0 -type f -daystart -mtime +7 -exec echo "Deleting file:" {} \; -exec rm -f {} \;
4545
}
4646

47+
mkdir -p "$LOGS_DIR_HOST"
4748
deleteOldLogs &> "$REMOVE_OLD_LOGS_LOG_HOST"
4849
docker system prune -af &> "$DOCKER_PRUNE_LOG_HOST"
4950
sleeper cli upgrade &> "$CLI_UPGRADE_LOG_HOST"

0 commit comments

Comments
 (0)