Commit Graph

1643 Commits

Author SHA1 Message Date
Filip Valder
5fcef41cca add fedmsg.d/mbs-scheduler.py 2017-01-31 14:39:20 +01:00
Filip Valder
89351fbc24 Re-factor configuration loading, fix default topics (shall be a list),
update docs.
2017-01-31 14:00:15 +01:00
Jan Kaluza
f7e5dd1f49 Log error message when SRPM cannot be created from SCM 2017-01-28 16:08:30 +01:00
Jan Kaluza
b76d1c9531 Mock: Load the mock.cfg before writing to it to not overwrite it and be able to update it in the middle of build. 2017-01-28 15:46:17 +01:00
Filip Valder
c51adf1796 get rid of 'WARNING - Cannot find qpid python module. Make sure you have python-qpid installed.' 2017-01-18 16:24:28 +01:00
Matt Prahl
733b875313 Merge #290 Include vcr request data in the next release. 2017-01-17 19:23:21 +00:00
Ralph Bean
7058833d22 python-systemd is actually optional.
Yup.
2017-01-17 14:16:36 -05:00
Ralph Bean
58a46d4077 Include vcr request data in the next release. 2017-01-17 12:24:24 -05:00
Ralph Bean
efd47569ae vcrpy is a test requirement. 2017-01-17 11:54:41 -05:00
Filip Valder
cd68de31fb v1.1.0 released v1.1.0 2017-01-17 15:06:34 +01:00
Filip Valder
739a121d5f Merge #284 Support message topic prefixes + service/category names 2017-01-12 19:05:06 +00:00
Filip Valder
abf37e98e1 in_memory messaging -> fallback to '*' topics 2017-01-12 19:57:34 +01:00
Filip Valder
34ef9ce5fd Add support for message topic prefixes + explicit services/categories (incl. code lints) 2017-01-12 19:30:34 +01:00
Matt Prahl
18d34729f4 Merge #285 Fix port forwarding in Vagrant 2017-01-12 18:15:13 +00:00
Matt Prahl
90bf826c9a Fix port forwarding in Vagrant 2017-01-12 13:01:49 -05:00
Jan Kaluža
59d070df35 Merge #278 Fix #276 - Use PDC to resolve buildroot components instead of MBS database 2017-01-12 14:34:13 +00:00
Filip Valder
68b44a2e38 Merge #283 Docker 2017-01-12 14:00:18 +00:00
Ralph Bean
1d311e3a63 Merge #282 Remove specfile. It has moved to Fedora dist-git. 2017-01-12 13:34:43 +00:00
Jan Kaluza
d7b2b3ad52 Adjust the module ID in build_module_locally, because the fake base-runtime is not in DB anymore. 2017-01-12 13:43:40 +01:00
Filip Valder
cf952a44b7 '/tmp/module_build_service/module_build_service.egg-info' volume is needed for proper egg-info propagation ; other containers must wait till base container finishes 2017-01-12 12:37:35 +01:00
Jan Kaluza
4acc1d69aa Use vcrpy for tests to simulate PDC responses. 2017-01-12 11:52:49 +01:00
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
Ralph Bean
855bd5a657 Remove specfile. It has moved to Fedora dist-git. 2017-01-11 11:39:30 -05: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
Jan Kaluza
ca754903ac Fail in resolve_profiles in case dependency cannot be found in PDC 2017-01-11 10:30:28 +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
0f797c2917 Remove fake base-runtime module from DB and old resolve_profiles method because they are not used anymore. Fix the tests to work with remove fake base-runtime. 2017-01-10 15:58:26 +01:00
Jan Kaluza
dda47acab7 Fix #276 - Use PDC to resolve buildroot components instead of MBS database 2017-01-10 14:29:54 +01: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