Jakub Kadlčík
6357afd43f
Add missing docstring
2016-11-10 13:27:46 -05:00
Jakub Kadlčík
8c65718daa
Drop get_module_repo function since it is in GenericBuilder
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
Filip Valder
0b7441e8fb
imported but not used
2016-11-07 20:27:03 +01:00
Filip Valder
e4d69962fa
fix: incorporate @ralph 's recommendation: flask.url_for
2016-11-07 20:14:29 +01:00
Filip Valder
dd4790f514
fix: issue #159 return state_url in JSON after module build submission
2016-11-07 13:13:01 +01:00
Jan Kaluza
8339e389be
Fix out-of-memory caused by loading ModuleBuild for every ComponentBuild row from database. Now we lazyload it.
2016-11-03 10:17:03 +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
Matt Prahl
fdbdd6a2c2
Merge #145 Allow handlers to return extra work to the scheduler.
2016-10-31 13:25:06 +00:00
Ralph Bean
c2101df92b
Add comment explaining what's going on here.
2016-10-31 09:06:43 -04:00
Ralph Bean
725fa9f3e0
Merge #150 Ignore repository builds without the '-build' suffix.
2016-10-31 13:03:58 +00:00
Jan Kaluza
6fd16587bc
Ignore repository builds without the '-build' suffix.
2016-10-31 13:14:31 +01:00
Jan Kaluza
cc5836d3ce
Fix 'We have no record of ...' when Koji task finishes by comparing task_id with task_id and not with buil_id.
2016-10-31 11:27:42 +01:00
Jan Kaluža
ef395fcaeb
Merge #146 Use the local session, not the Flask-managed one.
2016-10-31 09:09:35 +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
b3ae06f824
Use the local session, not the Flask-managed one.
2016-10-29 16:00:11 -04:00
Ralph Bean
fdb735de44
Allow handlers to return extra work to the scheduler.
2016-10-29 15:55:06 -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
Matt Prahl
2c800a63b9
Merge #137 Disable our usage of the koji proxyuser feature.
2016-10-28 14:13:52 +00: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
Ralph Bean
bb317a9323
Fix typo bug in our existence check.
...
This gave a traceback every time before. We need a trailing comma there
in order to make that an `iterable`, otherwise our `in` check doesn't
make any sense.
2016-10-27 15:59:41 -04:00
Jan Kaluza
7f898307f5
Remove 'module-' prefix from koji_tag in module_depsolving_wrapper
2016-10-27 13:47:13 +02:00
Jan Kaluža
21c9a2fb8a
Merge #133 KojiModuleBuilder.get_session: Retry on ProtocolError and GenericError.
2016-10-27 09:09:46 +00:00
Ralph Bean
41bdf32aa2
Merge #131 Allow optional authz, to make dev much simpler.
2016-10-27 08:43:17 +00:00
Jan Kaluza
b519bb08d4
KojiModuleBuilder.get_session: Retry on ProtocolError and GenericError.
2016-10-27 09:29:10 +02:00
Ralph Bean
11149b13d2
Remove unused function.
2016-10-26 15:44:29 -04:00
Ralph Bean
1ce135412f
Allow optional authz, to make dev much simpler.
2016-10-26 15:44:21 -04:00
Matt Prahl
ed5a5c83b3
Merge #129 Updating 'module_build_service/config.py' and adding 'python-mock' to Vagrantfile
2016-10-26 12:13:27 +00:00
Jan Kaluza
a2c870c336
Fix #109 - Use priority 10 (configurable) for Koji builds
2016-10-26 10:21:45 +02:00
Courtney Pacheco
3be788f602
Updating 'module_build_service/config.py' and adding 'python-mock' to Vagrantfile
2016-10-26 04:21:01 -04: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 Kaluža
17fb31d2fd
Merge #124 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 14:05:43 +00: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
Courtney Pacheco
4127a8c3c3
Adding test to view_test.py and fixing prior commit for 'pdc.py'
2016-10-25 04:44:45 -04:00
Courtney Pacheco
29733e02e5
Modifying test requirements & updating pdc.py to use the new 'module_build_service' name in place of 'rida'
2016-10-25 03:43:20 -04:00
Courtney Pacheco
dbe26fcfb5
Adding code to handle componentless builds
2016-10-25 03:29:58 -04:00
Jakub Kadlčík
070693baa3
Add owner param to CoprModuleBuilder constructor
2016-10-24 20:46:50 +02:00
Jakub Kadlčík
900b9dd88d
Use rida.conf for specifying path to copr config
2016-10-24 20:46:50 +02:00
Jakub Kadlčík
64ae340122
Use python-copr to get DNF repo URL
2016-10-24 20:46:49 +02:00
Jakub Kadlčík
f28d69dc83
Use Copr API to get DNF repo URL
2016-10-24 20:46:49 +02:00