Commit Graph

150 Commits

Author SHA1 Message Date
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
Jan Kaluza
c6b2189110 Use repo_include_all to inherit all packages to buildroot once Koji https://pagure.io/koji/issue/588 is merged. 2017-09-18 09:39:47 +02:00
Ralph Bean
a2d89ae18d Merge #688 Fix #661: mbs hard-codes x86_64 as the local architecture 2017-09-15 15:58:27 +00:00
Filip Valder
be7c8d7aff Fix #661: mbs hard-codes x86_64 as the local architecture 2017-09-15 15:18:02 +02:00
Jan Kaluza
7ebb4a8bc5 Conflict with packages filtered out from the build-requires to ensure they won't appear in a buildroot. 2017-09-15 13:47:33 +02:00
Filip Valder
f86654c655 Fix #641 - mock configuration is hardcoded 2017-09-13 15:09:56 +02:00
Jan Kaluža
2a6cbe6ddb Merge #647 Add 'requires' of 'build-required' modules to buildroot when building module. 2017-09-08 07:38:41 +00:00
Jan Kaluza
83628ec74f Add 'requires' of 'build-required' modules to buildroot when building module. 2017-09-08 09:25:44 +02:00
Ralph Bean
ef4acf0641 Add the koji tag for the content to the CG metadata.
@puiterwijk will want to use this in robosignatory to figure out what
content needs to be signed.
2017-09-07 11:38:45 -04:00
Jan Kaluza
8c3ca6986e Filter out packages in Mock backend based on the mmd filter 2017-08-31 10:47:16 -04:00