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
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
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
Ralph Bean
e5270d0932
Some clarifying comments.
2016-12-15 16:45:32 -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
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
21a902ab5e
Some debugging on the stop_condition.
2016-12-15 16:27:16 -05:00
Ralph Bean
b2cf02080d
A few bugfixes.
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
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
Filip Valder
e0240edee6
fix #264 : failed 'failed module' handling due to missing koji tag
2016-12-15 16:16:24 -05:00
Jan Kaluža
95f0d8384f
Merge #262 Inherit the SCM repository from the parent module to included modules.
2016-12-14 11:17:06 +00:00
Jan Kaluza
3788bd2d8d
Inherit the SCM repository from the parent module to included modules.
2016-12-13 13:24:25 +01:00
Jan Kaluža
4933f53d17
Merge #261 Allow resubmit of the same module also for 'init' status.
2016-12-13 10:04:37 +00:00
Jan Kaluza
e08b6d1a46
Allow resubmit of the same module also for 'init' status.
2016-12-13 10:59:10 +01:00
Ralph Bean
fcdf272eaa
Merge #260 Cleanup in preparation for package review.
2016-12-12 20:41:27 +00:00
Ralph Bean
d13c7991ed
Cleanup in preparation for package review.
...
I'm taking on #235 . This is all stuff that came up while doing a
cursory package review myself.
- The source files all state that they are MIT, but the specfile and
repo claimed to be GPL. I switched everything to MIT (even though I
favor GPL.. the source was MIT first before it was incorrectly
labelled GPL).
- There are various bugs and lint issues in the specfile fixed here.
- Notably, the systemd service file is missing from the 1.0.0 tarball on
PyPI, so I'll need to do a new release after this.
2016-12-12 15:09:58 -05:00
Jan Kaluza
d06c13d973
Fix the bug when module build freezes when all the components in batch have been already built by builder.
2016-12-12 21:03:44 +01:00
Matt Prahl
6182053c4a
Add noserunner.py as a valid way to test MBS
2016-12-12 09:00:44 -05:00
Matt Prahl
9d734d38ce
Create fake baseruntime module directly to avoid DetachedInstanceError
2016-12-12 09:00:44 -05:00
Filip Valder
7fcfe05f85
Fix issue #251 :
...
- support for mupltiple SCM URLs (logic was broken when there were more
than one SCM URL in SCMURLS conf. var)
- unsplit-brain handling of SCM URLs between frontend and backend
2016-12-12 13:05:27 +01:00
Filip Valder
51264e4c8c
Merge #253 Fix #211 - SIGINT handling
2016-12-12 10:52:48 +00:00
Filip Valder
41f9830808
add docstring and Ctrl+C instruction
2016-12-12 11:43:29 +01:00
Filip Valder
60ec4552b9
prepare graceful_stop method for proper shutdown; support for intermediate Ctrl+C
2016-12-12 11:43:29 +01:00
Filip Valder
5d8a728d89
fix #211 : stay attached to the main thread to keep control (foreground mode)
2016-12-12 11:43:29 +01:00
Filip Valder
adbdc29545
tidy up
2016-12-12 11:43:29 +01:00
Jan Kaluža
183e128074
Merge #254 Choose the module with highest release number from PDC results when variant_release is not defined.
2016-12-12 10:39:44 +00:00
Filip Valder
184c73cae9
rely on {conf,module_build_service}/config.py and 'debug' conf item value
2016-12-09 17:32:20 +01:00
Filip Valder
379af8fe7e
register/set 'debug' conf variable
2016-12-09 17:29:41 +01:00
Filip Valder
e1fcc1f457
new command: mbs-manager (Flask command manager)
2016-12-09 13:31:50 +01:00
Filip Valder
2eda23233e
implement MODULE_BUILD_SERVICE_DEVELOPER_ENV functionality
2016-12-09 13:30:57 +01:00
Jan Kaluza
04899d7bc7
Choose the module with highest release number from PDC results when variant_release is not defined.
2016-12-09 12:54:10 +01:00
Matt Prahl
f94949b690
Merge #244 Include modulemd in the module.state.change messages so it can be handled by pdc-updater.
2016-12-07 18:56:22 +00:00
Matt Prahl
15b5cf11b9
Fix default path for pki_dir
2016-12-07 09:24:33 -05:00
Jan Kaluza
1c66edc53e
Include modulemd in the module.state.change messages so it can be handled by pdc-updater.
2016-12-07 13:18:39 +01:00