copr-builder: enable and infra-stg repo @copr/copr-dev on staging builders

...also remove commented out swapon /dev/vda lines as the /dev/vdb is
already used as swap in the f27 images
This commit is contained in:
clime 2017-12-15 12:48:46 +01:00
parent d194394dc4
commit 82098b02b6
3 changed files with 11 additions and 4 deletions

View file

@ -37,6 +37,9 @@
sudo: True
user: fedora
vars_files:
- nova_cloud_vars.yml
vars:
# pass this options if you need to create new base image from snapshot
#prepare_base_image: True

View file

@ -37,14 +37,14 @@
sudo: True
user: fedora
vars_files:
- nova_cloud_vars.yml
vars:
# pass this options if you need to create new base image from snapshot
#prepare_base_image: True
tasks:
#- name: swap on /dev/vda 100GB volume for tmpfs mock plugin
#command: swapon /dev/vda
- include: "provision_builder_tasks.yml"
- name: disable offloading

View file

@ -3,7 +3,7 @@
- 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: ansible_hostname == "copr-be-dev"
when: network_name == "coprdev-net"
- name: disable updates-testing
file:
@ -44,6 +44,10 @@
- name: disable @copr/copr explicitly
shell: dnf copr -y disable @copr/copr
- name: enable @copr/copr-dev in staging
copy: dnf copr -y enable @copr/copr-dev
when: network_name == "coprdev-net"
- name: make sure newest rpm
dnf: state=latest pkg={{ item }}
with_items: