Commit Graph

28 Commits

Author SHA1 Message Date
Matt Prahl
61a724d0d9 Use the database in test_repo_done.py tests 2016-12-12 09:00:44 -05:00
Jan Kaluza
9aca8057a3 Handle the exception in builder.build(...) code and do not mark whole module as failed - mark just the particular component. 2016-11-18 19:09:03 +01:00
Matt Prahl
244b77f54c Add component build throttling 2016-11-16 15:24:17 -05:00
Matt Prahl
62654f871f Fixes bug where the build tag was not returned 2016-11-16 15:24:16 -05:00
Jan Kaluza
2b7ebdfc6f Fix #172 - Set ComponentBuild.batch according to mmd.buildorder attribute 2016-11-16 12:41:06 +01:00
Jan Kaluza
966a73251a Add support for modulemd-1.0 backward-incompatible changes like commit being replaced by ref 2016-11-14 15:32:51 +01:00
Jan Kaluza
42138810d5 Fix KojiModuleBuilder.build return values in tests 2016-11-01 12:05:08 +01:00
Jan Kaluza
6fd16587bc Ignore repository builds without the '-build' suffix. 2016-10-31 13:14:31 +01:00
Matt Prahl
b4082dc551 Rename module from rida to module_build_service
Rename routes from /rida/1/module-builds/ to /module-build-service/1/module-builds/
2016-10-24 10:30:23 -04:00
Ralph Bean
a551ad9214 Fix the test suite.
This was added in #92.

But the function got renamed in 31ec1835db.

Merge hell.
2016-10-21 11:47:20 -04:00
Ralph Bean
67f72b8379 Merge #92 Fix #85 - Add 'fail_reason' to ComponentBuild and ModuleBuild models to have a user-friendly error message when build fails. 2016-10-20 18:25:27 +00:00
Jan Kaluza
50273b4dbd Fix #85 - Add 'state_reason' to ComponentBuild and ModuleBuild models to have a user-friendly error message when build fails. 2016-10-20 10:18:25 +02:00
Nils Philippsen
31ec1835db rename method to KojiModuleBuilder.get_session()
KojiModuleBuilder.get_session_from_config() will require the owner as an
argument, therefore drop encoding arguments in the method name.
2016-10-04 13:58:23 +02:00
Matt Prahl
23f057b750 Use abstract message classes instead of legacy code 2016-09-21 14:58:10 +02:00
Nils Philippsen
4bb5227aec add 'connect' parameter which was missing
Not sure if that needs to be there, it's not used at all in the method.
Side-effects?
2016-08-24 16:37:55 +02:00
Lubos Kocman
68e32ee8c7 idempotent KojiBuilder implementation of rida/builder.py
- Allows to call build() and connect() multiple times. This needs to be
  followed by allowing to resubmit module build tasks in REST.
- rename buildroot_add_repo() to buildroot_add_repos() (input data is artifacts)

Signed-off-by: Lubos Kocman <lkocman@redhat.com>
Signed-off-by: Nils Philippsen <nils@redhat.com>
2016-08-22 18:20:24 +02:00
Ralph Bean
59ebcdbb84 Get the test suite working again. 2016-08-10 16:15:01 -04:00
Matt Prahl
7a928c3e8c Adds database migration support, converts rida.conf to config.py, adds Vagrant support, seperates out app views to views.py, control of the app now manage.py 2016-08-01 13:22:01 -04:00
Ralph Bean
0b0021b5ea Merge branch 'master' into ridad
Also, fix tests.
2016-07-27 13:34:32 -04:00
Ralph Bean
4edada2e15 Try to get tests working again for jenkins... 2016-07-22 11:18:46 -04:00
Ralph Bean
8b3ed86fa8 Change the names of these classmethods to be a little more generic. 2016-07-20 15:50:48 -04:00
Ralph Bean
d08c7b936b Keep and use the full scm url instead of reconstructing it. 2016-07-20 14:42:56 -04:00
Lubos Kocman
0fbe160af0 waiting for right task_id, cleanup of code 2016-07-20 19:42:30 +02:00
Ralph Bean
379fc3fe5a Get the test suite running again. 2016-07-17 00:16:57 -04:00
Ralph Bean
af86b0a4fc Some test coverage for the repo done code. 2016-07-16 00:15:58 -04:00
Ralph Bean
fe863aa33a Rename this state transition handler. 2016-07-15 14:05:37 -04:00
Ralph Bean
7be07d37b1 Fix a mock that broke. 2016-07-15 13:07:04 -04:00
Ralph Bean
40a3448dca Some handlers and one test. 2016-07-13 16:55:51 -04:00