copr-builder: add default rpkg conf
This commit is contained in:
parent
d92ff97453
commit
064d1eee41
3 changed files with 21 additions and 0 deletions
|
@ -65,6 +65,9 @@
|
||||||
- name: put copr-rpmbuild configuration file in the right place
|
- name: put copr-rpmbuild configuration file in the right place
|
||||||
copy: src=files/main.ini dest=/etc/copr-rpmbuild/main.ini
|
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
|
- name: mockbuilder user
|
||||||
user: name=mockbuilder groups=mock
|
user: name=mockbuilder groups=mock
|
||||||
|
|
||||||
|
|
|
@ -142,6 +142,11 @@
|
||||||
tags:
|
tags:
|
||||||
- provision_config
|
- 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
|
- name: testing fixture
|
||||||
copy: dest="/home/copr/cloud/ec2rc.variable" content=""
|
copy: dest="/home/copr/cloud/ec2rc.variable" content=""
|
||||||
when: devel
|
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
|
Loading…
Add table
Add a link
Reference in a new issue