mprahl
53dc444214
Allow filtering on all table columns
2017-11-27 15:08:58 -05:00
Martin Curlej
a1fd9daa73
Moved skiptests cli option
2017-11-21 09:07:32 +01:00
mprahl
1622494b17
Replace the name of the "branch" parameter in "scm.get_latest" to "ref"
2017-11-13 09:20:20 -05:00
Martin Curlej
c76c5dcf15
mbs-build now builds modules only from yaml files
2017-11-10 12:33:42 -05:00
Martin Curlej
03cff80e4a
Streamlined cmd line options for local builds
...
Signed-off-by: Martin Curlej <mcurlej@redhat.com >
2017-11-10 12:33:42 -05:00
mprahl
243e8873d5
Don't trigger init handler when importing a local build and mark the build as done after import
2017-11-10 08:33:53 -05:00
mprahl
104480d365
Set Access-Control-Allow-Origin to * on GET API routes
2017-11-08 21:37:25 -05:00
mprahl
a8421568f9
Fix Flake8 errors
2017-11-08 08:45:58 -05:00
mprahl
18e7f608b1
Solidify how the previous module state is determined when resuming a failed module build
2017-11-06 16:54:10 -05:00
mprahl
d8f126e978
Allow resuming from a failure during the "init" phase
...
This also shifts build failure transitions from individual functions
in utils.py to the init module handler.
2017-11-06 14:15:12 -05:00
mprahl
80df4be363
Remove stale TODO comment
2017-11-06 11:35:54 -05:00
Matt Prahl
43b0367c40
Merge #766 Some more useful error messages.
2017-11-03 20:24:28 +00:00
mprahl
58d160cce4
Transition a failed module to wait instead of init upon resuming
2017-11-03 15:12:39 -04:00
Ralph Bean
5e420a61ee
Some more useful error messages.
...
@jaruga hit this today. The error message didn't contain enough information to
debug appropriately.
2017-11-03 11:38:54 -04:00
Ralph Bean
9b006e1ba5
The Case of the Mysterious Dist Tag
...
We ran into a crazy bug in stg today where the `disttag` of every
component build .. for every module .. was the same! (duh duh duh).
Turns out this had to do with the way we were writing the name, stream,
and version values back into the yaml file we recorded. More correctly,
how we *weren't* writing those values back.
2017-11-02 13:36:18 -04:00
mprahl
45cce653eb
Add the ability to specify different rebuild methods
2017-11-01 15:39:43 -04:00
mprahl
6cf24baebb
Don't allow a user to resubmit a module build that is already in the init state
2017-11-01 10:10:10 -04:00
Martin Curlej
c193ff7419
Flake8 fixes
2017-10-31 16:04:31 -04:00
Nick Coghlan
d159350fff
Default to reverse ordering by ID in APIs
...
Adjusts the affected tests to assume the
exact current set of default test data.
These tests were also testing the exact
same query URL, so they've been consolidated
into a single test.
2017-10-31 09:15:08 -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
mprahl
8e41f9f335
Try to reuse all components in the batch before starting it
2017-10-23 15:33:57 -04:00
mprahl
28470ec46c
Don't reassign the value of the modulemd when resuming a build
2017-10-16 14:45:04 -04:00
Jakub Kadlcik
e6a23cfd64
Record components through the backend after module submission
2017-10-16 14:45:04 -04:00
Jakub Kadlcik
7730f0a0ee
Allow to inject database session object
2017-10-16 14:45:04 -04:00
mprahl
27250263ea
Default verbose to on ordering by id in the module-builds API
2017-10-05 16:17:18 -04:00
Jan Kaluza
ff216e1ba9
Do not count reused components to concurrent component builds threshold
2017-09-19 16:10:07 +02:00
Jan Kaluza
83628ec74f
Add 'requires' of 'build-required' modules to buildroot when building module.
2017-09-08 09:25:44 +02:00
Igor Gnatenko
ee1176f444
utils: unbreak building packages when tests are skipped
...
Just replacing %check macro is ¤&%¤#%&¤%¤. I'm not going to
add any more words on it.
It breaks building many packages.
Fixes: 5391e7c9af
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org >
2017-09-03 12:22:11 +02: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
09b3f32dbb
Fix #619 : Support for module YAML file validation within a SCM repository
2017-08-07 13:10:53 +02:00
Filip Valder
7ef2975984
PEP8 fixes
2017-07-17 18:29:10 +02:00
Jan Kaluza
439767cbcf
Tag the component to final tag in case it is built, but not tagged.
2017-07-13 13:37:10 -04:00
Ralph Bean
af6be26f34
Add lots of logging to component-reuse logic.
...
We had a build today that did not re-use its components when we expected
it to. I looked at the logs, but didn't have any information to help
figure out why this happened.
These log statements should help for the next time.
2017-07-11 13:03:13 -04:00
Yashvardhan Nanavati
d79a9584c7
Find module build using attributes of a component build in koji
2017-07-07 14:37:43 -04:00
mprahl
3e819abcb6
Include the query arguments in the pagination metadata
2017-07-06 09:09:17 -04:00
Jan Kaluža
646775d14d
Merge #588 Fix #580 : add --skiptests option to mbs-build and manage.py build_module_locally
2017-06-16 06:39:41 +00:00
Filip Valder
5391e7c9af
add --skiptests option to mbs-build and manage.py build_module_locally
2017-06-09 15:20:30 +02: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
Ralph Bean
2ab6193987
Rename consecutive to concurrent.
...
Fixes #574 .
2017-05-31 13:54:11 -04: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
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
Jan Kaluza
af2d2f8ad1
Do not reuse components when rpm macros change
2017-05-22 13:42:02 +02:00