taskotron-trigger: download initial critpath file
This commit is contained in:
parent
9f8bb2dd44
commit
19ff1b3703
2 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
trigger_joblog_file: /var/log/taskotron-trigger/jobs.csv
|
trigger_joblog_file: /var/log/taskotron-trigger/jobs.csv
|
||||||
trigger_critpath_file: /var/lib/taskotron-trigger/critpath_whitelist
|
trigger_critpath_file: /var/lib/taskotron-trigger/critpath_whitelist
|
||||||
|
trigger_critpath_url: https://admin.fedoraproject.org/pkgdb/api/critpath?format=json
|
||||||
trigger_cache_dir: /var/lib/taskotron-trigger/cache
|
trigger_cache_dir: /var/lib/taskotron-trigger/cache
|
||||||
extra_enablerepos: ''
|
extra_enablerepos: ''
|
||||||
|
|
|
@ -40,12 +40,15 @@
|
||||||
notify:
|
notify:
|
||||||
- restart crond
|
- restart crond
|
||||||
|
|
||||||
|
- name: download critpath list
|
||||||
|
get_url: url={{ trigger_critpath_url }} dest={{ trigger_critpath_file }} mode=0644 owner=fedmsg group=fedmsg
|
||||||
|
|
||||||
- name: create a cronjob to download crithpath list as a task-libabigail whitelist
|
- name: create a cronjob to download crithpath list as a task-libabigail whitelist
|
||||||
cron:
|
cron:
|
||||||
name="download crithpath list"
|
name="download crithpath list"
|
||||||
special_time=daily
|
special_time=daily
|
||||||
user=fedmsg
|
user=fedmsg
|
||||||
job="wget -O {{ trigger_critpath_file }} https://admin.fedoraproject.org/pkgdb/api/critpath?format=json"
|
job="wget -O {{ trigger_critpath_file }} {{ trigger_critpath_url }}"
|
||||||
when: deployment_type in ['dev']
|
when: deployment_type in ['dev']
|
||||||
|
|
||||||
- name: create a cronjob to clear distgit cache
|
- name: create a cronjob to clear distgit cache
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue