diff options
author | Ben Copeland <ben.copeland@linaro.org> | 2016-03-30 17:51:23 +0100 |
---|---|---|
committer | Ben Copeland <ben.copeland@linaro.org> | 2016-04-12 09:21:48 +0000 |
commit | b75ce45e2ea3fbc1ef35ac0e74797acf4919911b (patch) | |
tree | aac0aa1c510b1daafd3d319f184087ea5506fe5f | |
parent | ce48ff437dd80e6966ca4ffb304ab16eacf6b2ae (diff) |
publishing-deps: s3_sanity add crontab entry
Add a crontab entry to run the s3_sanity script.
Change-Id: Ifcb80fa11c4f3f52ed84153ca40057abf6fa577e
Reviewed-on: https://review.linaro.org/11123
Reviewed-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
-rw-r--r-- | group_vars/publishing | 1 | ||||
-rw-r--r-- | host_vars/releases-us.linaro.org | 1 | ||||
-rw-r--r-- | roles/publishing-deps/templates/llp-crontab.cron | 3 |
3 files changed, 5 insertions, 0 deletions
diff --git a/group_vars/publishing b/group_vars/publishing index 3b65806d..29711872 100644 --- a/group_vars/publishing +++ b/group_vars/publishing @@ -5,6 +5,7 @@ django_settings: settings_production hostname: "{{inventory_hostname}}" process_report: false +s3_sanity: false ssl_cert: /etc/ssl/certs/wildcard.linaro.org.crt ssl_key: /etc/ssl/private/wildcard.linaro.org.key diff --git a/host_vars/releases-us.linaro.org b/host_vars/releases-us.linaro.org index a40862aa..ad49d6b2 100644 --- a/host_vars/releases-us.linaro.org +++ b/host_vars/releases-us.linaro.org @@ -2,3 +2,4 @@ sitename: Linaro Releases secrets_file: releases-us-secrets.py process_report: true +s3_sanity: true diff --git a/roles/publishing-deps/templates/llp-crontab.cron b/roles/publishing-deps/templates/llp-crontab.cron index e247994b..21bd5b42 100644 --- a/roles/publishing-deps/templates/llp-crontab.cron +++ b/roles/publishing-deps/templates/llp-crontab.cron @@ -3,4 +3,7 @@ {% if process_report %} MAILTO=linaro-infrastructure-errors@lists.linaro.org */10 * * * * {{apache_user}} {{install_base}}/{{inventory_hostname}}/project/manage.py report_process --settings=settings_production +{% endif %} +{% if s3_sanity %} +0 0 * * 0 {{apache_user}} {{install_base}}/{{inventory_hostname}}/project/manage.py s3_sanity --settings=settings_production {% endif %}
\ No newline at end of file |