copr-builder: install infra-tags-stg on staging builders
This commit is contained in:
parent
09c011ec4f
commit
df5ec4a008
3 changed files with 12 additions and 3 deletions
|
@ -40,6 +40,7 @@
|
|||
vars:
|
||||
# pass this options if you need to create new base image from snapshot
|
||||
#prepare_base_image: True
|
||||
env: "{{ env }}"
|
||||
|
||||
tasks:
|
||||
- include: "provision_builder_tasks.yml"
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
[infrastructure-tags-stg]
|
||||
name=Fedora Infrastructure staging tag $releasever - $basearch
|
||||
baseurl=https://kojipkgs.fedoraproject.org/repos-dist/f$releasever-infra-stg/latest/$basearch/
|
||||
enabled=1
|
||||
gpgcheck=1
|
||||
gpgkey=https://infrastructure.fedoraproject.org/repo/infra/RPM-GPG-KEY-INFRA-TAGS
|
|
@ -1,7 +1,9 @@
|
|||
- name: put infra repos into yum.repos.d
|
||||
copy: src=files/dnf/{{ item }} dest=/etc/yum.repos.d
|
||||
with_items:
|
||||
- infra-tags.repo
|
||||
copy: src=files/dnf/infra-tags.repo dest=/etc/yum.repos.d
|
||||
|
||||
- name: put infra stg repos into yum.repos.d if staging
|
||||
copy: src=files/dnf/infra-tags-stg.repo dest=/etc/yum.repos.d
|
||||
when: env == "staging"
|
||||
|
||||
- name: disable updates-testing
|
||||
file:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue