Revert "bodhi: Temporarily remove compose check from upgrade script."
This reverts commit dcaecc106d
.
This commit is contained in:
parent
dcaecc106d
commit
87a906915c
1 changed files with 6 additions and 0 deletions
|
@ -12,6 +12,12 @@
|
||||||
shell: "curl https://bodhi{{env_suffix}}.fedoraproject.org/composes/"
|
shell: "curl https://bodhi{{env_suffix}}.fedoraproject.org/composes/"
|
||||||
register: composes
|
register: composes
|
||||||
|
|
||||||
|
- name: Fail if we found that a mash was in progress
|
||||||
|
fail:
|
||||||
|
msg: "There are composes in progress."
|
||||||
|
any_errors_fatal: true
|
||||||
|
when: "composes.stdout != '{\"composes\": []}' and env != 'staging'"
|
||||||
|
|
||||||
- name: push packages out
|
- name: push packages out
|
||||||
hosts: bodhi_backend:bodhi_backend_stg
|
hosts: bodhi_backend:bodhi_backend_stg
|
||||||
user: root
|
user: root
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue