Commit Graph

222 Commits

Author SHA1 Message Date
Jakub Kadlčík
dde4e4b801 Add VCR file for test_submit_custom_scmurl 2017-04-27 19:30:06 +02:00
Jakub Kadlčík
03f8a54fdd Test allow_custom_urls config option 2017-04-24 21:17:41 +02:00
Matt Prahl
dd72504395 Merge #509 Pass the whole ModuleBuild object to the builder 2017-04-13 15:54:18 +00:00
Jakub Kadlčík
e8dd847cea Run init_data() before querying a module 2017-04-13 17:42:12 +02:00
Jakub Kadlčík
e3c3167fae Don't mock the ModuleBuild class with namedtuple for tests 2017-04-13 16:44:55 +02:00
Jan Kaluža
27523d32f3 Merge #508 Do not start new batch in poller when new_repo is running 2017-04-13 08:33:20 +00:00
Jakub Kadlčík
b78b0346d2 Pass the module build into builder 2017-04-12 23:53:55 +02:00
Jan Kaluza
9e6e199a22 Use db.session.refresh instead of expunge and fix typo in create_builder 2017-04-12 07:25:00 +02:00
Jan Kaluza
9a193c36af Do not start new batch in poller when new_repo is running 2017-04-11 19:51:55 +02:00
Ralph Bean
65950304ca Merge #505 Allow querying for module builds by koji tag. 2017-04-11 13:02:15 +00:00
Filip Valder
0338e12699 Merge #462 Fix #434 - return Not Found in case of a commit hash which is not found within the repository 2017-04-11 08:45:18 +00:00
Jan Kaluža
9f2d964cef Merge #491 Copr builder improvements #3 2017-04-11 05:51:46 +00:00
Ralph Bean
57f357b188 VCR data. 2017-04-10 14:33:49 -04:00
Ralph Bean
fae7848fa4 Allow querying for module builds by koji tag.
This way, if a component build fails and you want to find out who
submitted it, you can track the:

    koji build -> koji tag -> module build -> owner
2017-04-10 14:32:08 -04:00
Jakub Kadlčík
7c81a72138 Update CoprBuildEnd message to reflect actual data 2017-04-10 20:28:53 +02:00
Filip Valder
a192dab1e2 return Unprocessable Entity in case of a commit hash which is not found within the repository 2017-04-10 16:41:24 +02:00
Jan Kaluza
626c0ad99a Get only active modules as a dependency of another modules 2017-04-07 17:52:45 +02:00
Jan Kaluža
a4de06bc40 Merge #493 Start newRepo only when all the COMPLETE components have been tagged and there are no unbuilt components in a batch 2017-04-07 13:25:13 +00:00
Jan Kaluza
cdf06ad999 Start newRepo only when all the COMPLETE components have been tagged and there are no unbuilt components in a batch 2017-04-07 11:34:16 +02:00
Filip Valder
0ccb5d3939 just compare the two sets (w/-o any ordering) 2017-04-07 10:36:46 +02:00
Jakub Kadlčík
469cbc8846 Fix failing test after separating builders
Thanks to @jkaluza for this patch
2017-04-07 08:22:59 +02:00
Jakub Kadlčík
6a3de70e8f Use the real testing config not mock 2017-04-07 08:22:59 +02:00
Jan Kaluža
9c60457dda Merge #461 NO_AUTH bugfix and improvement 2017-04-07 06:01:42 +00:00
Jan Kaluza
8bbe2d359f Trigger newRepo by MBS instead of waiting on Kojira in case when we have sucessfully tagged all the components 2017-04-06 17:19:35 +02:00
Jan Kaluza
061d346d7c Revert "Trigger newRepo manually when Kojira does not manage to build it in 20 minutes."
This reverts commit 2fcd66ad53.
2017-04-05 12:41:29 +02:00
Jan Kaluza
2fcd66ad53 Trigger newRepo manually when Kojira does not manage to build it in 20 minutes. 2017-04-05 10:18:31 +02:00
Jan Kaluža
dc46b6aaa4 Merge #482 Fix another place where tests depend on the right ordering in lists 2017-04-04 16:44:24 +00:00
Jan Kaluza
acf0e7097c Use FAS groups to manage MBS admins 2017-04-04 16:39:10 +02:00
Jan Kaluza
0e4c106ebb Fix another place where tests depend on the right ordering in lists 2017-04-04 09:36:32 +02:00
Jan Kaluza
4c5732957c include %module_name, %module_stream and %module_version in the module-build-macros and fix sending active=True in pdc.py 2017-03-31 15:18:53 +02:00
Filip Valder
e6d80c0293 introduce tox & pytest as well as other stuff (flake8, bandit and prepare for future automated build&release steps) 2017-03-31 11:15:32 +02:00
Jan Kaluza
7fb73da3b7 Fix randomly failing test_build tests caused by different ordering of built components. 2017-03-31 10:47:19 +02:00
Jakub Kadlčík
dcba6c8995 Support NO_AUTH changing owner in patch method 2017-03-30 12:21:01 +02:00
Jakub Kadlčík
9a296ee451 Test build submitting with NO_AUTH 2017-03-30 11:21:37 +02:00
Jakub Kadlčík
8626f974cf Set anonymous owner when NO_AUTH 2017-03-30 11:01:13 +02:00
Jan Kaluza
c5f9d713cc Introduce 'admins' config option and allow users defined there to cancel any module build. 2017-03-29 12:58:44 +02:00
Jan Kaluža
8bdb151840 Merge #360 Fix format_mmd function for empty scmurl 2017-03-28 14:06:17 +00:00
Jan Kaluža
dceff4c0c7 Merge #464 Do not create new batch for included module if it is not requested by its buildorder. 2017-03-28 14:05:16 +00:00
Jakub Kadlčík
2c3e47d1d5 Update version and ref for base-runtime 2017-03-28 16:01:48 +02:00
Jan Kaluza
f66de75272 Do not create new batch for included module if it is not requested by its buildorder. 2017-03-28 15:45:36 +02:00
Jan Kaluza
597973da98 For mock backend, build all the components in batch in single continue_batch_build call. 2017-03-28 15:44:01 +02:00
Jan Kaluza
9792715b53 Handle all exceptions in the consumer handlers. 2017-03-23 15:09:12 +01:00
Jan Kaluza
4a6d961d66 Handle situation when all component builds in a batch fail 2017-03-23 14:25:20 +01:00
Jan Kaluza
f52249decd Return only the direct build-requires of a module in get_module_build_dependencies and remove module_depsolving_wrapper, because it is not needed anymore. 2017-03-23 09:54:35 +01:00
Jan Kaluza
1487fd01f2 Remove is_waiting_for_repo_regen and use buildroot_ready instead. Do not get buildroot dependencies from the buildrequires recursively. Do not validate Koji tags to inherit. 2017-03-22 17:29:05 +01:00
Jan Kaluža
a2ba358c71 Merge #447 Do not allow starting next batch if the Koji is still building new repo. 2017-03-22 13:43:07 +00:00
Jan Kaluza
09601cfbb6 Do not allow starting next batch if the Koji is still building new repo. 2017-03-22 14:40:18 +01:00
Jan Kaluza
a9fdf08c6f Do not fetch profiles in resolve_profiles recursively. When we are building a module, we just need profiles from build-requires of this particular module, but not all the modules downstream. 2017-03-22 09:29:08 +01:00
Jan Kaluza
2fda828cd3 Use fedora production PDC in tests. 2017-03-21 18:30:20 +01:00
Jakub Kadlčík
95dee6c463 Not fail when 'ref' is missing 2017-03-20 19:46:14 +01:00