copr: fe: all ./manage.py commands now use '-' instead of '_'
Disable running against production for now; conditionalizing all of this would be huge pain - so let's wait a day before we re-enable.
This commit is contained in:
parent
57dce9aa0c
commit
967f0630ad
3 changed files with 8 additions and 6 deletions
|
@ -5,6 +5,6 @@
|
|||
# $ dnf diff copr-frontend /etc/cron.daily/copr-frontend-optional
|
||||
# to see our changes, and perhaps update when appropriate.
|
||||
|
||||
runuser -c 'copr-frontend notify_outdated_chroots' - copr-fe
|
||||
runuser -c 'copr-frontend delete_outdated_chroots' - copr-fe
|
||||
runuser -c 'copr-frontend notify-outdated-chroots' - copr-fe
|
||||
runuser -c 'copr-frontend delete-outdated-chroots' - copr-fe
|
||||
/usr/bin/bash /usr/libexec/copr_dump_db.sh /var/www/html/db_dumps/
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
---
|
||||
- fail: msg='not ready for production ATM'
|
||||
when: not devel
|
||||
|
||||
- import_tasks: "mount_fs.yml"
|
||||
|
||||
- name: register security context for pgsql directory
|
||||
|
@ -119,9 +122,8 @@
|
|||
when: devel|bool
|
||||
copy: src=robots.txt dest=/var/www/html/
|
||||
|
||||
|
||||
- name: register whether indexes rebuild is required
|
||||
command: copr-frontend update_indexes_required
|
||||
command: copr-frontend update-indexes-required
|
||||
become: yes
|
||||
become_user: copr-fe
|
||||
register: update_indexes_required_result
|
||||
|
@ -129,7 +131,7 @@
|
|||
failed_when: False
|
||||
|
||||
- name: rebuild indexes
|
||||
command: ./manage.py update_indexes
|
||||
command: ./manage.py update-indexes
|
||||
become: yes
|
||||
become_user: copr-fe
|
||||
args:
|
||||
|
|
|
@ -4,4 +4,4 @@
|
|||
# Read more: http://fedora-infra-docs.readthedocs.io/en/latest/sysadmin-guide/sops/gdpr_sar.html
|
||||
# Playbook: https://infrastructure.fedoraproject.org/cgit/ansible.git/tree/playbooks/manual/gdpr/sar.yml
|
||||
# Usage: SAR_USERNAME=someusername /home/fedora/copr-gdpr-sar.sh
|
||||
copr-frontend dump_user $SAR_USERNAME
|
||||
copr-frontend dump-user $SAR_USERNAME
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue