Filip Valder
21bf0a7d53
Merge #393 Make fake MBS messages JSON serializable.
2017-03-03 12:57:46 +00:00
Jan Kaluza
cc204e6b62
Fix logging in poller.
2017-03-03 13:16:44 +01:00
Ralph Bean
57e96c422e
Make fake MBS messages JSON serializable.
...
Which prevents errors when fedmsg-hub tries to checkpoint its progress
on disk in prod.
2017-03-03 07:00:36 -05:00
Ralph Bean
e1a9034e0f
Fix another attribute error.
2017-03-03 06:47:30 -05:00
Ralph Bean
f12d6e0394
Don't validate internal messages.
...
These fail the validate check every time (because they're not real
messages; they're not signed).
2017-03-03 06:44:12 -05:00
Ralph Bean
8f81e6e1ca
Still more logging.
2017-03-03 06:25:54 -05:00
Ralph Bean
0822df7a30
Better logging here.
2017-03-03 06:25:54 -05:00
Filip Valder
35335a2b23
Merge #389 Fix #386 - Retry until we get build containing xmd data
2017-03-03 11:10:39 +00:00
Filip Valder
689c671551
Retry until we get build containing xmd data.
2017-03-03 11:23:00 +01:00
Jan Kaluza
6d74f32462
Remove 'module_' prefix from the disttag in module-build-macros.
2017-03-03 11:22:58 +01:00
Ralph Bean
b7a99c5da8
Use the correct attribute of ComponentBuild.
...
Fixes #384 .
2017-03-02 17:03:46 -05:00
Matt Prahl
6567d37b69
Merge #382 Assign further_work either way.
2017-03-02 21:15:45 +00:00
Ralph Bean
add68410a8
Don't require a '-' suffix here.
...
This is necessary so that we can allow the `f26-modularity` tag as our
bootstrapped tag.
https://infrastructure.fedoraproject.org/cgit/ansible.git/commit/?id=3f5610df5831c8c3fb93b9ac2c6a07c3a1b3df64
2017-03-02 15:41:58 -05:00
Ralph Bean
c57d52ee56
Simplify this.
2017-03-02 14:30:05 -05:00
Ralph Bean
e9c9097755
Assign further_work either way.
2017-03-02 14:17:22 -05:00
Ralph Bean
9e62eacf3e
1.3.2
v1.3.2
2017-03-02 13:01:23 -05:00
Ralph Bean
29ea44025b
Some more temporary bootstrapping utilities.
2017-03-02 13:00:34 -05:00
Matt Prahl
51c1e3b7ea
Merge #380 Please include the state name, even in the API json.
2017-03-02 17:05:35 +00:00
Matt Prahl
4cd652e5f7
Merge #377 Fix the depsolving wrapper.
2017-03-02 17:04:45 +00:00
Ralph Bean
ae8d453da3
Use mmd.xmd for exact pinning of dep tags.
2017-03-02 11:59:46 -05:00
Ralph Bean
dac43c62b8
Please include the state name, even in the API json.
2017-03-02 11:45:04 -05:00
Ralph Bean
8d2b7729bd
Restore the original functionality, even if it is weird.
2017-03-02 11:23:04 -05:00
Ralph Bean
724599fb77
Fix the depsolving wrapper.
...
It was try to convert koji tags back to modules locally, which caused
errors with the new bootstrap tag.
2017-03-02 11:16:43 -05:00
Filip Valder
b738e0201b
error->warn
2017-03-02 15:50:52 +01:00
Filip Valder
7b63710608
gracefully fail module build if there's an error while processing message handler
2017-03-02 15:39:03 +01:00
Filip Valder
6b189c4b4a
Koji tag validation: Catch situation when tag arg has no value + refactoring + add comments.
2017-03-02 15:01:52 +01:00
Filip Valder
7e1a08901c
Merge #368 Use prod ipsilon. Our scope is live.
2017-03-02 09:34:29 +00:00
Ralph Bean
92990c94a2
Make this a little more quiet.
...
Otherwise, it logs for *every single koji build* that comes across the
bus. Too noisy to see what the MBS is actually doing.
2017-03-01 16:12:35 -05:00
Matt Prahl
5af8bc99f0
Change format_mmd test to be more consistent.
2017-03-01 15:00:54 -05:00
Ralph Bean
7ff90677e7
Use prod ipsilon. Our scope is live.
2017-03-01 12:50:12 -05:00
Ralph Bean
8516ad6f11
1.3.1
v1.3.1
2017-02-28 20:17:03 -05:00
Ralph Bean
aec6deb0d2
Include tests/scm_data in the next release.
2017-02-28 20:03:32 -05:00
Ralph Bean
cf70ee524e
1.3.0
v1.3.0
2017-02-28 19:52:47 -05:00
Ralph Bean
da0d5f5c09
Merge #362 [Waits on PR#365] Have new tags inherit from 'module-package-list' and remove the 'force' parameter when tagging a build
2017-03-01 00:49:02 +00:00
Matt Prahl
b254ba40cc
Use the latest testmodule version
2017-02-28 17:39:30 -05:00
Ralph Bean
ca61d6bb29
Allow passing in multiple tag names to the validation decorator.
...
We have problems when we try to wrap one decorator around another.
There are ways to do that with the
[decorator](https://pypi.python.org/pypi/decorator ) module nicely,
however.. they are ugly.
Take a look at this:
https://github.com/micheles/decorator/blob/master/src/decorator.py#L217-L218
And this:
https://github.com/micheles/decorator/blob/master/src/decorator.py#L185-L188
The approach in this PR is.. simpler.
2017-02-28 17:15:55 -05:00
Matt Prahl
6ff2c19b60
Have new tags inherit from 'module-package-list' and remove the 'force' parameter when tagging a build
2017-02-28 15:00:44 -05:00
Filip Valder
6dd223fd12
support for dicts + tests
2017-02-28 20:54:03 +01:00
Filip Valder
6b343896dd
s/rida/mbs/
2017-02-28 17:59:02 +01:00
Filip Valder
13b7bcd03e
Support for state tracing of modules and components
...
- DB migration scripts.
- Models: ComponentBuildTrace, ModuleBuildTrace.
- ModuleBuild.state_trace method for querying for a particular module's
state history.
- SQLAlchemy before commit session event handler for recording
module/component state changes.
- REST API verbose mode for getting state trace of a particular module.
- Tests use make_session, so that event handlers are in effect.
- Short info in README about verbose mode.
- Tests verifying whether state trace information about a module appears
in verbose mode.
- Other minor fixes (RidaBase -> MBSBase, PEP8...)
2017-02-28 16:15:43 +01:00
Matt Prahl
7dfb647e08
Merge #347 Possibility to specify optional parameters when submitting build
2017-02-28 14:26:20 +00:00
Filip Valder
be3b05e673
Additional tests for validate_koji_tag:
...
- Verify that ProgrammingError exception does what it is intended to do.
- Two (str/list) negative tests for validate_koji_tag decorator itself.
- Two (str/list) positive tests for validate_koji_tag decorator itself.
- Support validation in a test for Koji builder.
2017-02-28 09:08:32 +01:00
Filip Valder
a4366d9be7
Koji tag validation
...
- Decorator supporting str/list args
- ProgrammingError exception which may uncover typos in the names of args to validate
- Configurable whitelist of koji tag prefixes
- Add basic validation to test_build.TestModuleBuilder
2017-02-28 09:08:32 +01:00
Matt Prahl
e11fe095de
Merge #359 Update testmodule hash to 4cef8cb
2017-02-27 19:33:56 +00:00
Jakub Kadlčík
4c85e01b6c
Update testmodule hash to 4cef8cb
2017-02-27 19:59:18 +01:00
Jakub Kadlčík
70103c41e2
Test submitting optional parameters
2017-02-27 17:23:05 +01:00
Jakub Kadlčík
9429114836
Get empty string if Content-Type is not in headers
2017-02-27 16:20:01 +01:00
Jakub Kadlčík
cef690f260
Not accept copr parameters when different builder is used
2017-02-27 15:53:39 +01:00
Ralph Bean
0fe6c88945
Merge #354 Allow MBS to run behind a reverse proxy.
2017-02-27 13:00:31 +00:00
Jakub Kadlčík
34ea4a8efe
Move validate_optional_params function to utils.py
2017-02-26 22:23:50 +01:00