Skip to content

Commit 86d5d6d

Browse files
author
Jeny Sadadia
committed
Remove use of env file in cron service
Signed-off-by: Jeny Sadadia <[email protected]>
1 parent 16a48e3 commit 86d5d6d

File tree

3 files changed

+0
-13
lines changed

3 files changed

+0
-13
lines changed

docker-compose-cron.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,3 @@ services:
1616
- './tools/cron/:/home/kernelci/'
1717
- './logs/:/home/kernelci/logs/'
1818
- './config:/home/kernelci/config'
19-
- '.env:/home/kernelci/.env'

tools/cron/.env

Lines changed: 0 additions & 9 deletions
This file was deleted.

tools/cron/run_maestro_validate.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,5 @@ log_file_name="cron-$timestamp.log"
66
cd /home/kernelci
77
kci-dev --settings kci-dev.toml maestro validate builds --all-checkouts >> "$log_file_path/$log_file_name"
88
kci-dev --settings kci-dev.toml maestro validate boots --all-checkouts >> "$log_file_path/$log_file_name"
9-
set -a
10-
source /home/kernelci/.env
11-
set +a
129
python upload_log.py $log_file_name
1310
python email_sender.py $log_file_name

0 commit comments

Comments
 (0)