[ansible] Add simple-koji-ci
by Nicolas Chauvet
commit cedf28fe2064e3d0d1809494471e910fb04bb2b7
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Dec 21 15:40:35 2018 +0100
Add simple-koji-ci
roles/simple-koji-ci/tasks/main.yml | 54 +++++++++++++++++
roles/simple-koji-ci/templates/endpoints.py | 36 +++++++++++
roles/simple-koji-ci/templates/simple_koji_ci.py | 69 ++++++++++++++++++++++
3 files changed, 159 insertions(+), 0 deletions(-)
---
diff --git a/roles/simple-koji-ci/tasks/main.yml b/roles/simple-koji-ci/tasks/main.yml
new file mode 100644
index 0000000..ae072ce
--- /dev/null
+++ b/roles/simple-koji-ci/tasks/main.yml
@@ -0,0 +1,54 @@
+---
+# Configuration for simple-koji-ci
+
+- name: install needed packages
+ package: name={{ item }} state=present
+ with_items:
+ - simple-koji-ci
+ - python-qpid
+ - koji
+ - git
+ - fedpkg
+ - mock
+ tags:
+ - packages
+ - simple-koji-ci
+
+- name: copy simple-koji-ci configuration
+ template: src={{ item.file }}
+ dest={{ item.location }}/{{ item.file }}
+ owner=root group=fedmsg mode=0640
+ with_items:
+ - { file: simple_koji_ci.py, location: /etc/fedmsg.d }
+ - { file: endpoints.py, location: /etc/fedmsg.d }
+ changed_when: "1 != 1"
+ tags:
+ - config
+ - simple-koji-ci
+ notify:
+ - restart fedmsg-hub
+
+- user:
+ name: fedmsg
+ groups: mock
+ append: yes
+ tags:
+ - config
+ - simple-koji-ci
+
+- name: Create /usr/share/fedmsg since apparently fedmsg doesn't do it anymore
+ file: state=directory
+ path=/usr/share/fedmsg
+ owner=fedmsg group=fedmsg mode=0775
+ tags:
+ - config
+ - simple-koji-ci
+
+- name: Start and enable the services we want
+ service: name={{ item }} enabled=yes state=started
+ with_items:
+ - fedmsg-hub
+ tags:
+ - service
+ - simple-koji-ci
+
diff --git a/roles/simple-koji-ci/templates/endpoints.py b/roles/simple-koji-ci/templates/endpoints.py
new file mode 100644
index 0000000..da1c5ef
--- /dev/null
+++ b/roles/simple-koji-ci/templates/endpoints.py
@@ -0,0 +1,36 @@
+# This file is part of fedmsg.
+# Copyright (C) 2012 Red Hat, Inc.
+#
+# fedmsg is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# fedmsg is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with fedmsg; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+#
+# Authors: Ralph Bean <rbean(a)redhat.com>
+#
+config = dict(
+ # This is a dict of possible addresses from which fedmsg can send
+ # messages. fedmsg.init(...) requires that a 'name' argument be passed
+ # to it which corresponds with one of the keys in this dict.
+ endpoints={
+ # These are here so your local box can listen to the upstream
+ # infrastructure's bus. Cool, right? :)
+ "fedora-infrastructure": [
+ {% if env == 'staging' %}
+ "tcp://stg.fedoraproject.org:9940",
+ {% else %}
+ "tcp://hub.fedoraproject.org:9940",
+ {% endif %}
+ ],
+ },
+)
+
diff --git a/roles/simple-koji-ci/templates/simple_koji_ci.py b/roles/simple-koji-ci/templates/simple_koji_ci.py
new file mode 100644
index 0000000..62896a9
--- /dev/null
+++ b/roles/simple-koji-ci/templates/simple_koji_ci.py
@@ -0,0 +1,69 @@
+config = {
+ 'simple-koji-ci.enabled': True,
+
+ 'simple-koji-ci.koji': {
+ {% if env == 'staging' %}
+ 'server': 'https://koji.stg.rpmfusion.org/kojihub',
+ 'weburl': 'https://koji.stg.rpmfusion.org/koji',
+ 'git_url': 'https://pkgs.rpmfusion.org/git/free/{package}.git',
+ 'krb_principal': 'simple-koji-ci/simple-koji-ci-dev.fedorainfracloud.org(a)STG.FEDORAPROJECT.ORG',
+ 'krb_keytab': '/etc/krb5.simple-koji-ci_simple-koji-ci-dev.fedorainfracloud.org.keytab',
+ {% else %}
+ 'server': 'https://koji.rpmfusion.org/kojihub',
+ 'weburl': 'https://koji.rpmfusion.org/koji',
+ 'git_url': 'https://pkgs.rpmfusion.org/git/free/{package}.git',
+ 'krb_principal': 'simple-koji-ci/simple-koji-ci-prod.fedorainfracloud.org(a)FEDORAPROJECT.ORG',
+ 'krb_keytab': '/etc/krb5.simple-koji-ci_simple-koji-ci-prod.fedorainfracloud.org.keytab',
+ {% endif %}
+ # Kerberos configuration to authenticate with Koji. In development
+ # environments, use `kinit <fas-name>@FEDORAPROJECT.ORG` to get a
+ # Kerberos ticket and use the default settings below.
+ 'krb_ccache': None,
+ 'krb_proxyuser': None,
+ 'krb_sessionopts': {'timeout': 3600, 'krb_rdns': False},
+ 'opts': {'scratch': True},
+ 'priority': 30,
+ 'target_tags': {
+ 'master': 'rawhide',
+ 'f29': 'f29',
+ 'f28': 'f28',
+ 'el7': 'el7',
+ 'el6': 'el6',
+ }
+
+ },
+
+ "simple-koji-ci.cache": {
+ "backend": "dogpile.cache.dbm",
+ "expiration_time": 300,
+ "arguments": {
+ "filename": "/var/tmp/simple-koji-ci-cache.dbm",
+ },
+ },
+
+ {% if env == 'staging' %}
+ "simple-koji-ci.pagure_url" : "https://src.stg.fedoraproject.org",
+ "simple-koji-ci.pagure_token" : "{{ simple_koji_ci_pagure_token_stg }}",
+ {% endif %}
+
+ # The time in seconds the-new-hotness should wait for a socket to connect
+ # before giving up.
+ 'simple-koji-ci.connect_timeout': 15,
+ # The time in seconds the-new-hotness should wait for a read from a socket
+ # before giving up.
+ 'simple-koji-ci.read_timeout': 15,
+ # The number of times the-new-hotness should retry a network request that
+ # that failed for any reason (e.g. read timeout, DNS error, etc)
+ 'simple-koji-ci.requests_retries': 3,
+
+ "logging": {
+ "loggers": {
+ "simple_koji_ci": {
+ "level": "DEBUG",
+ "propagate": True,
+ "handlers": ["console"],
+ },
+ },
+ }
+
+}
5 years, 11 months
[ansible] Add wip hotness
by Nicolas Chauvet
commit f099abbdd85cccd766084e04f3f547f0265bb98a
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Dec 21 15:40:00 2018 +0100
Add wip hotness
roles/hotness/files/rpmmacros | 5 ++
roles/hotness/files/yumconfig | 35 ++++++++++++
roles/hotness/tasks/main.yml | 84 ++++++++++++++++++++++++++++
roles/hotness/templates/hotness.py | 108 ++++++++++++++++++++++++++++++++++++
4 files changed, 232 insertions(+), 0 deletions(-)
---
diff --git a/roles/hotness/files/rpmmacros b/roles/hotness/files/rpmmacros
new file mode 100644
index 0000000..218a52a
--- /dev/null
+++ b/roles/hotness/files/rpmmacros
@@ -0,0 +1,5 @@
+# rpmmacros for the-new-hotness to build source rpms in place in /var/tmp/
+
+%_topdir .
+%_sourcedir .
+%_srcrpmdir .
diff --git a/roles/hotness/files/yumconfig b/roles/hotness/files/yumconfig
new file mode 100644
index 0000000..205622c
--- /dev/null
+++ b/roles/hotness/files/yumconfig
@@ -0,0 +1,35 @@
+[main]
+cachedir=/var/cache/yum-hotness/$basearch/$releasever
+keepcache=0
+debuglevel=2
+logfile=/var/log/yum-hotness.log
+exactarch=1
+obsoletes=1
+gpgcheck=1
+plugins=1
+installonly_limit=3
+
+# It is usually 90m. We'll expire often..
+metadata_expire=5m
+
+# We have three repos to query...
+[rawhide-x86_64]
+name=Rawhide x86_64
+failovermethod=priority
+baseurl=https://kojipkgs.fedoraproject.org/repos/rawhide/latest/x86_64/
+enabled=1
+gpgcheck=0
+
+[rawhide-i386]
+name=Rawhide i386
+failovermethod=priority
+baseurl=https://kojipkgs.fedoraproject.org/repos/rawhide/latest/i386/
+enabled=1
+gpgcheck=0
+
+[rawhide-armhfp]
+name=Rawhide armhfp
+failovermethod=priority
+baseurl=https://kojipkgs.fedoraproject.org/repos/rawhide/latest/armhfp/
+enabled=1
+gpgcheck=0
diff --git a/roles/hotness/tasks/main.yml b/roles/hotness/tasks/main.yml
new file mode 100644
index 0000000..846da3e
--- /dev/null
+++ b/roles/hotness/tasks/main.yml
@@ -0,0 +1,84 @@
+---
+# Configuration for the the-new-hotness consumer
+#
+- name: install rebase helper from epel-testing
+ package: name={{ item }} state=present enablerepo=epel-testing
+ with_items:
+ - rebase-helper
+ tags:
+ - packages
+ - hotness
+
+- name: install needed packages
+ package: name={{ item }} state=present
+ with_items:
+ - the-new-hotness
+ - python-psycopg2
+ - python-sh
+ - koji
+ - fedpkg
+ - git
+ - rpmdevtools # Note that we hotfix rpmdev-bumpspec on top of this
+ tags:
+ - packages
+ - hotness
+
+- name: hotfix rpmdev-bumpspec to a copy from rpmdevtools-8.5-1
+ copy: src=hotfix/rpmdev-bumpspec dest=/usr/bin/rpmdev-bumpspec
+ tags:
+ - hotfix
+ - hotness
+
+- name: copy hotness fedmsg configuration
+ template: >
+ src={{ item }} dest=/etc/fedmsg.d/{{ item }}
+ owner=fedmsg group=fedmsg mode=0600
+ with_items:
+ - hotness.py
+ notify:
+ - restart fedmsg-hub
+ tags:
+ - config
+ - hotness
+
+- name: install hotness.pem koji key and cert
+ copy: >
+ src="{{ private }}/files/hotness_key_and_cert.pem"
+ dest="/etc/pki/fedmsg/hotness.pem"
+ owner=fedmsg
+ group=fedmsg
+ mode=0400
+ tags:
+ - config
+ - hotness
+
+- name: install koji ca cert
+ copy: >
+ src="{{ private }}/files/fedora-ca.cert"
+ dest="/etc/pki/fedmsg/{{ item }}"
+ owner=root
+ group=root
+ mode=0644
+ with_items:
+ - fedora-server-ca.cert
+ - fedora-upload-ca.cert
+ tags:
+ - config
+ - hotness
+
+- name: Copy over a yum config for repoquery
+ copy: src=yumconfig dest=/etc/hotness-yum.conf
+ tags:
+ - config
+ - hotness
+
+- name: Copy over rpmmacros configuration
+ copy: src=rpmmacros dest=/etc/rpm/macros.hotness
+ tags:
+ - config
+ - hotness
+
+- name: Drop old /usr/share/fedmsg (once used for bugzilla cookies...)
+ file: dest=/usr/share/fedmsg state=absent
+ tags:
+ - hotness
diff --git a/roles/hotness/templates/hotness.py b/roles/hotness/templates/hotness.py
new file mode 100644
index 0000000..653a2a2
--- /dev/null
+++ b/roles/hotness/templates/hotness.py
@@ -0,0 +1,108 @@
+import os
+import socket
+hostname = socket.gethostname().split('.', 1)[0]
+
+description_template = """Latest upstream release: %(latest_upstream)s
+Current version/release in %(repo_name)s: %(repo_version)s-%(repo_release)s
+URL: %(url)s
+
+Please consult the package updates policy before you issue an update to a stable branch: https://fedoraproject.org/wiki/Updates_Policy
+
+More information about the service that created this bug can be found at: %(explanation_url)s
+
+Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.
+
+Based on the information from anitya: https://release-monitoring.org/project/%(projectid)s/
+"""
+
+config = {
+ {% if env == 'staging' %}
+ # Establish a loop from prod anitya back into the staging hotness.
+ 'endpoints': {
+ 'anitya-public-relay': [
+ 'tcp://release-monitoring.org:9940',
+ ],
+ },
+ {% endif %}
+
+ 'hotness.bugzilla.enabled': True,
+
+ 'hotness.bugzilla': {
+ 'user': '{{ upstream_release_bugzilla_user }}',
+ 'password': '{{ upstream_release_bugzilla_password }}',
+{% if env == 'staging' %}
+ 'url': 'https://bugzilla.rpmfusion.org',
+ 'explanation_url': 'https://stg.fedoraproject.org/wiki/Upstream_release_monitoring',
+{% else %}
+ 'url': 'https://bugzilla.rpmfusion.org',
+ 'explanation_url': 'https://fedoraproject.org/wiki/Upstream_release_monitoring',
+{% endif %}
+ 'product': 'Fedora',
+ 'version': 'rawhide',
+ 'keywords': 'FutureFeature,Triaged',
+ 'bug_status': 'NEW',
+ 'short_desc_template': "%(name)s-%(latest_upstream)s is available",
+ 'description_template': description_template,
+ },
+
+ 'hotness.koji': {
+{% if env == 'staging' %}
+ 'server': 'https://koji.stg.rpmfusion.org/kojihub',
+ 'weburl': 'https://koji.stg.rpmfusion.org/koji',
+{% else %}
+ 'server': 'https://koji.rpmfusion.org/kojihub',
+ 'weburl': 'https://koji.rpmfusion.org/koji',
+{% endif %}
+ 'git_url': 'https://pkgs.rpmfusion.org/git/free/{package}.git',
+
+ 'krb_principal': 'hotness/hotness01{{env_suffix}}.phx2.fedoraproject.org@{{ipa_realm}}',
+ 'krb_keytab': '/etc/krb5.hotness_hotness01{{env_suffix}}.phx2.fedoraproject.org.keytab',
+ 'krb_ccache': None,
+ 'krb_proxyuser': None,
+ 'krb_sessionopts': {'timeout': 3600, 'krb_rdns': False},
+
+ 'user_email': ('RPM Fusion Release Monitoring ',
+ '<release-monitoring(a)rpmfusion.org>'),
+ 'opts': {'scratch': True},
+ 'priority': 30,
+ 'target_tag': 'rawhide',
+ },
+
+ 'hotness.anitya': {
+ 'url': 'https://release-monitoring.org',
+ 'username': '{{ fedoraDummyUser }}',
+ 'password': '{{ fedoraDummyUserPassword }}',
+ },
+
+ 'hotness.repo_url': 'https://pagure.io/releng/fedora-scm-requests',
+{% if env == 'staging' %}
+ "hotness.mdapi_url": "https://apps.stg.fedoraproject.org/mdapi",
+ 'hotness.pdc_url': 'https://pdc.stg.fedoraproject.org',
+ 'hotness.dist_git_url': 'https://src.stg.fedoraproject.org',
+{% else %}
+ "hotness.mdapi_url": "https://apps.fedoraproject.org/mdapi",
+ 'hotness.pdc_url': 'https://pdc.fedoraproject.org',
+ 'hotness.dist_git_url': 'https://src.fedoraproject.org',
+{% endif %}
+
+ 'hotness.yumconfig': '/etc/hotness-yum.conf',
+
+ # The time in seconds the-new-hotness should wait for a socket to connect
+ # before giving up.
+ 'hotness.connect_timeout': 15,
+ # The time in seconds the-new-hotness should wait for a read from a socket
+ # before giving up.
+ 'hotness.read_timeout': 15,
+ # The number of times the-new-hotness should retry a network request that
+ # that failed for any reason (e.g. read timeout, DNS error, etc)
+ 'hotness.requests_retries': 3,
+
+ "hotness.cache": {
+ "backend": "dogpile.cache.dbm",
+ "expiration_time": 290,
+ "arguments": {
+ "filename": "/var/tmp/the-new-hotness-cache.dbm",
+ },
+ },
+}
+
5 years, 11 months
[ansible] Add builder repo
by Nicolas Chauvet
commit de730e4b32914b8bae6019bbc3f68c6659de2e9c
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Dec 21 15:39:28 2018 +0100
Add builder repo
.../builder_repo/files/builder-infrastructure.repo | 6 ++++++
roles/builder_repo/tasks/main.yml | 4 ++++
2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/roles/builder_repo/files/builder-infrastructure.repo b/roles/builder_repo/files/builder-infrastructure.repo
new file mode 100644
index 0000000..ef6b4f2
--- /dev/null
+++ b/roles/builder_repo/files/builder-infrastructure.repo
@@ -0,0 +1,6 @@
+[builder-infrastructure]
+name=Builder Packages from Fedora Infrastructure $releasever - $basearch
+baseurl=http://infrastructure.fedoraproject.org/repo/builder-rpms/$releasever/$basearch/
+enabled=1
+gpgcheck=1
+gpgkey=http://infrastructure.fedoraproject.org/repo/RPM-GPG-KEY-INFRASTRUCTURE
diff --git a/roles/builder_repo/tasks/main.yml b/roles/builder_repo/tasks/main.yml
new file mode 100644
index 0000000..c8565c3
--- /dev/null
+++ b/roles/builder_repo/tasks/main.yml
@@ -0,0 +1,4 @@
+- name: add builder infra yum repo
+ file: dest=/etc/yum.repos.d/builder-infrastructure.repo state=absent
+ tags:
+ - builder_infra
5 years, 11 months
[ansible] Sync with fedora
by Nicolas Chauvet
commit a96e92c75286d95c9cbc3e871abc3f1629daad81
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Mon Dec 17 15:57:46 2018 +0100
Sync with fedora
.../koji_builder/files/builders/site-defaults.cfg | 2 ++
roles/koji_builder/meta/main.yml | 2 +-
2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/roles/koji_builder/files/builders/site-defaults.cfg b/roles/koji_builder/files/builders/site-defaults.cfg
index d7625fc..4dfbe00 100644
--- a/roles/koji_builder/files/builders/site-defaults.cfg
+++ b/roles/koji_builder/files/builders/site-defaults.cfg
@@ -3,6 +3,8 @@ config_opts['plugin_conf']['ccache_enable'] = False
config_opts['dnf_common_opts'] = ['--setopt=install_weak_deps=0']
config_opts['http_proxy'] = 'http://proxy:3128'
config_opts['nosync'] = True
+config_opts['nosync_force'] = True
+config_opts['environment']['LANG'] = os.environ.setdefault('LANG', 'C.UTF-8')
config_opts['bootstrap_chroot_additional_packages'] = []
config_opts['bootstrap_module_enable'] = []
config_opts['bootstrap_module_install'] = []
diff --git a/roles/koji_builder/meta/main.yml b/roles/koji_builder/meta/main.yml
index c283e28..dd51899 100644
--- a/roles/koji_builder/meta/main.yml
+++ b/roles/koji_builder/meta/main.yml
@@ -1,3 +1,3 @@
---
dependencies:
- - { role: hosts }
+ - { role: builder_repo }
5 years, 11 months
[ansible] upload.cgi: add support for more namespaces
by Nicolas Chauvet
commit 3a7572ad39cb8c9abd07571f704b73760da6f656
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Mon Dec 17 15:01:05 2018 +0100
upload.cgi: add support for more namespaces
roles/distgit/files/dist-git-upload.cgi | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
---
diff --git a/roles/distgit/files/dist-git-upload.cgi b/roles/distgit/files/dist-git-upload.cgi
index e8f73c8..485df34 100755
--- a/roles/distgit/files/dist-git-upload.cgi
+++ b/roles/distgit/files/dist-git-upload.cgi
@@ -149,15 +149,16 @@ def main():
print >> sys.stderr, '[username=%s] Processing upload request: NAME=%s FILENAME=%s %sSUM=%s' % (username, name, filename, hash_type.upper(), checksum)
# first test if the module really exists
- section = 'free'
- git_dir = os.path.join(GITREPO, section , '%s.git' % name)
- if not os.path.isdir(git_dir):
- section = 'nonfree'
+ sections = ['free', 'nonfree', 'rpi', 'cuda' ]
+ for section in sections :
git_dir = os.path.join(GITREPO, section , '%s.git' % name)
- if not os.path.isdir(git_dir):
- print >> sys.stderr, '[username=%s] Unknown module: %s' % (username, name)
- send_error('Module "%s" does not exist!' % name,
- status='404 Not Found')
+ if os.path.isdir(git_dir):
+ break
+
+ if not os.path.isdir(git_dir):
+ print >> sys.stderr, '[username=%s] Unknown module: %s' % (username, name)
+ send_error('Module "%s" does not exist!' % name,
+ status='404 Not Found')
module_dir = os.path.join(CACHE_DIR, section, name)
hash_dir = os.path.join(module_dir, filename, hash_type, checksum)
5 years, 11 months
[ansible] kojid: Back to maxjobs 4
by Nicolas Chauvet
commit a550928aa0d3eef2307ccf03fcecef0d07d5367b
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Mon Dec 17 10:07:31 2018 +0100
kojid: Back to maxjobs 4
roles/koji_builder/templates/kojid.conf | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/roles/koji_builder/templates/kojid.conf b/roles/koji_builder/templates/kojid.conf
index 6d24455..68e9e79 100644
--- a/roles/koji_builder/templates/kojid.conf
+++ b/roles/koji_builder/templates/kojid.conf
@@ -3,7 +3,7 @@
; sleeptime=15
; The maximum number of jobs that kojid will handle at a time
-maxjobs=1
+maxjobs=4
; The minimum amount of free space (in MBs) required for each build root
; minspace=8192
5 years, 11 months
[ansible] Better koji-hub policy
by Nicolas Chauvet
commit a8269fced7f90e1f51dc07fe885cf2c97fad13d7
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Tue Dec 11 15:28:44 2018 +0100
Better koji-hub policy
roles/koji_hub/templates/hub.conf.j2 | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/roles/koji_hub/templates/hub.conf.j2 b/roles/koji_hub/templates/hub.conf.j2
index 6481330..07c5ed8 100644
--- a/roles/koji_hub/templates/hub.conf.j2
+++ b/roles/koji_hub/templates/hub.conf.j2
@@ -75,7 +75,17 @@ tag =
has_perm secure-boot && package kernel shim grub2 fedora-release fedora-repos pesign :: allow
package kernel shim grub2 fedora-release fedora-repos pesign :: deny
has_perm admin :: allow
- all :: allow
+ tag *-updates || el*free :: {
+ operation move :: {
+ fromtag *-candidate :: deny
+ fromtag *-testing :: allow
+ all :: deny
+ }
+ operation tag && hastag *-candidate *-testing :: deny
+ }
+ tag *-override :: allow
+ tag *-candidate :: allow
+ all :: deny
channel =
method createrepo :: use createrepo
5 years, 11 months
[ansible] Enable powerbuilder channel
by Nicolas Chauvet
commit 86d0597bf128048398f56877deee67ddb7e3fb1e
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Tue Dec 11 15:13:10 2018 +0100
Enable powerbuilder channel
roles/koji_hub/templates/hub.conf.j2 | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/roles/koji_hub/templates/hub.conf.j2 b/roles/koji_hub/templates/hub.conf.j2
index 2a458e0..6481330 100644
--- a/roles/koji_hub/templates/hub.conf.j2
+++ b/roles/koji_hub/templates/hub.conf.j2
@@ -81,6 +81,12 @@ channel =
method createrepo :: use createrepo
has req_channel :: req
is_child_task :: parent
+# Policy to move build to powerfull builders
+ source */chromium-* :: use powerbuilder
+ source */kodi* :: use powerbuilder
+ source */qt5-qtwebengine-freeworld* :: use powerbuilder
+ source */telegram-desktop* :: use powerbuilder
+
method build && bool scratch :: use default
all :: use default
5 years, 11 months