Commit Graph

283 Commits

Author SHA1 Message Date
Karsten Hopp
49346c1f88 use dnf for enablerepo 2019-06-11 17:48:35 +02:00
Karsten Hopp
e61cf74291 koji_builder: dnf -> package, with_item changes 2019-06-11 14:55:12 +00:00
Mikolaj Izdebski
99e63e1e1c koji_builder: Always install koji-builder-plugins 2019-06-06 10:55:42 +02:00
Kevin Fenzi
7ef87c29ec koji_builder: just revert this here and install python3-libselinux in kickstart
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-06-01 17:07:58 +00:00
Kevin Fenzi
6f4518d90a koji_builder: we need python3-libselinux for python3 builders
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-06-01 17:04:29 +00:00
Kevin Fenzi
69ca7568f8 koji_builder: do not install the python2 osbs client, hopefully we don't need it anymore.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-28 21:15:27 +00:00
Kevin Fenzi
d863145e3f koji_builder: revert this for now until we can fix them all.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-28 21:11:01 +00:00
Kevin Fenzi
386d9a1d02 base/hosts: Clean up some depreciations.
koji_builder/sudo: Clean up some more depreciations.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-28 20:47:54 +00:00
Kevin Fenzi
4b31ac5152 ansible: Change all our group names from foo-bar to foo_bar or foo-bar-baz to foo_bar_baz
In ansible 2.8 the - character isn't supposed to be valid in group names.
While we could override this, might has well just bite the bullet and change it.
So, just switch all group names to use _ instead of -

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-20 17:38:09 +00:00
Kevin Fenzi
22d6785ceb koji_builder: it's capitol V here.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-18 20:58:14 +00:00
Kevin Fenzi
7d2fa07e9e koji_builder: use python-krbv here as that also works on the f27 arm builders.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-18 20:38:30 +00:00
Kevin Fenzi
d74a3c0cc4 builders: Explicily install python2-krbv to get koji kerberos to work
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-09 00:08:12 +00:00
Kevin Fenzi
09ae58534c koji-builder: only install new koji package on new builders.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-04-15 03:43:08 +00:00
Kevin Fenzi
b1d1e4a685 koji builder: we need to install the builder plugins package so we have runroot plugin.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-04-11 15:20:40 +00:00
Kevin Fenzi
55b5ef7f2c koji-builders: instead the time before cleaning up failed buildroots to 24 hours.
Sometimes we have odd failures it's hard to reproduce outside a compose.
We thus want to keep them around for 24 hours so we can look the next day.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-04-11 01:17:05 +00:00
Owen W. Taylor
76197fc4d0 Prepare staging for a separate flatpaks/ namespace
Change the distgit staging configuration to allow a flatpaks/ namespace,
and configure Koji and MBS to allow building from there.

Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net>
2019-04-10 16:15:54 +00:00
Kevin Fenzi
1c7b185c02 Revert "add dnf-utils to all koji builders so they have yum-builddep needed for epel builds"
We have to revert this for now since armv7 builders are f27 still.

This reverts commit 414f83a437.
2019-03-04 22:07:23 +00:00
Peter Robinson
a3b174ccf7 aarch64: add edk2-arm UEFI firmware for oz/imagefactory/openqa for armhfp on aarch64 processes 2019-02-28 20:59:49 +00:00
Patrick Uiterwijk
735a5cfc8b Revert "Add cloudfront for s390x kojipkgs"
This reverts commit 0b419087e3.
2019-02-14 16:10:42 +01:00
Patrick Uiterwijk
0b419087e3 Add cloudfront for s390x kojipkgs
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2019-02-14 14:12:51 +01:00
Kevin Fenzi
ae09b08b72 koji_builder: Try and override the LANG env instead of setting it if it is not already set
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-01-10 22:31:08 +00:00
Kevin Fenzi
8830d2ad1a koji_builder: Only show changed on compile play when "Compiling " is in the stdout.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2018-12-30 18:27:07 +00:00
Kevin Fenzi
679bce5555 koji_builder: just switch to a more elegant solution and have python2's compileall deal with timestamps
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2018-12-30 18:04:16 +00:00
Kevin Fenzi
dd2008e098 koji_builder: Of course when the pyc/pyo files do not exist we need to also not run the rest of the conditional.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2018-12-30 17:52:44 +00:00
Kevin Fenzi
f068e5a785 koji_builder: try and fix up some logic to make ansible happy.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2018-12-30 17:43:33 +00:00
Kevin Fenzi
3a12278ad9 koji_builder: make it so Guest.pyc/pyo files are only removed when older than Guest.py.
This is needed to preserve idempotency.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2018-12-30 17:35:04 +00:00
Kevin Fenzi
414f83a437 add dnf-utils to all koji builders so they have yum-builddep needed for epel builds 2018-12-22 22:28:48 +00:00
Kevin Fenzi
5781573c20 take network-scripts back out and instead switch nfs/client to use nmcli c up eth1 to bring up storage route 2018-12-20 20:54:01 +00:00
Kevin Fenzi
61835dffb4 adds the network-scripts package back to builders needed for nfs route 2018-12-20 20:42:09 +00:00
Kevin Fenzi
390eecbbbc add yum back to the list of things installed on koji builders, we still need it apparently 2018-12-20 19:06:38 +00:00
Mikolaj Izdebski
a80ebbeedc Install nosync.i686 on x86_64 builders
We don't have any RHEL 6 builders any longer.
2018-12-13 18:15:35 +00:00
Kevin Fenzi
8e15d13d1d actually change the main mock site_defaults for nosync_force and lang 2018-12-13 17:31:28 +00:00
Kevin Fenzi
f046959d27 also install nosync 2018-12-10 20:44:01 +00:00
Kevin Fenzi
a109891537 drop yum utils 2018-12-10 20:13:01 +00:00
Kevin Fenzi
b09bc43e2d set nosync on for prod mock builds 2018-12-10 20:04:14 +00:00
Mikolaj Izdebski
214f94d000 Configure varnish cache on buildvm-s390x-01.stg 2018-11-30 07:02:56 +00:00
Patrick Uiterwijk
294dc46f53 Remove cached python files for oz Guest.py
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-11-04 23:47:54 +00:00
Patrick Uiterwijk
1d648eeec8 Add console to aarch64 Guest.py
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2018-11-04 13:39:35 +01:00
Patrick Uiterwijk
11db5a7d53 Add pre-hotfix oz Guest.py
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2018-11-04 13:39:11 +01:00
Mikolaj Izdebski
4730dd81ce Remove all traces of nosync from koji_builder role 2018-11-03 21:45:05 +00:00
Mikolaj Izdebski
1248a78d5a Revert nosync enablement in staging Koji 2018-11-03 21:43:36 +00:00
Mikolaj Izdebski
0c6333927f Enable nosync in staging Koji for testing (#7326) 2018-11-03 20:57:06 +00:00
Patrick Uiterwijk
7d27c45973 This variable does not start with ansible_
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-08-17 03:20:07 +00:00
Patrick Uiterwijk
6324505656 Install osbs client on builders where needed
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-08-17 03:18:27 +00:00
Patrick Uiterwijk
0b9a537bad Let's not do container builds on the bkernel's
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-08-17 03:15:50 +00:00
Clement Verna
05efa6d949 We don't need osbs-client on buildhw
Signed-off-by: Clement Verna <cverna@tutanota.com>
2018-07-24 21:09:12 +02:00
Kevin Fenzi
05d42e2710 no rngd on s390x vms 2018-06-16 19:00:04 +00:00
Kevin Fenzi
5b2c46acdb just apply the oz timeout all around 2018-05-31 16:40:43 +00:00
Patrick Uiterwijk
7b9af8332c Use rngd on builders
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-05-14 13:54:22 +02:00
Kevin Fenzi
83059c1fbc revert haveged install on builders 2018-05-13 21:55:37 +00:00