Filip Valder
99c3c1e717
catch on IOError and retry
2016-11-18 14:37:54 +01:00
Ralph Bean
a45eba41e8
Merge #194 Allow configurable mock resultsdir and backup logs after each component build
2016-11-16 20:47:18 +00:00
Jakub Kadlčík
f62ea2f82e
This repo_from_tag belongs to copr builder
2016-11-16 11:23:48 +01:00
Jan Kaluza
c9aff6f9e7
Allow configurable mock resultsdir and backup logs after each
2016-11-16 10:24:39 +01:00
Ralph Bean
83bc4eb077
Add a _module_build macro flag.
...
Fixes #185 .
2016-11-14 14:08:04 -05: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
9ea879b49f
Add some TODOs
2016-11-10 13:27:46 -05:00
Jakub Kadlčík
864789d1d4
Refactor __init__ method of copr builder
2016-11-10 13:27:46 -05:00
Jakub Kadlčík
fbe362bbd7
Fix issue with creating project for group
2016-11-10 13:27:46 -05:00
Jakub Kadlčík
ebb71af659
Implement buildroot_connect for copr
2016-11-10 13:27:46 -05:00
Jakub Kadlčík
a625bc89a1
Remove outdated methods
2016-11-10 13:27:46 -05:00
Jakub Kadlčík
8ad0e6bea9
Filter module by name
2016-11-10 13:27:46 -05:00
Jakub Kadlčík
33bb92422b
Return 4-tuple as expected
2016-11-10 13:27:46 -05:00
Jakub Kadlčík
35983917cd
Add missing docstrings
2016-11-10 13:27:46 -05:00
Jakub Kadlčík
63c0d68360
Do not create copr client in every method
2016-11-10 13:27:46 -05:00
Jakub Kadlčík
de3ff3efc3
Implement adding external repos to copr
2016-11-10 13:27:46 -05:00
Jakub Kadlčík
6948b31d7e
Build package from source parameter
2016-11-10 13:27:46 -05:00
Jakub Kadlčík
6357afd43f
Add missing docstring
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
Jan Kaluza
7b9e4f7234
Initial version of mock backend
2016-11-10 09:57:00 +01:00
Ralph Bean
28183b9d3f
Fix an error in the KojiBuilder.
...
The issue is that _get_task_by_artifact returns either None or a dict of
info and we weren't handling that correctly. My mistake.
2016-11-02 10:23:42 -04: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
7ff97cbe43
Merge #147 Pass around more info on pre-built components
2016-10-31 15:14:38 +00:00
Jan Kaluža
9124a24f21
Merge #144 Some helpful kerberos logging.
2016-10-31 09:06:42 +00:00
Ralph Bean
99b0993fe0
Pass around more info on pre-built components so we can resume module builds.
2016-10-29 16:12:24 -04:00
Ralph Bean
77d8756384
Some helpful kerberos logging.
2016-10-29 15:50:48 -04:00
Ralph Bean
22e0472bb6
Typofix.
2016-10-29 14:25:21 -04:00
Ralph Bean
b35b7d9577
Log the authtype.
2016-10-28 16:48:41 -04:00
Ralph Bean
f3ebe112a2
Make our use of proxyuser configurable.
2016-10-28 15:46:15 -04:00
Ralph Bean
3786af7467
Disable our usage of the koji proxyuser feature.
...
Unfortunately, the proxyuser method requires that we add all of the
modularity developers to the ProxyDNs entry in the staging koji-hub
config, and that's just not going to happen.
We get to re-work this in this ticket anyways,
https://pagure.io/fm-orchestrator/issue/112
While the proxyuser argument is in place, we can submit no builds to
koji at all (as far as I can tell), so this blocks further development.
2016-10-27 16:03:22 -04:00
Jan Kaluza
b519bb08d4
KojiModuleBuilder.get_session: Retry on ProtocolError and GenericError.
2016-10-27 09:29:10 +02:00
Jan Kaluza
a2c870c336
Fix #109 - Use priority 10 (configurable) for Koji builds
2016-10-26 10:21:45 +02:00
Ralph Bean
d9722e9ed6
Move CoprClient imports inside the functions where they are referenced.
2016-10-25 15:15:16 -04:00
Ralph Bean
77befa7dad
Make CoprClient import optional.
...
Also, fix one last reference to the old rida module name that I noticed while I was in there.
2016-10-25 15:15:16 -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
Jakub Kadlčík
070693baa3
Add owner param to CoprModuleBuilder constructor
2016-10-24 20:46:50 +02:00
Jakub Kadlčík
22bbeed185
Fix failing tests on Builder backend
2016-10-24 20:46:49 +02:00
Jakub Kadlčík
5c78ce3421
Define empty buildroot_connect buildroot_add_repos Copr methods
2016-10-24 20:46:07 +02:00
Jakub Kadlčík
24ce215f4e
Add link to building workflow
2016-10-24 20:46:07 +02:00
Jakub Kadlčík
397d445f83
Submit a modulemd to Copr service
2016-10-24 20:46:07 +02:00
Jakub Kadlčík
57b0c8b86c
Add CoprModuleBuilder skeleton
2016-10-24 20:46:07 +02: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