copr-backend: revert temporarily disabled tasks
See https://pagure.io/fedora-infrastructure/issue/11336 This reverts commit3c00832230
. This reverts commitccab97a1ca
.
This commit is contained in:
parent
ee7d388632
commit
5d50343254
1 changed files with 28 additions and 37 deletions
|
@ -192,36 +192,28 @@
|
||||||
# tags:
|
# tags:
|
||||||
# - provision_config
|
# - provision_config
|
||||||
#
|
#
|
||||||
|
- name: calculate the maximum resalloc workers per architecture
|
||||||
|
set_fact: "max_{{ item }}_workers={{ builders | community.general.json_query('*.'+item+'[0]') | sum() }}"
|
||||||
|
with_items:
|
||||||
|
- aarch64
|
||||||
|
- ppc64le
|
||||||
|
- x86_64
|
||||||
|
- s390x
|
||||||
|
tags:
|
||||||
|
- provision_config
|
||||||
|
|
||||||
|
- name: calculate max number of workers
|
||||||
|
set_fact: "max_workers={{ max_x86_64_workers|int + max_aarch64_workers|int + max_ppc64le_workers|int + max_s390x_workers|int }}"
|
||||||
|
tags:
|
||||||
|
- provision_config
|
||||||
|
|
||||||
# We need to temporarily comment the following few tasks. They fail
|
- name: print max arch workers
|
||||||
# because the `python3-jmespath` on batcave is provided older python
|
debug: "var=max_{{ item }}_workers"
|
||||||
# version than we need.
|
with_items:
|
||||||
# See https://pagure.io/fedora-infrastructure/issue/11336
|
- x86_64
|
||||||
#
|
- aarch64
|
||||||
# - name: calculate the maximum resalloc workers per architecture
|
tags:
|
||||||
# set_fact: "max_{{ item }}_workers={{ builders | community.general.json_query('*.'+item+'[0]') | sum() }}"
|
- provision_config
|
||||||
# with_items:
|
|
||||||
# - aarch64
|
|
||||||
# - ppc64le
|
|
||||||
# - x86_64
|
|
||||||
# - s390x
|
|
||||||
# tags:
|
|
||||||
# - provision_config
|
|
||||||
#
|
|
||||||
# - name: calculate max number of workers
|
|
||||||
# set_fact: "max_workers={{ max_x86_64_workers|int + max_aarch64_workers|int + max_ppc64le_workers|int + max_s390x_workers|int }}"
|
|
||||||
# tags:
|
|
||||||
# - provision_config
|
|
||||||
#
|
|
||||||
# - name: print max arch workers
|
|
||||||
# debug: "var=max_{{ item }}_workers"
|
|
||||||
# with_items:
|
|
||||||
# - x86_64
|
|
||||||
# - aarch64
|
|
||||||
# tags:
|
|
||||||
# - provision_config
|
|
||||||
|
|
||||||
|
|
||||||
- name: resalloc
|
- name: resalloc
|
||||||
import_tasks: resalloc.yml
|
import_tasks: resalloc.yml
|
||||||
|
@ -261,15 +253,14 @@
|
||||||
copy: dest="/home/copr/cloud/ec2rc.variable" content=""
|
copy: dest="/home/copr/cloud/ec2rc.variable" content=""
|
||||||
when: devel|bool
|
when: devel|bool
|
||||||
|
|
||||||
# See https://pagure.io/fedora-infrastructure/issue/11336
|
- name: copy copr-be.conf
|
||||||
# - name: copy copr-be.conf
|
template: src="copr-be.conf.j2" dest=/etc/copr/copr-be.conf owner=root group=copr mode=640
|
||||||
# template: src="copr-be.conf.j2" dest=/etc/copr/copr-be.conf owner=root group=copr mode=640
|
notify:
|
||||||
# notify:
|
- restart copr-backend
|
||||||
# - restart copr-backend
|
tags:
|
||||||
# tags:
|
- config
|
||||||
# - config
|
- copr_infrastructure_password
|
||||||
# - copr_infrastructure_password
|
- provision_config
|
||||||
# - provision_config
|
|
||||||
|
|
||||||
- name: create messaging config directory
|
- name: create messaging config directory
|
||||||
file: dest=/etc/copr/msgbuses state=directory owner=copr group=copr mode=0700
|
file: dest=/etc/copr/msgbuses state=directory owner=copr group=copr mode=0700
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue