Commit Graph

806 Commits

Author SHA1 Message Date
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
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
94aff8935e Reset the component state reasons when a module build is resumed 2018-01-23 09:42:38 -05:00
mprahl
667e946444 Reset the module-build-macros state when building it from a resumed module build 2018-01-23 09:41:59 -05:00
mprahl
bf80ce4537 Don't traceback on failed task cancellations and log those exceptions 2018-01-22 15:20:41 -05:00
mprahl
3c07ea38e4 Cancel new repo tasks on module build failures 2018-01-22 14:39:30 -05:00
mprahl
7b7211e4ee Fix an error that occurs when a module build is resumed and module-build-macros was cancelled 2018-01-22 13:30:43 -05:00
Matt Prahl
a48cb841fb Merge #841 Use Koji repos if possible during local builds 2018-01-19 13:45:35 +00:00
mprahl
55d07aa8f5 Use Koji repos if possible during local builds 2018-01-18 17:02:03 -05:00
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
Ralph Bean
c21f1d34a3 Faster SCM tests.
Fixes #832.

The slow tests there are hobbled by this `retry(...)` decorator with hardcoded
timeouts.  We want those to be relatively long in prod and relatively short in
test and dev.
2018-01-15 16:30:52 -05:00
mprahl
c0ec0f82c1 Remove urlgrabber as a dependency 2018-01-03 10:21:37 -05:00
Ralph Bean
56d01be3b0 Set an explicit log level on our per-build file handler.
This is a bit of a stab in the dark.

In some environments, our build.log files have little to no contents.  This
might be because we don't have an explicit log level set, but maybe not.
2017-12-15 16:24:27 -05:00
Matt Prahl
564e1a8773 Merge #824 Remove unused yaml argument in utils.submit_module_build 2017-12-13 18:42:46 +00:00
mprahl
c1dbe9be27 Remove unused yaml argument in utils.submit_module_build 2017-12-11 14:14:39 -05:00
mprahl
a5d2dc3d66 Set the timeout on git operations to 60 seconds to help alleviate client tooling timeouts 2017-12-11 14:03:49 -05:00
mprahl
a54045e518 Don't run KojiModuleBuilder.buildroot_connect in the stale module builds poller 2017-12-11 13:27:30 -05:00
mprahl
f478e69307 Clarify and add log statements when an orphaned module-build-macros is used 2017-12-08 16:07:32 -05:00
mprahl
1fa6cc6fc5 Clarify log statements and code when tagging when the batch is done 2017-12-08 16:06:18 -05:00
mprahl
aa4ca009ef Fix situations where module-build-macros builds in Koji but fails in MBS and the build is resumed 2017-12-08 15:50:55 -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
Matt Prahl
d0adebf8d3 Merge #815 honor custom RPM %_sourcedir 2017-11-28 15:22:29 +00:00
mprahl
5e9d846872 Fix double tagging on module builds that have all their components reused 2017-11-28 09:50:35 -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
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
cf44455ff2 Add a missing docstring to 'untag_artifacts' 2017-11-27 16:20:28 -05:00
Matt Prahl
93efdd08a6 Merge #812 Return a friendly error when the 'id' is provided as a query parameter 2017-11-27 21:02:16 +00:00
mprahl
53dc444214 Allow filtering on all table columns 2017-11-27 15:08:58 -05:00
mprahl
b752a9741a Return a friendly error when the 'id' is provided as a query parameter 2017-11-27 11:58:56 -05:00
mprahl
c81cd7c964 Support git+https:// git URLs 2017-11-23 14:20:37 -05:00
Jakub Kadlcik
5eef24c1a8 Install also packages from the buildroot profile 2017-11-21 11:45:30 +01:00
Martin Curlej
a1fd9daa73 Moved skiptests cli option 2017-11-21 09:07:32 +01:00
mprahl
02e11b9b39 Don't try to untag stale module builds that don't have any completed components 2017-11-20 10:38:56 -05:00
mprahl
0e7dd2dad3 Add a "short" query parameter to show less detail on the "module-builds" API 2017-11-17 13:19:48 -05:00
mprahl
ef5dc64f2b Transition stale failed builds to the "garbage" state and untag their components 2017-11-17 12:07:51 -05:00
mprahl
9890277620 Make "state_url" optional in the "extended_json" function since creating an app context causes SQLAlchemy issues on the backend 2017-11-17 12:07:51 -05:00
Matt Prahl
88d655d099 Merge #799 Fail module builds directly when a component build in a batch fails 2017-11-17 16:39:40 +00:00
mprahl
df5b9ab04a Ignore entries in "git ls-remote" with "refs/remotes/origin/" 2017-11-17 11:35:35 -05:00
mprahl
fa6f43e748 Fail module builds directly when a component build in a batch fails 2017-11-17 10:44:15 -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