relman-auto-nag/run_survey_sec_bugs.sh

24 строки
404 B
Bash
Executable File

#!/bin/bash
set -e
export PYTHONPATH=.
./runauto_nag_common.sh
. venv/bin/activate
# force the update of dependencies
pip install -r requirements.txt
# Clean the log files
python -m auto_nag.log --clean
# Close inactive intermittent bugs
python -m auto_nag.scripts.survey_sec_bugs
# Send a mail if the logs are not empty
# MUST ALWAYS BE THE LAST COMMAND
python -m auto_nag.log --send
deactivate