Owen W. Taylor
280facdbe0
MockModuleBuilder: Pass an explicit pkglist to createrepo_c
...
createrepo_c recursively looks for RPMs in the target directory and
subdirectories, meaning that it was finding RPMs in the thread-specific
directories. Pass in an explicit list of RPMs at the toplevel.
https://pagure.io/fm-orchestrator/issue/591
2017-06-15 16:25:04 -04:00
Jan Kaluza
4b16cf9a64
Fix various bugs in 'mbs-build local'
2017-06-07 13:16:26 +02:00
Jan Kaluza
a07b44411c
Set the state_reason when format_mmd raises in frontend and do not overwrite the state_reason in backend.
2017-06-06 14:49:49 +02:00
Jan Kaluza
b4c0f49e4b
Fix get_reusable_component in case when database returns components in different order than what we have in MBS.
2017-06-05 15:03:59 +02:00
Jan Kaluža
a1e89f3d47
Merge #578 Allow CoprModuleBuilder to obtain SRPMs from copr-dist-git
2017-06-02 12:13:12 +00:00
Jakub Kadlčík
cdb2c50266
foo
2017-06-01 20:48:21 +02:00
Ralph Bean
2ab6193987
Rename consecutive to concurrent.
...
Fixes #574 .
2017-05-31 13:54:11 -04:00
Ralph Bean
81d1194327
Merge #569 Enable koji content generator code
2017-05-31 14:15:41 +00:00
Stanislav Ochotnicky
b33beb0cef
Enable koji content generator code
...
If the koji_enable_content_generator is configured to True koji instance
has to be configured as follows:
koji call addBType module
koji grant-cg-access <mbs-user> module-build-service --new
Without the above configuration MBS will start failing the builds
2017-05-31 14:48:34 +02:00
Jan Kaluza
a839dc7097
1.3.23
v1.3.23
2017-05-31 10:44:25 +02:00
Jakub Kadlčík
0aee22b753
Move the hackish code to CoprModuleBuilder
2017-05-30 15:22:34 +02:00
Jakub Kadlčík
c7e8ba2f1d
MockModuleBuilder does not use build_from_scm function anymore
2017-05-30 14:50:09 +02:00
Jakub Kadlčík
8c25f6d210
Implement method for submitting a build from distgit source
2017-05-30 14:31:35 +02:00
Jakub Kadlčík
56efd10db9
Allow CoprModuleBuilder to obtain packages from copr-dist-git
2017-05-30 13:13:46 +02:00
Jakub Kadlčík
91e08d723f
Allow build_from_scm to build even from custom distgits
2017-05-29 23:32:51 +02:00
Jakub Kadlčík
aee7c0b299
Return proc.communicate() output
2017-05-29 23:28:00 +02:00
Jakub Kadlčík
53c00dc074
Allow stdout and stderr to be something else than file
2017-05-29 23:26:42 +02:00
Petr Šabata
84df0b4ef1
Use modulemd.dump_all to create local repodata
...
Both pungi and dnf use the new multidocument format, with the
old one not really being supported by anything at this point.
Let's be compatible.
This change requires modulemd-1.2.0+.
Signed-off-by: Petr Šabata <contyk@redhat.com >
2017-05-26 09:40:37 +02:00
Jan Kaluza
91758a9d4e
Output urlgrabber to stdout, so it is not lost when LOG_LEVEL is info.
2017-05-25 17:26:39 +02:00
Jan Kaluža
b77be81173
Merge #556 Don't build/obtain SRPM packages on the host
2017-05-25 13:16:55 +00:00
Jan Kaluža
acc74bd6e0
Merge #565 Support 'order_by' and 'order_desc_by' in filter_module_builds(...)
2017-05-25 13:14:32 +00:00
Matt Prahl
56d9312aa1
Merge #567 Regenerate the repo when module-build-macros is reused to ensure it is in the buildroot.
2017-05-24 13:20:52 +00:00
Jan Kaluza
f27b0ddb81
Regenerate the repo when module-build-macros is reused to ensure it is in the buildroot.
2017-05-24 14:26:08 +02:00
Filip Valder
d545822425
Language corrections, thanks to @mprahl
2017-05-24 14:25:18 +02:00
Filip Valder
176a99f022
Fix #324 : Add 'Running Tests' section
2017-05-23 11:34:05 +02:00
Jan Kaluza
b082c81c20
Support 'order_by' and 'order_desc_by' in filter_module_builds(...)
2017-05-23 09:52:19 +02:00
Jan Kaluža
7d024e17c3
Merge #564 Fix fedmsg issue on Copr
2017-05-22 19:43:26 +00:00
Jakub Kadlčík
ae10620897
Allow to set NUM_CONSECUTIVE_BUILDS to 0 as infinite
...
Thank you @jkaluza for this piece of code
2017-05-22 20:02:13 +02:00
Jakub Kadlčík
3817914963
Revert "Set concurrent treshold for copr same as for mock"
...
This reverts commit 6bea509833 .
2017-05-22 20:00:06 +02:00
Jakub Kadlčík
6bea509833
Set concurrent treshold for copr same as for mock
2017-05-22 18:08:51 +02:00
Jakub Kadlčík
4992d97937
Remove leftovers from incomplete copr fedmsg implementation
2017-05-22 18:07:54 +02:00
Ralph Bean
87540e0240
Merge #560 Do not reuse components when rpm macros change
2017-05-22 12:45:42 +00:00
Jan Kaluza
a819f51549
Change module build state to 'build' even if we reuse all the components, so we handle the buildsys.tag message.
2017-05-22 13:54:08 +02:00
Jan Kaluza
af2d2f8ad1
Do not reuse components when rpm macros change
2017-05-22 13:42:02 +02:00
Jakub Kadlčík
ebab993244
Workaround disabled kojipkgs repos
2017-05-20 17:58:14 +02:00
Jakub Kadlčík
99ba03b52d
Move also distgit_src_get command to config
2017-05-17 16:23:16 +02:00
Nils Philippsen
92ee66e107
mbs-build: only sleep 30s if not done yet
2017-05-17 11:52:03 +02:00
Nils Philippsen
244f9960a6
mbs-build: print koji tag if present
2017-05-17 11:52:03 +02:00
Jan Kaluža
4593ee5d95
Merge #526 Do not tag built components if there is any failed one.
2017-05-17 09:48:05 +00:00
Jan Kaluža
43ebacd5a1
Merge #554 Modify content generator based on Koji dev feedback
2017-05-17 09:45:39 +00:00
Jakub Kadlčík
8c8ea65b2e
Don't hardcode dist-git clone command
2017-05-16 16:26:24 +02:00
Jakub Kadlčík
4c23e56181
Allow config values to be dict
2017-05-16 16:19:56 +02:00
Jakub Kadlčík
9e4c43a315
Use commit hash from source as branch
2017-05-16 15:20:28 +02:00
Jakub Kadlčík
8a258c3ad7
Use master branch
2017-05-16 14:51:40 +02:00
Jakub Kadlčík
1af400de02
Obtain SRPM from distgit via mock SCM
2017-05-16 14:51:40 +02:00
Jakub Kadlčík
14757ec3ad
Implement classes for building srpms via mock
2017-05-16 14:51:40 +02:00
Jakub Kadlčík
6e92ed6b97
Add function to find srpm in given directory
2017-05-16 14:51:40 +02:00
Jan Kaluža
30dc18d238
Merge #557 Little improvements of mbs-build script
2017-05-16 12:39:47 +00:00
Jakub Kadlčík
03c360a2ea
Add --insecure option just like curl has
2017-05-16 14:07:07 +02:00
Jakub Kadlčík
1a18a601a1
Suggest the host starting with https
2017-05-16 13:45:25 +02:00