Ralph Bean
01c8295269
Add an incrementing prefix to the dist_hash.
...
For #823 .
2018-01-17 16:54:02 -05:00
mprahl
430ac4ba31
Use the "build_context" field when evaluating if a previous module's buildrequires changed
2018-01-16 10:36:09 -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
c1dbe9be27
Remove unused yaml argument in utils.submit_module_build
2017-12-11 14:14:39 -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
mprahl
5e9d846872
Fix double tagging on module builds that have all their components reused
2017-11-28 09:50:35 -05:00
Matt Prahl
40a76faae9
Merge #808 Fix "instant complete" builds and "reuse all" builds
2017-11-27 21:38:21 +00:00
Matt Prahl
f56bc40160
Merge #814 Use koji.BUILD_STATES when filtering component builds by state name
2017-11-27 21:36:56 +00:00
mprahl
87900585da
Use koji.BUILD_STATES when filtering component builds by state name
2017-11-27 16:34:42 -05:00
mprahl
30ef85af01
Fix "instant complete" builds and reusing all components
2017-11-27 16:20:28 -05:00
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