Commit Graph

818 Commits

Author SHA1 Message Date
Jan Kaluža
acc6bbc2c1 Merge #280 Make SCM check faster by consolidating two SCM checks to single check executed in ThreadPool. Use 'git checkout' instead of HTTP HEAD request, because it is much faster in Fedora cgit case. 2017-01-12 09:12:05 +00:00
Filip Valder
5ea74fec20 fix scheduler (ensure existing entry points, fix mbsproducer->mbspoller) 2017-01-11 15:23:52 +01:00
Jan Kaluza
008f2c9d29 Make SCM check faster by consolidating two SCM checks to single check executed in ThreadPool. Use 'git checkout' instead of HTTP HEAD request, because it is much faster in Fedora cgit case. 2017-01-11 15:09:49 +01:00
Ralph Bean
6cfe487d46 Change message topic service to be more short.
This is just so that the topic doesn't end up being super long like
`org.fedoraproject.prod.module_build_service.module.state.change`

The new value will be:
`org.fedoraproject.prod.mbs.module.state.change`

Currently, the only thing listening for this is pdc-updater, which I
will patch.
2017-01-10 12:34:17 -05:00
Jan Kaluza
c6d8198ac8 Mock: Use metadata_expire=1 for localrepo to trigger metadata expire during batches, fix removal of repodata/repomd.xml during the Mock builder init, call create-repo before installing module-build-macros 2017-01-09 17:18:54 +01:00
Filip Valder
4f3a649d3d Merge #275 Fix #266 - Provide man pages using help2man 2017-01-06 16:07:17 +00:00
Filip Valder
a62f2dae18 func wrapper for console scripts (command aliases); fix/add docstrings for proper conversion Flask-Script -> help2man 2017-01-06 16:57:44 +01:00
Filip Valder
81fbef4c9e introduce help2man for creating man pages 2017-01-06 16:57:44 +01:00
Jan Kaluža
87830b5b13 Merge #274 Fix #41 - Tag builds only in the end of the batch to not regen repository all the time. 2017-01-06 15:27:08 +00:00
Jan Kaluza
23802418af Fix tag_artifacts with concurrent build threshold, do not send repo-done in Mock backend after each build, but just after the tag_artifacts call. 2017-01-06 11:04:54 +01:00
Jan Kaluza
ab567803e8 Fix #41 - Tag builds only in the end of the badge to not regen repository all the time. 2017-01-05 15:24:46 +01:00
Filip Valder
b28a5a36aa Merge #271 Various minor changes 2017-01-05 14:24:27 +00:00
Filip Valder
809820144d hint on getting outputs 2017-01-05 14:49:10 +01:00
Filip Valder
25503a0b7b separate script section for running services; forward communication to 127.0.0.1 2017-01-05 13:46:43 +01:00
Filip Valder
d7e74b5a0f hosts record for fedmsg-relay 2017-01-05 13:45:35 +01:00
Filip Valder
c5227283b4 - partially update docs and re-format it
- add 'Module submission' section
- language fixes, thx to @mprahl
2016-12-21 12:28:44 +01:00
Jan Kaluza
174e657379 MBSConsumer: Handle initial messages in right order, override validate for non-fedmsg messaging backends. 2016-12-19 12:47:57 +01:00
Filip Valder
7762fb7adb communication with pdc-updater devel + docs 2016-12-16 12:42:16 +01:00
Filip Valder
c02eb754c5 install test-requirements.txt in docker/vagrant (use the same way) 2016-12-16 12:38:37 +01:00
Ralph Bean
cc5b363b28 Merge #263 Migrate scheduler to be run by fedmsg-hub 2016-12-15 21:48:08 +00:00
Ralph Bean
e5270d0932 Some clarifying comments. 2016-12-15 16:45:32 -05:00
Ralph Bean
546e2f5529 Remove test_messaging_functions as per review feedback. 2016-12-15 16:37:55 -05:00
Matt Prahl
66ed35d867 Modified the spec file for fedmsg-hub 2016-12-15 16:27:17 -05:00
Matt Prahl
f2a02027a9 Fix Vagrant 2016-12-15 16:27:17 -05:00
Ralph Bean
5c3d46595a Use the same key for this that we used to use. 2016-12-15 16:27:17 -05:00
Ralph Bean
908f440357 Make BaseMessage instances appear a bit more like JSON so they can make it through moksha validation. 2016-12-15 16:27:17 -05:00
Ralph Bean
c9d1a000be Also psutil. 2016-12-15 16:27:17 -05:00
Ralph Bean
a45232b734 We require moksha.hub now. 2016-12-15 16:27:17 -05:00
Ralph Bean
3bf952cda6 Tell moksha to just listen to /dev/null for local builds. 2016-12-15 16:27:17 -05:00
Ralph Bean
775819e87c Bugfix to shutdown and restart for the test suite. 2016-12-15 16:27:17 -05:00
Ralph Bean
9d3b85426d Bring back the in-memory messaging backend. 2016-12-15 16:27:17 -05:00
Ralph Bean
a94cd53afd Make this more easily discoverable by nosetests. 2016-12-15 16:27:16 -05:00
Ralph Bean
21a902ab5e Some debugging on the stop_condition. 2016-12-15 16:27:16 -05:00
Ralph Bean
29747a7ea7 Allow restarting the reactor for multiple tests. 2016-12-15 16:27:16 -05:00
Ralph Bean
b2cf02080d A few bugfixes. 2016-12-15 16:27:16 -05:00
Ralph Bean
40afb55ccf Revert "Disable these testmodule integration tests for now."
This reverts commit c2853026cc0e89e1cb34ed884af4e64a2da39052.
2016-12-15 16:27:16 -05:00
Matt Prahl
2e9e31eb56 Fix the 'process_waiting_module_builds' function in the scheduler 2016-12-15 16:27:16 -05:00
Ralph Bean
63beecbb0e Remove tests of deleted code. 2016-12-15 16:27:16 -05:00
Ralph Bean
c3f73e76de Disable these testmodule integration tests for now. 2016-12-15 16:27:16 -05:00
Ralph Bean
7e3ee9b0b3 Begin porting the tests to use the new main function, but this doesn't work yet. 2016-12-15 16:27:16 -05:00
Ralph Bean
4b39eda44f Move the moksha.hub.main code out into its own main function again. 2016-12-15 16:27:16 -05:00
Ralph Bean
feb1079fba Remove unused work_queue. 2016-12-15 16:27:15 -05:00
Ralph Bean
5fe359a429 Comments, updated to reflect new reality. 2016-12-15 16:27:15 -05:00
Ralph Bean
250b9510bc Have the producer interact with the consumer queue appropriately. 2016-12-15 16:27:15 -05:00
Ralph Bean
f11caf32e5 Get the basic framework for local module builds working again with hub/consumer. 2016-12-15 16:27:15 -05:00
Matt Prahl
c4091aff92 Remove in-memory messaging 2016-12-15 16:27:15 -05:00
Matt Prahl
261549c8c2 Migrate scheduler to be run by fedmsg-hub 2016-12-15 16:27:15 -05:00
Matt Prahl
41187110b5 Add Vagrant support to submit_build.py 2016-12-15 16:16:24 -05:00
Filip Valder
e0240edee6 fix #264: failed 'failed module' handling due to missing koji tag 2016-12-15 16:16:24 -05:00
Filip Valder
bfb9768e58 Merge #265 fix #264: failed module handling due to missing koji tag 2016-12-15 11:12:43 +00:00