Replace old testing repo name with new tags-stg repo name.

This commit is contained in:
Ralph Bean 2017-09-26 15:00:57 +00:00
parent 601d134f8c
commit fdbd630824
18 changed files with 44 additions and 44 deletions

View file

@ -9,13 +9,13 @@
- include: "{{ handlers_path }}/restart_services.yml"
tasks:
- name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%}
check_mode: no
- name: yum update anitya packages from main repo
yum: name="anitya" state=latest
when: not testing
- name: yum update anitya packages from testing repo
yum: name="anitya" state=latest enablerepo=infrastructure-testing
yum: name="anitya" state=latest enablerepo=infrastructure-tags-stg
when: testing
- name: verify the frontend

View file

@ -18,7 +18,7 @@
dnf: name="autocloud*" state=latest
when: not testing
- name: dnf update autocloud packages from testing repo
dnf: name="autocloud*" state=latest enablerepo=infrastructure-testing
dnf: name="autocloud*" state=latest enablerepo=infrastructure-tags-stg
when: testing
- name: update tunir
@ -38,7 +38,7 @@
dnf: name="tunir" state=latest
when: not testing
- name: dnf update tunir packages from testing repo
dnf: name="tunir" state=latest enablerepo=infrastructure-testing
dnf: name="tunir" state=latest enablerepo=infrastructure-tags-stg
when: testing
- name: update fedfind
@ -58,7 +58,7 @@
dnf: name="fedfind" state=latest
when: not testing
- name: dnf update fedfind packages from testing repo
dnf: name="fedfind" state=latest enablerepo=infrastructure-testing
dnf: name="fedfind" state=latest enablerepo=infrastructure-tags-stg
when: testing
- name: verify the frontend and stop it

View file

@ -12,7 +12,7 @@
tasks:
- name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%}
check_mode: no
- name: yum update tahrir/badges packages from main repo
yum: name={{item}} state=latest
@ -21,7 +21,7 @@
- python-tahrir
- python-tahrir-api
- name: yum update tahrir/badges packages from testing repo
yum: name={{item}} state=latest enablerepo=infrastructure-testing
yum: name={{item}} state=latest enablerepo=infrastructure-tags-stg
when: testing
with_items:
- python-tahrir
@ -41,7 +41,7 @@
tasks:
- name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%}
check_mode: no
- name: yum update tahrir/badges packages from main repo
yum: name={{item}} state=latest
@ -50,7 +50,7 @@
- python-fedbadges
- python-tahrir-api
- name: yum update tahrir/badges packages from testing repo
yum: name={{item}} state=latest enablerepo=infrastructure-testing
yum: name={{item}} state=latest enablerepo=infrastructure-tags-stg
when: testing
with_items:
- python-fedbadges

View file

@ -12,13 +12,13 @@
tasks:
- name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%}
always_run: yes
- name: yum update bugyou packages from main repo
yum: name="bugyou*" state=latest
when: not testing
- name: yum update bugyou packages from testing repo
yum: name="bugyou*" state=latest enablerepo=infrastructure-testing
yum: name="bugyou*" state=latest enablerepo=infrastructure-tags-stg
when: testing
- name: verify the backends, stop them, and then upgrade the db

View file

@ -12,13 +12,13 @@
tasks:
- name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%}
check_mode: no
- name: yum update bugzilla2fedmsg packages from main repo
yum: name="python-bugzilla2fedmsg" state=latest
when: not testing
- name: yum update bugzilla2fedmsg packages from testing repo
yum: name="python-bugzilla2fedmsg" state=latest enablerepo=infrastructure-testing
yum: name="python-bugzilla2fedmsg" state=latest enablerepo=infrastructure-tags-stg
when: testing
- name: verify the backend and restart it

View file

@ -12,13 +12,13 @@
tasks:
- name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%}
check_mode: no
- name: yum update datagrepper packages from main repo
yum: name="datagrepper" state=latest
when: not testing
- name: yum update datagrepper packages from testing repo
yum: name="datagrepper" state=latest enablerepo=infrastructure-testing
yum: name="datagrepper" state=latest enablerepo=infrastructure-tags-stg
when: testing
- name: verify the config and restart it

View file

@ -20,13 +20,13 @@
tasks:
- name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%}
check_mode: no
- name: yum update datanommer packages from main repo
yum: name="*datanommer*" state=latest
when: not testing
- name: yum update datanommer packages from testing repo
yum: name="*datanommer*" state=latest enablerepo=infrastructure-testing
yum: name="*datanommer*" state=latest enablerepo=infrastructure-tags-stg
when: testing
- name: verify the badges backend and stop it

View file

@ -12,7 +12,7 @@
tasks:
- name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%}
check_mode: no
- name: yum update fedimg packages from main repo
yum: name="python-fedimg" state=latest
@ -21,7 +21,7 @@
yum: name="fedfind" state=latest
when: not testing
- name: yum update fedimg packages from testing repo
yum: name="python-fedimg" state=latest enablerepo=infrastructure-testing
yum: name="python-fedimg" state=latest enablerepo=infrastructure-tags-stg
when: testing
- name: yum update libcloud from testing repo
yum: name="python2-libcloud" state=latest enablerepo=epel-testing

View file

@ -37,14 +37,14 @@
tasks:
- name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%}
check_mode: no
- name: yum update fedmsg packages from the main repo
yum: name={{item}} state=latest
when: not testing
with_items: "{{packages}}"
- name: yum update fedmsg packages from testing repo
yum: name={{item}} state=latest enablerepo=infrastructure-testing
yum: name={{item}} state=latest enablerepo=infrastructure-tags-stg
when: testing
with_items: "{{packages}}"

View file

@ -12,13 +12,13 @@
tasks:
- name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%}
check_mode: no
- name: yum update FMN packages from main repo
yum: name="python-fmn" state=latest
when: not testing
- name: yum update FMN packages from testing repo
yum: pkg=python-fmn state=latest enablerepo=infrastructure-testing
yum: pkg=python-fmn state=latest enablerepo=infrastructure-tags-stg
when: testing
- name: yum update FMN packages from testing repo
yum: pkg=python-fmn state=latest enablerepo=epel-testing

View file

@ -12,13 +12,13 @@
tasks:
- name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%}
check_mode: no
- name: yum update hotness packages from main repo
yum: name="the-new-hotness" state=latest
when: not testing
- name: yum update hotness packages from testing repo
yum: name="the-new-hotness" state=latest enablerepo=infrastructure-testing
yum: name="the-new-hotness" state=latest enablerepo=infrastructure-tags-stg
when: testing
- name: verify the backend and restart it

View file

@ -12,7 +12,7 @@
tasks:
- name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%}
check_mode: no
- name: yum update mbs packages from main repo
yum: name={{item}} state=latest
@ -21,7 +21,7 @@
- module-build-service
- python-modulemd
- name: yum update mbs packages from testing repo
yum: name={{item}} state=latest enablerepo=infrastructure-testing
yum: name={{item}} state=latest enablerepo=infrastructure-tags-stg
when: testing
with_items:
- module-build-service
@ -41,7 +41,7 @@
tasks:
- name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%}
check_mode: no
- name: yum update mbs packages from main repo
yum: name={{item}} state=latest
@ -50,7 +50,7 @@
- module-build-service
- python-modulemd
- name: yum update mbs packages from testing repo
yum: name={{item}} state=latest enablerepo=infrastructure-testing
yum: name={{item}} state=latest enablerepo=infrastructure-tags-stg
when: testing
with_items:
- module-build-service

View file

@ -12,13 +12,13 @@
tasks:
- name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%}
check_mode: no
- name: yum update mote packages from main repo
yum: name="mote" state=latest
when: not testing
- name: yum update mote packages from testing repo
yum: name="mote" state=latest enablerepo=infrastructure-testing
yum: name="mote" state=latest enablerepo=infrastructure-tags-stg
when: testing
- name: verify the config and restart it

View file

@ -12,8 +12,8 @@
- include: "{{ handlers_path }}/restart_services.yml"
tasks:
- name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%}
- name: clean all metadata {%if testing%}(with infrastructure-tags-stg on){%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%}
check_mode: no
- name: yum update odcs packages from main repo
yum: name={{item}} state=latest
@ -21,7 +21,7 @@
with_items:
- odcs
- name: yum update odcs packages from testing repo
yum: name={{item}} state=latest enablerepo=infrastructure-testing
yum: name={{item}} state=latest enablerepo=infrastructure-tags-stg
when: testing
with_items:
- odcs
@ -40,8 +40,8 @@
- include: "{{ handlers_path }}/restart_services.yml"
tasks:
- name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%}
- name: clean all metadata {%if testing%}(with infrastructure-tags-stg on){%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%}
check_mode: no
- name: yum update odcs packages from main repo
yum: name={{item}} state=latest
@ -49,7 +49,7 @@
with_items:
- odcs
- name: yum update odcs packages from testing repo
yum: name={{item}} state=latest enablerepo=infrastructure-testing
yum: name={{item}} state=latest enablerepo=infrastructure-tags-stg
when: testing
with_items:
- odcs

View file

@ -12,13 +12,13 @@
tasks:
- name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%}
check_mode: no
- name: yum update fedora-packages packages from main repo
yum: name="fedora-packages" state=latest
when: not testing
- name: yum update fedora-packages packages from testing repo
yum: name="fedora-packages" state=latest enablerepo=infrastructure-testing
yum: name="fedora-packages" state=latest enablerepo=infrastructure-tags-stg
when: testing
- name: verify the config and restart it

View file

@ -35,7 +35,7 @@
- name: yum update pagure* packages from testing repo
yum: name="pagure*"
state=latest
enablerepo=infrastructure-testing
enablerepo=infrastructure-tags-stg
update_cache=yes
when: testing

View file

@ -12,13 +12,13 @@
tasks:
- name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%}
check_mode: no
- name: yum update statscache packages from main repo
yum: name="statscache*" state=latest
when: not testing
- name: yum update statscache packages from testing repo
yum: name="statscache*" state=latest enablerepo=infrastructure-testing
yum: name="statscache*" state=latest enablerepo=infrastructure-tags-stg
when: testing
- name: verify the frontend and stop it

View file

@ -12,13 +12,13 @@
tasks:
- name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%}
check_mode: no
- name: yum update fedora-tagger packages from main repo
yum: name="fedora-tagger" state=latest
when: not testing
- name: yum update fedora-tagger packages from testing repo
yum: name="fedora-tagger" state=latest enablerepo=infrastructure-testing
yum: name="fedora-tagger" state=latest enablerepo=infrastructure-tags-stg
when: testing
- name: verify the config and restart it