mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-27 12:03:38 +08:00
copr-builder: add default rpkg conf
This commit is contained in:
@@ -65,6 +65,9 @@
|
||||
- name: put copr-rpmbuild configuration file in the right place
|
||||
copy: src=files/main.ini dest=/etc/copr-rpmbuild/main.ini
|
||||
|
||||
- name: put rpkg configuration file in the right place
|
||||
copy: src=files/rpkg.conf dest=/etc/rpkg.conf
|
||||
|
||||
- name: mockbuilder user
|
||||
user: name=mockbuilder groups=mock
|
||||
|
||||
|
||||
@@ -142,6 +142,11 @@
|
||||
tags:
|
||||
- provision_config
|
||||
|
||||
- name: put rpkg configuration file into the provision subdir
|
||||
template: src="provision/rpkg.conf.j2" dest="/home/copr/provision/files/rpkg.conf" owner=copr group=copr
|
||||
tags:
|
||||
- provision_config
|
||||
|
||||
- name: testing fixture
|
||||
copy: dest="/home/copr/cloud/ec2rc.variable" content=""
|
||||
when: devel
|
||||
|
||||
13
roles/copr/backend/templates/provision/rpkg.conf.j2
Normal file
13
roles/copr/backend/templates/provision/rpkg.conf.j2
Normal file
@@ -0,0 +1,13 @@
|
||||
[rpkg]
|
||||
preprocess_spec = True
|
||||
|
||||
# auto-packing is deprecated:
|
||||
auto_pack = True
|
||||
|
||||
base_output_path = /tmp/rpkg
|
||||
|
||||
[git]
|
||||
lookaside = https://src.fedoraproject.org/repo/pkgs/%(ns1)s/%(name)s/%(filename)s/%(hashtype)s/%(hash)s/%(filename)s
|
||||
lookaside_cgi = https://src.fedoraproject.org/repo/pkgs/upload.cgi
|
||||
gitbaseurl = ssh://%(user)s@pkgs.fedoraproject.org/%(module)s
|
||||
anongiturl = https://src.fedoraproject.org/%(module)s
|
||||
Reference in New Issue
Block a user