Commit Graph

370 Commits

Author SHA1 Message Date
mprahl
78fea1678b Flake8 fix 2017-11-27 16:20:11 -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
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
Matt Prahl
ea26e0281a Merge #788 Fix bug and clean up scm.get_latest 2017-11-14 13:38:23 +00:00
Matt Prahl
c33a22fd8b Merge #787 Make our builders into setuptools plugins. 2017-11-13 18:56:16 +00:00
Ralph Bean
318117c0c5 Make our builders into setuptools plugins. 2017-11-13 11:16:13 -05:00
mprahl
1622494b17 Replace the name of the "branch" parameter in "scm.get_latest" to "ref" 2017-11-13 09:20:20 -05:00
Matt Prahl
ad60c1c575 Merge #783 Fixed issue with getting the latest ref 2017-11-11 14:06:54 +00:00
Ralph Bean
8431d2698b Explicit imports of builders in the test suite. 2017-11-10 16:03:14 -05:00
Martin Curlej
c76c5dcf15 mbs-build now builds modules only from yaml files 2017-11-10 12:33:42 -05:00
Martin Curlej
11a51a0404 mbs-buil local now builds 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
bb0dde9936 Only complete the module build when *all components are tagged* and a KojiRepoRegen message is received 2017-11-10 08:33:53 -05:00
mprahl
b0eada3e33 Fix KojiContentGenerator from a bug in PR 771 2017-11-10 08:33:53 -05:00
Matt Prahl
d1e80b8ad7 Merge #780 Fix duplicate state traces 2017-11-10 13:32:42 +00:00
Martin Curlej
bf2369e8e0 Fixed issue with getting the latest ref
Signed-off-by: Martin Curlej <mcurlej@redhat.com>
2017-11-09 12:47:08 +01:00
mprahl
104480d365 Set Access-Control-Allow-Origin to * on GET API routes 2017-11-08 21:37:25 -05:00
Ralph Bean
f369182d72 Merge #771 Make the module build log name configurable 2017-11-08 16:12:14 +00:00
mprahl
3ccbb3dd57 Fix duplicate state traces 2017-11-08 10:18:47 -05:00
mprahl
a8421568f9 Fix Flake8 errors 2017-11-08 08:45:58 -05:00
mprahl
b578f802a6 Reenable skipped test 2017-11-07 14:57:27 -05:00
mprahl
d7c49caca8 Skip a test that hangs when run on CentOS CI over SSH 2017-11-07 13:20:38 -05:00
mprahl
9f37288efe Update vcr-request-data 2017-11-07 11:48:12 -05:00
Jakub Kadlcik
f098e6e3b7 Make the module build log name configurable 2017-11-07 00:04:14 +01:00
mprahl
11e39ab0c3 Fix multiple transitions to the failed state 2017-11-06 16:46:57 -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
e91f4fdea6 Revert "added git option which will return correct return code"
This caused an issue when the modulemd had the ref's for its components
as commit hashes instead of branches.

This reverts commit 15f332e60f.
2017-11-03 16:20:33 -04:00
mprahl
58d160cce4 Transition a failed module to wait instead of init upon resuming 2017-11-03 15:12:39 -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
089a0c3db4 Fix typo 2017-11-02 08:37:59 -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
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
mprahl
c7e6fff1d8 Handle module builds without components 2017-10-31 14:47:26 -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
eedf0a1684 Default verbose to false but present a lot more information when verbose is false 2017-10-23 20:19:51 -04: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
Igor Gnatenko
1e6708b34f MockedSCM -> FakeSCM
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-10-18 17:37:13 +02:00