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
Jan Kaluža
94a97aa83c
Merge #636 [copr] Enable custom chroot on existing projects
2017-08-28 19:49:27 +00:00
Jakub Kadlcik
3fab0d03d4
Use Fedora-Modular-26 instead of a Rawhide
2017-08-28 21:26:27 +02:00
Jan Kaluža
77ac0db625
Merge #644 Add 'mbs-build local [[--add-local-build n:s:v], ...]' to use local builds as dependency.
2017-08-17 08:07:43 +00:00
Jan Kaluza
aac4227eb8
Add 'mbs-build local [[--add-local-build n:s:v], ...]' to use local builds as dependency.
2017-08-17 10:00:19 +02:00
Filip Valder
6a2e9aeddd
Fix #576 : Remove empty/useless log files
2017-08-16 13:39:59 +02:00
Jakub Kadlcik
bbf80836f2
Enable custom chroot on existing projects
2017-08-10 12:38:38 +02:00
Jan Kaluza
7d3b4f5147
Upload build logs to Koji, use .txt extension instead of .yaml by default.
2017-08-07 15:39:44 +02:00
Ralph Bean
5e3f26f03f
Merge #623 CG logging, debugging
2017-08-04 13:18:19 +00:00
Jakub Kadlcik
457664184c
Handle multiline output better
2017-08-03 23:09:50 +02:00
Jakub Kadlcik
23ce12a099
Sort branches from the oldest
2017-08-03 23:09:43 +02:00
Ralph Bean
cbb75d34e6
Also, only remove the dir if we succeed in passing the buck to koji.
2017-08-03 14:27:26 -04:00