summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--group_vars/publishing1
-rw-r--r--host_vars/releases-us.linaro.org1
-rw-r--r--roles/publishing-deps/templates/llp-crontab.cron3
3 files changed, 5 insertions, 0 deletions
diff --git a/group_vars/publishing b/group_vars/publishing
index 3b65806..2971187 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 a40862a..ad49d6b 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 e247994..21bd5b4 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