taskotron: update yumrepoinfo on dev

The conditional is to be removed again once we deploy the same version
to stg and prod.
This commit is contained in:
Kamil Páral 2017-03-16 16:08:26 +01:00
parent 96bfa71b54
commit 0bcbbb96f0
2 changed files with 101 additions and 0 deletions

View file

@ -0,0 +1,96 @@
## A Taskotron configuration file representing available YUM repositories inside
## Fedora infrastructure.
## This file is in a ConfigParser syntax, very similar to INI syntax known from
## Windows.
## There is a guide describing how to update this file after important Fedora
## release events, please see:
## https://fedoraproject.org/wiki/How_to_update_yumrepoinfo.conf_in_Taskotron
[DEFAULT]
# URLs to yum repos
# Please note: 'download.fedoraproject.org' is a redirect that points you to a
# random mirror every time. For faster and more reliable operation, pick a close
# mirror from https://mirrors.fedoraproject.org and use it in 'baseurl' and 'baseurl_altarch'.
baseurl = http://infrastructure.fedoraproject.org/pub/fedora/linux
baseurl_altarch = http://infrastructure.fedoraproject.org/pub/fedora-secondary
goldurl = %(baseurl)s/releases/%(path)s/Everything/%(arch)s/os
updatesurl = %(baseurl)s/updates/%(path)s/%(arch)s
rawhideurl = %(baseurl)s/%(path)s/Everything/%(arch)s/os
# list of supported architectures
arches = i386, x86_64
# we need to know which of them are alternate architectures. For those, baseurl_altarch is used
# instead of baseurl.
alternate_arches = i386
# a direct parent of this repo, essential for operations (dependencies)
parent =
# koji tag defaults to section name
tag = %(__name__)s
# release_status can be one of: obsolete, stable, branched or rawhide
# for non-top-parent repos this is an empty string
release_status =
# Rawhide
[rawhide]
url = %(rawhideurl)s
path = development/rawhide
tag = f27
release_status = rawhide
# Fedora 26
[f26]
url = %(rawhideurl)s
path = development/26
release_status = branched
[f26-updates]
url = %(updatesurl)s
path = 26
parent = f26
[f26-updates-testing]
url = %(updatesurl)s
path = testing/26
parent = f26-updates
# Fedora 25
[f25]
url = %(goldurl)s
path = 25
release_status = stable
alternate_arches =
[f25-updates]
url = %(updatesurl)s
path = 25
parent = f25
alternate_arches =
[f25-updates-testing]
url = %(updatesurl)s
path = testing/25
parent = f25-updates
alternate_arches =
# Fedora 24
[f24]
url = %(goldurl)s
path = 24
release_status = stable
alternate_arches =
[f24-updates]
url = %(updatesurl)s
path = 24
parent = f24
alternate_arches =
[f24-updates-testing]
url = %(updatesurl)s
path = testing/24
parent = f24-updates
alternate_arches =

View file

@ -44,8 +44,13 @@
# hotfixing correct yumrepoinfo until libtaskotron is updated
- name: upload yumrepoinfo.conf
when: deployment_type in ['stg', 'prod']
copy: src=yumrepoinfo.conf dest=/etc/taskotron/yumrepoinfo.conf owner=root group=root mode=0644
- name: upload yumrepoinfo.conf
when: deployment_type in ['dev']
copy: src=yumrepoinfo-dev.conf dest=/etc/taskotron/yumrepoinfo.conf owner=root group=root mode=0644
- name: set baseurl of yumrepoinfo.conf
replace: dest=/etc/taskotron/yumrepoinfo.conf regexp='baseurl = http://download\.fedoraproject\.org/.*' replace='baseurl = http://infrastructure.fedoraproject.org/pub/fedora/linux'