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
Jakub Kadlčík
48f27cd7ea
Get one() result instead of first()
2017-02-26 22:19:31 +01:00
Matt Prahl
56d6d90ece
Enforce that the mmd can't define a different module name, stream, or version
2017-02-24 10:37:40 -05:00
Ralph Bean
1cf582e866
Allow MBS to run behind a reverse proxy.
...
This fixes #352 .
2017-02-24 10:23:35 -05:00
Jakub Kadlčík
5c52fce586
Update to the accurate down_revision
2017-02-23 20:55:51 +01:00
Jakub Kadlčík
7799515994
Use function for validating optional params to reduce code duplicity
2017-02-23 20:51:31 +01:00
Jakub Kadlčík
62e26ba652
Use better way of checking for forbidden columns
2017-02-23 20:51:31 +01:00
Jakub Kadlčík
5a65f50b52
Use built-in to_dict() function
2017-02-23 20:51:31 +01:00
Jakub Kadlčík
38bdc92248
Have immutable default value for optional_params
2017-02-23 20:51:31 +01:00
Jakub Kadlčík
6bd9e7026f
Use optional module build params in CoprModuleBuilder
2017-02-23 20:51:31 +01:00
Jakub Kadlčík
92dce63091
Allow submitting optional parameters such as copr_owner and copr_project
2017-02-23 20:51:31 +01:00
Jan Kaluza
8b83e78394
Fix build_module_locally.
2017-02-23 10:42:34 +01:00
Matt Prahl
8ca616ec57
Add new tests for reusing components
2017-02-21 14:22:31 -05:00
Matt Prahl
8577d5f307
Fix and cleanup tests
2017-02-21 14:22:30 -05:00
Matt Prahl
385045d778
Reuse components from previous module builds
2017-02-21 14:22:30 -05:00
Matt Prahl
a5cc4eb280
Add a module's commit hash, scmurl, and the buildrequires' commit hashes, stream, and version in the modulemd
2017-02-21 09:53:05 -05:00
Matt Prahl
08444ced95
Add additional error checking to get_module_modulemd
2017-02-21 09:32:10 -05:00
Matt Prahl
26c08f5e31
Separate record_component_builds into two functions
2017-02-21 09:32:09 -05:00
Matt Prahl
770184ed95
Make SCM.get_latest more efficient
2017-02-21 09:32:09 -05:00
Matt Prahl
3156921a02
Support new nomenclature on get_module function when passing in a modulemd
2017-02-21 09:32:09 -05:00
Jan Kaluža
3457f5289a
Merge #345 Handle None returned by _get_token_info
2017-02-21 14:27:59 +00:00
Jan Kaluza
2c066dc222
Update the vcrpy cassette
2017-02-21 15:24:00 +01:00
Jan Kaluza
92e39162b0
Fix test_submit_build_auth_error test
2017-02-21 15:22:21 +01:00
Jan Kaluža
18f9089643
Merge #323 Possibility to submit yaml file
2017-02-21 14:21:45 +00:00
Jakub Kadlčík
09391e759e
Add vcr-request-data from test_submit_build_from_yaml
2017-02-21 14:33:32 +01:00
Jakub Kadlčík
6b598b1bf7
Describe yaml file submission
2017-02-21 10:41:31 +01:00
Jan Kaluza
0dbc1f8205
Handle None returned by _get_token_info
2017-02-21 09:24:36 +01:00
Jan Kaluža
d5c003296d
Merge #344 Make the scheduler more quiet in development.
2017-02-21 07:09:11 +00:00
Jan Kaluza
1d8bc3e33a
Use concurrent.futures instead of our own ThreadPool implementation
2017-02-21 08:02:50 +01:00
Jan Kaluza
aa6db9fcce
Use StopIteration in QueueBasedThreadPool to stop the threads.
2017-02-21 08:02:50 +01:00
Jan Kaluza
e7acde9aa5
Use six.moves to import Queue
2017-02-21 08:02:50 +01:00
Jan Kaluza
64d96966e2
Use Queue based ThreadPool instead of the default Python's one. Improve locking and debugging in the Mock backend.
2017-02-21 08:02:50 +01:00
Jakub Kadlčík
2b55cfc81d
Use locally stored testmodule.yaml file
2017-02-21 08:02:33 +01:00
Ralph Bean
43ebe6d943
Merge #343 Use an authorization header instead of cookie for OIDC authn.
2017-02-21 02:13:30 +00:00
Ralph Bean
64fb5e9a1d
Be nice. Kill whitespace.
2017-02-20 21:12:30 -05:00
Ralph Bean
1bd421e9c2
Merge #340 allow to explicitly disable client authentication
2017-02-21 02:09:48 +00:00
Ralph Bean
357b4a089d
Add an internal repo for tests.
2017-02-20 21:07:20 -05:00