Commit graph

304 commits

Author SHA1 Message Date
Kevin Fenzi
1dfb013f96 koji_builder: drop the EC2 imagefactory plugin.
We don't (as far as I can tell) use this, and it pulls python2 into the builders.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:19 +02:00
Kevin Fenzi
4e04d027ab buildvm-s390x-17: add to list that gets the /mnt/koji link.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:18 +02:00
Kevin Fenzi
1b081d4689 koji_builder: try more cpus on ppc64le as well
This was caused by an issue a while back, but it was on power8 and we are on power9 now
so we want to see if it's still happening.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:17 +02:00
Kevin Fenzi
8c0b633742 koji_builder: Adjust oz config to use more cpus and memory and move config from koji.conf for timeouts.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:17 +02:00
Kevin Fenzi
9afd2960a0 koji_builder / stg: only keep buildroots for 4 hours, not 24 hours like prod
If we try and keep every build root for 24 hours the builders fill up and stop processing.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:16 +02:00
Kevin Fenzi
692c99395d koji_builder: python3-kickstart now.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:14 +02:00
Kevin Fenzi
54b885ed51 koji_builder: drop a few more things that are python2 only and no longer needed.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:14 +02:00
Kevin Fenzi
37fe0f9924 koji_builders: should be using python3-koji here.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:14 +02:00
Kevin Fenzi
8315ba9108 koji / buildvm-s390x-01.s390: Move this to a normal builder, remove from compose channel
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:12 +02:00
Kevin Fenzi
34df23a0e3 koji / builder: remove no longer used keepalive
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:12 +02:00
Kevin Fenzi
a7665c9fe1 koji_builder: Drop keepalive kojid directive as it's gone in 1.18.0.
Also drop in prod when we upgrade it.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:11 +02:00
Kevin Fenzi
b9b97cbff3 koji / builder: bump the rpmbuild timeout from 48 hours to 54hours for chromium on aarch64.
This should just be temporary until we fix the build to not take so long.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:11 +02:00
Kevin Fenzi
3475f76169 buildvm / koji_builder: Also install sshfs and links on buildvm-s390x-15/16.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-07-08 22:42:36 +00:00
Kevin Fenzi
f60cd6b20e koji_builder / staging: set module platform for el8 buildroots only.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-07-05 20:52:04 +00:00
Kevin Fenzi
3ac0df019b koji_builder / staging: move back to setting module platform in site defaults for now.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-06-28 20:45:32 +00:00
Kevin Fenzi
218bd3e148 koji_builder / staging: drop the platform override and see if bootstrap mode will work.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-06-28 19:54:05 +00:00
Kevin Fenzi
db889f362f koji_builder / staging: modify bootstrap install command, as there is not a distribution-gpg-keys package.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-06-27 19:42:28 +00:00
Kevin Fenzi
c2a3745b33 koji_builder / staging: see if bootstrap works
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-06-27 19:37:24 +00:00
Kevin Fenzi
121c70426c koji_builder / staging: lets try without any inside quotes at all.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-06-26 21:06:28 +00:00
Kevin Fenzi
a625d865a4 koji_builder / staging: try different quoting here.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-06-26 21:01:29 +00:00
Kevin Fenzi
58c0181c43 koji_builder staging: set platform and see if that helps with epel8 issue.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-06-26 20:41:57 +00:00
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
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