Commit Graph

65 Commits

Author SHA1 Message Date
Ralph Bean
d83f210297 Get tests of the retry decorator working in the test suite. 2016-11-18 10:19:41 -05:00
Ralph Bean
c65cf0ab7f Merge #207 Fix tests and move duplicate code to separate class. 2016-11-18 14:26:03 +00:00
Jan Kaluza
936c22f33e Fix tests and move duplicate code to separate class. 2016-11-18 15:12:04 +01:00
Filip Valder
9b808d4354 test buildroot_read() incl. FakeKojiModuleBuilder and FakeKojiSession 2016-11-18 14:39:27 +01:00
Filip Valder
35781690a7 wip: new test for KojiModuleBuilder.buildroot_ready() 2016-11-18 10:24:34 +01:00
Filip Valder
37cde8cf2f Load testing values from config 2016-11-18 10:24:34 +01:00
Filip Valder
eee1283a14 PEP8 2016-11-18 10:24:34 +01:00
Filip Valder
62b4a34ffd Load config 2016-11-18 10:24:34 +01:00
Filip Valder
2a53b74bcf Lint 2016-11-18 10:24:34 +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
Matt Prahl
1db4797136 Merge #177 Add support for modulemd-1.0 backward-incompatible changes like commit being replaced by ref 2016-11-14 14:34:08 +00: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
Jakub Kadlčík
57402656d9 Patch tests without having to import CoprClient 2016-11-10 13:27:46 -05:00
Jakub Kadlčík
1f00fa44eb Skip copr tests 2016-11-10 13:27:46 -05:00
Jakub Kadlčík
a09bfbd506 Value of copr_config is not relevant for this tests 2016-11-10 13:27:46 -05:00
Jakub Kadlčík
34a2ea7856 Implement GenericBuilder.repo_from_tag for copr backend 2016-11-10 13:27:46 -05:00
Filip Valder
dd4790f514 fix: issue #159 return state_url in JSON after module build submission 2016-11-07 13:13:01 +01:00
Ralph Bean
b2d1cf9f0d Merge #154 Fix #126 - remove Builder class 2016-11-02 12:54:04 +00:00
Jan Kaluza
d9916a1634 Fix #126 - remove Builder class 2016-11-01 14:44:42 +01:00
Jan Kaluza
42138810d5 Fix KojiModuleBuilder.build return values in tests 2016-11-01 12:05:08 +01:00
Ralph Bean
725fa9f3e0 Merge #150 Ignore repository builds without the '-build' suffix. 2016-10-31 13:03:58 +00:00
Jan Kaluza
6fd16587bc Ignore repository builds without the '-build' suffix. 2016-10-31 13:14:31 +01:00
Jan Kaluza
cc5836d3ce Fix 'We have no record of ...' when Koji task finishes by comparing task_id with task_id and not with buil_id. 2016-10-31 11:27:42 +01:00
Ralph Bean
66de3457af Fix the test suite.
These must've not gotten renamed in a PR merge dance.
2016-10-25 15:09:22 -04:00
Jan Kaluža
17fb31d2fd Merge #124 Fix #117,#51 - Add rida.builder.Builder.tag_to_repo method to get the URL to repository based on a tag name. Also create target when creating build target to ensure this repo is generated for Koji builder. 2016-10-25 14:05:43 +00:00
Courtney Pacheco
8e4af4c985 Adding fakemodule2.yaml (a minimal, componentless module) 2016-10-25 07:58:06 -04:00
Jan Kaluza
a7c2386983 Fix #117,#51 - Add rida.builder.Builder.tag_to_repo method to get the URL to repository based on a tag name. Also create target when creating build target to ensure this repo is generated for Koji builder. 2016-10-25 12:10:16 +02:00
Courtney Pacheco
4127a8c3c3 Adding test to view_test.py and fixing prior commit for 'pdc.py' 2016-10-25 04:44:45 -04: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 Kaluža
a18ccf4f11 Merge #101 Fix #88 - Reject SCM URLs which do not match the URL structure expected by pdc-updater. 2016-10-20 15:27:50 +00:00
Ralph Bean
f54b047f48 Merge #77 Create (koji) builder session on behalf of users 2016-10-20 15:20:12 +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
Jan Kaluza
728eaf2277 Fix #88 - Reject SCM URLs which do not match the URL structure expected by pdc-updater. 2016-10-20 09:54:11 +02:00
Ralph Bean
b1fce413f5 Merge branch 'amq-messaging' 2016-10-18 10:45:59 -04:00
Ralph Bean
04d773b3fb Get the test suite working agian for https://pagure.io/fm-orchestrator/pull-request/73 2016-10-18 10:33:04 -04:00
Jan Kaluza
62a07b4026 Check the SCM availability of components of modulemd file in parallel in multiple threads to save time. 2016-10-14 10:58:58 +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
256a57e906 Remove unnecessary import statement 2016-09-22 12:48:51 +02:00
Jan Kaluza
e236e86fce Prefix API calls with version number (for example '/1/'). Add initial support for multiple versions of API calls. 2016-09-21 15:58:15 +02:00
Matt Prahl
a3ecd4180d Add unit tests for abstract messaging 2016-09-21 14:58:10 +02:00
Matt Prahl
23f057b750 Use abstract message classes instead of legacy code 2016-09-21 14:58:10 +02:00
Matt Prahl
183166ab9c Fix broken unit tests from PR#63 and PR#64 merge 2016-09-12 13:08:33 -04:00
Matt Prahl
dc30b483c5 Merge #64 Add unit tests for API routes 2016-09-12 16:38:55 +00:00
Matt Prahl
fbc5deaa56 Add unit tests for the API routes 2016-09-08 16:41:53 -04:00
Matt Prahl
2a26dd4375 Add function to create dummy data for unit tests 2016-09-08 16:41:32 -04:00
Matt Prahl
2f64e5dc45 Add test configuration 2016-09-08 16:39:08 -04:00