Commit Graph

478 Commits

Author SHA1 Message Date
Ralph Bean
f877b377d3 Merge #138 Add a HACKING.rst doc alongside README.rst. 2016-10-28 16:03:43 +00:00
Ralph Bean
61a260d020 Adjust CONTRIBUTING.rst doc based on PR feedback. 2016-10-28 11:51:39 -04:00
Matt Prahl
2c800a63b9 Merge #137 Disable our usage of the koji proxyuser feature. 2016-10-28 14:13:52 +00:00
Matt Prahl
3d767151cf Merge #135 Get docker-compose actually working! 2016-10-28 14:12:44 +00:00
Ralph Bean
bf33dfbb95 Move the db initialization to a side container so we don't have to rebuild to nuke the db. 2016-10-28 10:11:28 -04:00
Ralph Bean
6a12323242 Whitespace, for readability. 2016-10-28 10:11:28 -04:00
Ralph Bean
d5aca36098 Simplify these build lines. 2016-10-28 10:11:28 -04:00
Ralph Bean
2eb03ca32e Silence one really noisy logger from python-requests. 2016-10-28 10:11:28 -04:00
Ralph Bean
3a18e156ed Adjust fedmsg config to work in our docker-compose environment. 2016-10-28 10:11:28 -04:00
Ralph Bean
fffb7d341f Get the network and database shared across our containers correctly. 2016-10-28 10:11:28 -04:00
Ralph Bean
f9bc94cc92 Add network utilities to help debug docker-compose container network. 2016-10-28 10:10:09 -04:00
Ralph Bean
174a4b66cf Add a HACKING.rst doc alongside README.rst. 2016-10-27 16:17:25 -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
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
Ralph Bean
8e6ce2ef6f Merge #134 Remove 'module-' prefix from koji_tag in module_depsolving_wrapper 2016-10-27 15:12:43 +00:00
Matt Prahl
011b0e73cf Merge #132 Some fixes for the dockerfile. 2016-10-27 12:48:06 +00: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
3d7cbfbc11 Adjust indentation. 2016-10-27 04:48:16 -04: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
c025aeeff6 Add the git package to the docker image. 2016-10-26 15:46:07 -04:00
Ralph Bean
120e1eb84a Reformat this line to be more maintainable. 2016-10-26 15:45:42 -04: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
8a9bf92147 Merge #130 Use a different selinux context so the volume can be shared. 2016-10-26 17:27:27 +00:00
Ralph Bean
a80c6f3a41 Use a different selinux context so the volume can be shared.
See http://www.projectatomic.io/blog/2015/06/using-volumes-with-docker-can-cause-problems-with-selinux/
2016-10-26 13:21:54 -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
Matt Prahl
e68a4aa073 Merge #121 Get docker-compose working. 2016-10-25 20:11:06 +00:00
Ralph Bean
0d08f367eb No need for this, apparently. 2016-10-25 16:09:51 -04:00
Matt Prahl
175ea475b6 Merge #119 Move the command to docker-compose. 2016-10-25 19:27:10 +00:00
Ralph Bean
85dfef466b Merge #120 Make CoprClient import optional. 2016-10-25 19:15:59 +00: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
Ralph Bean
66de3457af Fix the test suite.
These must've not gotten renamed in a PR merge dance.
2016-10-25 15:09:22 -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
Courtney Pacheco
32c623769e Merge #123 Updating code to allow for componentless module builds 2016-10-25 14:03:49 +00:00
Courtney Pacheco
8e4af4c985 Adding fakemodule2.yaml (a minimal, componentless module) 2016-10-25 07:58:06 -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
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
Ralph Bean
4df6c0baaa Get docker-compose working.
This was primarily about figuring out that the PYTHONPATH var was missing.
2016-10-24 21:29:57 -04:00
Ralph Bean
b9251dee9e Move the command to docker-compose. 2016-10-24 20:52:10 -04:00
Ralph Bean
4a615d5144 A docker-compose service cannot depend on itself. 2016-10-24 20:50:55 -04:00
Jakub Kadlčík
05b1ea3ed9 Revert "Require copr > 1.74 for module repo API"
Revert until copr > 1.74 with required API method is released.
Also all copr dependencies should be optional.
This reverts commit 438df130d5958215f93cc448d06ec2dba3b42f97.
2016-10-24 20:46:50 +02:00
Jakub Kadlčík
070693baa3 Add owner param to CoprModuleBuilder constructor 2016-10-24 20:46:50 +02:00
Jakub Kadlčík
69e4fca381 Copy copr.conf to /etc/rida 2016-10-24 20:46:50 +02:00