Commit Graph

441 Commits

Author SHA1 Message Date
Jan Kaluža
6307e5a692 Merge #484 Trigger newRepo manually when all components are tagged to buildroot 2017-04-06 15:40:30 +00:00
Jan Kaluža
2eecf690dd Merge #486 Do not try to rebuild the module-build-macros when it already exists in buildroot. 2017-04-06 15:36:05 +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
9c875ce032 Do not try to rebuild the module-build-macros when it already exists in buildroot. 2017-04-06 16:40:12 +02:00
Jan Kaluža
a725303ba3 Merge #483 Use Koji multicall when tagging builds. Do not query Koji to get the status of builds which we are reusing from previous module build. 2017-04-06 12:10:45 +00:00
Jan Kaluza
7fa1dda076 Fix #476 - use '--release f26' when building srpm for local builds 2017-04-05 12:46:44 +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
7e5743248e Use Koji multicall when tagging builds. Do not query Koji to get the status of builds which we are reusing from previous module build. 2017-04-05 10:25:45 +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 Kaluza
acf0e7097c Use FAS groups to manage MBS admins 2017-04-04 16:39:10 +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
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
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
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
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
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 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
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
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
Jakub Kadlčík
81ff98cfed Not fail when there is no scmurl 2017-03-21 14:52:22 +01:00
Jakub Kadlčík
a24b49e162 Generate buildsys.repo.done locally 2017-03-21 07:59:35 +01:00
Jakub Kadlčík
6ec3a63517 Remove waiting till all builds are finished (old fedmsg workaround) 2017-03-21 07:50:54 +01:00
Jakub Kadlčík
61b74293b1 Rather extend koji message so we can have additional arguments for copr 2017-03-21 07:47:25 +01:00
Jakub Kadlčík
d13adc81df Filter only module builds with scmurl 2017-03-20 19:51:50 +01:00
Jakub Kadlčík
95dee6c463 Not fail when 'ref' is missing 2017-03-20 19:46:14 +01:00
Jakub Kadlčík
9b02605370 Fix format_mmd function for empty scmurl 2017-03-20 19:46:10 +01:00
Jakub Kadlčík
3de12fee23 Create record about module and build it separately 2017-03-20 17:57:33 +01:00