diff --git a/docker-compose-cron.yaml b/docker-compose-cron.yaml index 647176420..b2184eba6 100644 --- a/docker-compose-cron.yaml +++ b/docker-compose-cron.yaml @@ -16,4 +16,3 @@ services: - './tools/cron/:/home/kernelci/' - './logs/:/home/kernelci/logs/' - './config:/home/kernelci/config' - - '.env:/home/kernelci/.env' diff --git a/tools/cron/.env b/tools/cron/.env deleted file mode 100644 index bafc80e89..000000000 --- a/tools/cron/.env +++ /dev/null @@ -1,9 +0,0 @@ -UPLOAD_PATH="kci-dev/report" -FILE_PATH="/home/kernelci/logs/" -STORAGE_URL="https://files-staging.kernelci.org/" -STORAGE_TOKEN= -SMTP_HOST= -SMTP_PORT= -EMAIL_SENDER= -EMAIL_PASSWORD= -EMAIL_RECIPIENT= diff --git a/tools/cron/run_maestro_validate.sh b/tools/cron/run_maestro_validate.sh index 0cb808b11..b67089f9a 100755 --- a/tools/cron/run_maestro_validate.sh +++ b/tools/cron/run_maestro_validate.sh @@ -6,8 +6,5 @@ log_file_name="cron-$timestamp.log" cd /home/kernelci kci-dev --settings kci-dev.toml maestro validate builds --all-checkouts >> "$log_file_path/$log_file_name" kci-dev --settings kci-dev.toml maestro validate boots --all-checkouts >> "$log_file_path/$log_file_name" -set -a -source /home/kernelci/.env -set +a python upload_log.py $log_file_name python email_sender.py $log_file_name