From 5b5b898c26e524fd4fbd6e2e4100705dba02d325 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20P=C3=A1ral?= Date: Wed, 29 May 2019 15:34:34 +0200 Subject: [PATCH] taskotron-dev: add a missing cron file I forgot about it in my previous commit 987ba63be3ca. --- .../grokmirror/templates/grokmirror-update-repos.cron.j2 | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 roles/taskotron/grokmirror/templates/grokmirror-update-repos.cron.j2 diff --git a/roles/taskotron/grokmirror/templates/grokmirror-update-repos.cron.j2 b/roles/taskotron/grokmirror/templates/grokmirror-update-repos.cron.j2 new file mode 100644 index 0000000000..0efb115ec9 --- /dev/null +++ b/roles/taskotron/grokmirror/templates/grokmirror-update-repos.cron.j2 @@ -0,0 +1,6 @@ +### Update grokmirror repos + +{% for item in grokmirror_repos %} +# pull repo for {{ item.name }} +@hourly {{ grokmirror_user }} cd {{ grokmirror_basedir }}/{{ item.name }} && git fetch origin {{ grokmirror_default_branch }}:{{ grokmirror_default_branch }} +{% endfor %}