Commit Graph

1123 Commits

Author SHA1 Message Date
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 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
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
Jan Kaluza
4a473953ae 1.3.11 v1.3.11 2017-03-17 19:08:03 +01:00
Jan Kaluža
c8e2e06e57 Merge #446 Try to continue batch build only when there are some components to build, expire the build object to force its refresh from database 2017-03-17 18:07:29 +00:00
Jan Kaluza
1c16c78cf9 Try to continue batch build only when there are some components to build 2017-03-17 18:55:54 +01:00