copr: idempotent alembic-3 upgrade head

This commit is contained in:
Jakub Kadlcik 2019-08-05 19:50:57 +02:00 committed by Pierre-Yves Chibon
parent 49d8fe9747
commit f2fd2eeeff
2 changed files with 9 additions and 0 deletions

View file

@ -88,6 +88,8 @@
become_user: copr-fe
args:
chdir: /usr/share/copr/coprs_frontend/
register: alembic_result
changed_when: alembic_result.stdout is search("Running upgrade")
# TODO: move production to lets-encrypt as well
- name: install ssl certificates for production

View file

@ -0,0 +1,7 @@
#!/bin/bash
# Purpose of this script is to be remotely executed from batcave01
# to collect user SAR data
# 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