Owen W. Taylor
ddee4f840b
MockModuleBuilder: add artifacts to artifacts not components
...
The built RPM artifacts were being added to the components list (the
RPMs to build) instead of the proper artifacts section. Also, they
need to be in NEVRA format, so use 'rpm -qf' to query the epochs from
the built artifacts.
2018-05-30 15:47:14 -04:00
mprahl
aa98eb1cc2
Don't determine the buildroot_groups when cleaning up stale module builds
2018-05-14 13:55:56 -04:00
mprahl
15a7e322a6
Fallback to the old Koji tag format for the target when the tag name is too long
2018-05-08 09:11:22 -04:00
Jan Kaluza
9236133cd2
Fix wrong rebase of #919 .
2018-04-13 13:07:00 +02:00
Jan Kaluza
c1c95fc963
Allow defining list of packages which are blocked in the -build tag until they are built in a module.
2018-04-13 12:57:27 +02:00
Jan Kaluza
5d91c97386
Allow defining list of packages which are blocked in the -build tag until they are built in a module.
2018-04-12 09:45:57 +02:00
mprahl
aa990d3de3
Use six instead of future
2018-04-05 11:32:21 -04:00
mprahl
19db295795
Fix flake8 errors
2018-04-03 09:58:57 -04:00
Jan Kaluza
e5e9a24fce
Allow adding bool to XMD. Fix flake8 issues.
2018-04-03 09:58:57 -04:00
mprahl
f0852d9009
Port to libmodulemd and support v2 modulemd without module stream expansion
2018-04-03 09:58:57 -04:00
Yash Nanavati
ed25afd9ec
Code changes for Python 3 support
2018-03-04 03:22:38 -05:00
Yash Nanavati
1d3fd2af64
Minor changes towards Python 3 Compatability
2018-02-28 09:01:51 -05:00
Matt Prahl
fb8e9cf02c
Merge #851 Set the owner on Koji CG builds
2018-01-31 00:28:18 +00:00
Matt Prahl
83978c66df
Merge #849 Use external repos tied to the Koji tags on local builds
2018-01-31 00:27:12 +00:00
mprahl
df594da8a5
Remove the Koji proxyuser functionality
2018-01-30 11:49:03 -05:00
mprahl
477fa2ed6a
Set the owner on Koji CG builds
2018-01-30 09:23:09 -05:00
mprahl
2651d53603
Use external repos tied to the Koji tags on local builds
2018-01-29 14:34:04 -05:00
mprahl
2a018a649f
Add consistency to the type of quotes used in "buildroot_add_repos"
2018-01-29 14:33:35 -05:00
Filip Valder
5b4a8f6240
New: Resolver API for pluggable resolvers
2018-01-29 15:54:19 +01:00
mprahl
bf80ce4537
Don't traceback on failed task cancellations and log those exceptions
2018-01-22 15:20:41 -05:00
mprahl
55d07aa8f5
Use Koji repos if possible during local builds
2018-01-18 17:02:03 -05:00
mprahl
a67b53f5c3
Add a "context" field on component and module releases in Koji for uniqueness for when Module Stream Expansion is implemented
2018-01-16 10:36:09 -05:00
mprahl
c0ec0f82c1
Remove urlgrabber as a dependency
2018-01-03 10:21:37 -05:00
mprahl
a54045e518
Don't run KojiModuleBuilder.buildroot_connect in the stale module builds poller
2017-12-11 13:27:30 -05:00
Jan Kaluza
7de120c17b
Get the weight of Koji tasks and use it to sort the components in a batch instead of builds time.
2017-11-28 10:52:17 -05:00
Nils Philippsen
3f746582eb
honor custom RPM %_sourcedir
...
If the user redefines %_sourcedir in ~/.rpmmacros, `mbs-build local`
will fail trying to build module-build-macros otherwise because rpmbuild
will look for sources -- macros.modules -- in the wrong place.
2017-11-28 13:49:06 +01:00
Jan Kaluža
d5d0f02ca9
Merge #765 Copr - install modules into the buildroot
2017-11-28 09:13:51 +00:00
mprahl
30ef85af01
Fix "instant complete" builds and reusing all components
2017-11-27 16:20:28 -05:00
mprahl
cf44455ff2
Add a missing docstring to 'untag_artifacts'
2017-11-27 16:20:28 -05:00
Jakub Kadlcik
5eef24c1a8
Install also packages from the buildroot profile
2017-11-21 11:45:30 +01:00
mprahl
ef5dc64f2b
Transition stale failed builds to the "garbage" state and untag their components
2017-11-17 12:07:51 -05:00
mprahl
ea34df0fd1
Set the timeout on Koji sessions to 10 minutes
2017-11-15 12:57:49 -05:00
Jakub Kadlcik
c06c09f3fa
Bikeshed compose is gone, use F27 and Rawhide instead
2017-11-15 17:20:23 +01:00
Jakub Kadlcik
998ed79949
Remove redundant import
2017-11-15 11:12:12 +01:00
Jakub Kadlcik
6214476eaa
Put name, stream and version into the modulemd file
2017-11-15 11:12:12 +01:00
Jakub Kadlcik
a942f29494
Rather install modules into the buildroot
2017-11-15 11:12:12 +01:00
Jakub Kadlcik
e0d1c6eb01
Use modularity DNF in the buildroot
2017-11-15 11:12:12 +01:00
mprahl
b1fe673699
Only import the COPR builder when MBS is configured to use it
2017-11-14 10:18:24 -05:00
Ralph Bean
318117c0c5
Make our builders into setuptools plugins.
2017-11-13 11:16:13 -05:00
mprahl
b0eada3e33
Fix KojiContentGenerator from a bug in PR 771
2017-11-10 08:33:53 -05:00
Martin Curlej
c193ff7419
Flake8 fixes
2017-10-31 16:04:31 -04:00
Martin Curlej
1eb3c653dd
Changed the filters so they execute when everything is build
...
Signed-off-by: Martin Curlej <mcurlej@redhat.com >
2017-10-31 16:04:31 -04:00
Jan Kaluza
b56f56a486
Use dogpile.cache to cache the default_buildroot_groups result
2017-10-26 14:03:23 +02:00
Martin Curlej
60b3d97c97
flake8 cleanup
...
Signed-off-by: Martin Curlej <mcurlej@redhat.com >
removed some noqa tags
2017-10-25 12:13:59 +02:00
mprahl
f5de140521
Schedule components based on build time
2017-10-23 15:33:57 -04:00
Ralph Bean
c92a967042
Fix incorrect call to koji API.
...
This was introduced months ago, but we never hit it. I just saw it in
the error logs.
It looks like the call to `session.untaggedBuilds` expects a `name`
argument, but `session.listTagged` does *not*.
2017-10-10 18:33:59 -04:00
Ralph Bean
d5344b0c63
Fix a typo.
...
Definitely a typo. It would be a `NameError`. There is no `name` here.
2017-10-02 16:22:14 -04:00
Jan Kaluža
7c42ae89ea
Merge #710 Fix #670 - Tag Content Generator Koji build to special tag based on the base module stream
2017-09-25 07:09:54 +00:00
Jan Kaluza
ad6874b0e6
Fix #670 - Tag Content Generator Koji build to special tag based on the base module stream
2017-09-25 08:36:29 +02:00
Ralph Bean
42aef7d5d2
Try to ensure that our macros are sourced last.
...
... because we think last-sourced wins and the competition is stiff.
2017-09-22 16:57:54 -04:00