Commit Graph

1134 Commits

Author SHA1 Message Date
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 Kaluža
1df6f8e8ad Merge #470 Try to get the deps from PDC again on ConnectionError exception. 2017-04-03 05:59:25 +00:00
Jan Kaluža
0b1805ee3f Merge #474 Fix #467 - Inject modules.yaml to mock repository 2017-04-03 05:58:16 +00:00
Filip Valder
eaeaf295ab unused method 2017-03-31 22:57:10 +02:00
Filip Valder
6412a7fc0f use module owner for whitelisting Koji packages 2017-03-31 15:19:46 +02:00
Filip Valder
80f78c7e2e rename to match what it actually does 2017-03-31 15:19:46 +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
870ff0f018 re-order ignored files/dirs and add these new:
/.cache/
/.coverage*
/.tox/
2017-03-31 11:29:24 +02:00
Filip Valder
41eaa2b001 include all other deps from test-requirements 2017-03-31 11:29:12 +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
Jan Kaluza
3a25671165 Try to get the deps from PDC again on ConnectionError exception. 2017-03-31 09:06:47 +02:00
Jan Kaluza
47c4363601 Fix #467 - Inject modules.yaml to mock repository 2017-03-30 17:58:55 +02:00
Jan Kaluža
0b12e85e97 Merge #466 Introduce 'admins' config option and allow users defined there to cancel any module build. 2017-03-29 12:46:45 +00:00
Jan Kaluža
f7c8478d9c Merge #448 Copr builder improvements #2 2017-03-29 12:09:43 +00: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
Jakub Kadlčík
70b3782231 Fake repo.done message without publishing it 2017-03-28 19:13:38 +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
Jakub Kadlčík
e00797873e Remove the dumped modulemd file after requests 2017-03-23 20:02:31 +01:00
Jakub Kadlčík
ffbec05c63 Update CoprBuildEnd docstring 2017-03-23 19:56:00 +01:00
Jan Kaluza
ba19f28878 1.3.16 v1.3.16 2017-03-23 17:30:26 +01:00
Matt Prahl
2561930833 Merge #457 Create the builder in components.py handler only when we really need it. 2017-03-23 16:11:18 +00:00
Jan Kaluza
b1217921aa Create the build in components.py handler only when we really need it. 2017-03-23 15:28:24 +01:00
Jan Kaluza
9792715b53 Handle all exceptions in the consumer handlers. 2017-03-23 15:09:12 +01:00
Jan Kaluza
296d69b609 Handle all exceptions in the consumer handlers. 2017-03-23 14:59:38 +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
b4d87c4e25 Retry communication with PDC on RuntimeError exception and increase the timeout to 120 seconds 2017-03-23 12:56:12 +01:00
Jan Kaluza
d7438a4b49 1.3.15 v1.3.15 2017-03-23 10:04:14 +01:00
Jan Kaluža
9c5a97bbd2 Merge #453 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 08:59:51 +00: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
Matt Prahl
ba28bfed6d Merge #452 Fix UnboundLocalError. 2017-03-22 17:51:01 +00:00
Jan Kaluza
74e5ac7e7a 1.3.13 v1.3.13 2017-03-22 18:19:59 +01:00
Jan Kaluža
62a655720d Merge #451 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:16:00 +00:00
Ralph Bean
aabd28b148 Fix UnboundLocalError.
I have hotfixed this in production on mbs-backend01::

    Traceback (most recent call last):
      File "module_build_service/scheduler/consumer.py", line 134, in consume
        self.process_message(session, msg)
      File "module_build_service/scheduler/consumer.py", line 224, in process_message
        for event in further_work:
    UnboundLocalError: local variable 'further_work' referenced before assignment
2017-03-22 13:10:34 -04:00
Ralph Bean
f743aefe5a More bootstrap scripts. 2017-03-22 13:09:29 -04: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 Kaluza
c7a581602f 1.3.12 v1.3.12 2017-03-22 14:48:21 +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