Compare commits

...

2 Commits

Author SHA1 Message Date
25a4192c07 Make Britney work 2024-12-03 22:03:23 -06:00
b6f26a86bc Minor Britney script updates 2024-12-03 21:44:56 -06:00
2 changed files with 3 additions and 4 deletions

View File

@ -17,8 +17,7 @@
# Configuration
LOG_DIR="/srv/lubuntu-ci/output/logs/britney"
SCRIPT_PATH="fetch-indexes"
MAX_LOG_AGE=86400 # 24 hours in seconds
SCRIPT_PATH="/srv/lubuntu-ci/repos/ci-tools/fetch-indexes"
# Ensure the log directory exists
mkdir -p $LOG_DIR
@ -31,7 +30,7 @@ for release in plucky oracular noble; do
export RELEASE="$release"
# Log file named by current UTC time (HH-MM-SS)
LOG_FILE="$LOG_DIR/$RELEASE_$(date -u +"%H-%M-%S").log"
LOG_FILE="$LOG_DIR/${release}_$(date -u +"%H-%M-%S").log"
echo "$(date -u +"%Y-%m-%d %H:%M:%S") - Running Britney for $RELEASE" >> "$LOG_FILE"
"$SCRIPT_PATH" >> "$LOG_FILE" 2>&1

View File

@ -8,4 +8,4 @@ Type=simple
User=lugito
Group=lugito
WorkingDirectory=/srv/lubuntu-ci/repos/ci-tools
ExecStart=/usr/bin/python3 /srv/lubuntu-ci/repos/ci-tools/run-britney
ExecStart=/srv/lubuntu-ci/repos/ci-tools/run-britney