Commit Graph

  • 6567d37b69 Merge #382 Assign further_work either way. Matt Prahl 2017-03-02 21:15:45 +00:00
  • add68410a8 Don't require a '-' suffix here. Ralph Bean 2017-03-02 15:41:58 -05:00
  • c57d52ee56 Simplify this. Ralph Bean 2017-03-02 14:30:05 -05:00
  • e9c9097755 Assign further_work either way. Ralph Bean 2017-03-02 14:17:22 -05:00
  • 9e62eacf3e 1.3.2 v1.3.2 Ralph Bean 2017-03-02 13:01:23 -05:00
  • 29ea44025b Some more temporary bootstrapping utilities. Ralph Bean 2017-03-02 13:00:34 -05:00
  • 51c1e3b7ea Merge #380 Please include the state name, even in the API json. Matt Prahl 2017-03-02 17:05:35 +00:00
  • 4cd652e5f7 Merge #377 Fix the depsolving wrapper. Matt Prahl 2017-03-02 17:04:45 +00:00
  • ae8d453da3 Use mmd.xmd for exact pinning of dep tags. Ralph Bean 2017-03-02 11:59:46 -05:00
  • dac43c62b8 Please include the state name, even in the API json. Ralph Bean 2017-03-02 11:45:04 -05:00
  • 8d2b7729bd Restore the original functionality, even if it is weird. Ralph Bean 2017-03-02 11:23:04 -05:00
  • 724599fb77 Fix the depsolving wrapper. Ralph Bean 2017-03-02 11:16:43 -05:00
  • b738e0201b error->warn Filip Valder 2017-03-02 15:50:46 +01:00
  • 7b63710608 gracefully fail module build if there's an error while processing message handler Filip Valder 2017-03-02 15:39:03 +01:00
  • 6b189c4b4a Koji tag validation: Catch situation when tag arg has no value + refactoring + add comments. Filip Valder 2017-03-02 15:01:52 +01:00
  • 7e1a08901c Merge #368 Use prod ipsilon. Our scope is live. Filip Valder 2017-03-02 09:34:29 +00:00
  • 92990c94a2 Make this a little more quiet. Ralph Bean 2017-03-01 16:12:35 -05:00
  • 5af8bc99f0 Change format_mmd test to be more consistent. Matt Prahl 2017-03-01 14:27:16 -05:00
  • 7ff90677e7 Use prod ipsilon. Our scope is live. Ralph Bean 2017-03-01 12:50:12 -05:00
  • 8516ad6f11 1.3.1 v1.3.1 Ralph Bean 2017-02-28 20:17:03 -05:00
  • aec6deb0d2 Include tests/scm_data in the next release. Ralph Bean 2017-02-28 20:03:32 -05:00
  • cf70ee524e 1.3.0 v1.3.0 Ralph Bean 2017-02-28 19:52:47 -05:00
  • da0d5f5c09 Merge #362 [Waits on PR#365] Have new tags inherit from 'module-package-list' and remove the 'force' parameter when tagging a build Ralph Bean 2017-03-01 00:49:02 +00:00
  • b254ba40cc Use the latest testmodule version Matt Prahl 2017-02-28 17:39:30 -05:00
  • ca61d6bb29 Allow passing in multiple tag names to the validation decorator. Ralph Bean 2017-02-28 17:15:55 -05:00
  • 6ff2c19b60 Have new tags inherit from 'module-package-list' and remove the 'force' parameter when tagging a build Matt Prahl 2017-02-28 12:38:48 -05:00
  • 6dd223fd12 support for dicts + tests Filip Valder 2017-02-28 20:54:03 +01:00
  • 6b343896dd s/rida/mbs/ Filip Valder 2017-02-28 17:59:02 +01:00
  • 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...) Filip Valder 2017-02-15 14:46:10 +01:00
  • 7dfb647e08 Merge #347 Possibility to specify optional parameters when submitting build Matt Prahl 2017-02-28 14:26:20 +00:00
  • 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. Filip Valder 2017-02-27 15:24:44 +01:00
  • 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 Filip Valder 2017-02-27 13:37:24 +01:00
  • e11fe095de Merge #359 Update testmodule hash to 4cef8cb Matt Prahl 2017-02-27 19:33:56 +00:00
  • 4c85e01b6c Update testmodule hash to 4cef8cb Jakub Kadlčík 2017-02-27 19:59:18 +01:00
  • 70103c41e2 Test submitting optional parameters Jakub Kadlčík 2017-02-27 17:23:05 +01:00
  • 9429114836 Get empty string if Content-Type is not in headers Jakub Kadlčík 2017-02-27 16:20:01 +01:00
  • cef690f260 Not accept copr parameters when different builder is used Jakub Kadlčík 2017-02-27 15:53:39 +01:00
  • 0fe6c88945 Merge #354 Allow MBS to run behind a reverse proxy. Ralph Bean 2017-02-27 13:00:31 +00:00
  • 34ea4a8efe Move validate_optional_params function to utils.py Jakub Kadlčík 2017-02-26 22:23:50 +01:00
  • 48f27cd7ea Get one() result instead of first() Jakub Kadlčík 2017-02-26 22:19:31 +01:00
  • 56d6d90ece Enforce that the mmd can't define a different module name, stream, or version Matt Prahl 2017-02-24 10:37:40 -05:00
  • 1cf582e866 Allow MBS to run behind a reverse proxy. Ralph Bean 2017-02-24 10:23:35 -05:00
  • 5c52fce586 Update to the accurate down_revision Jakub Kadlčík 2017-02-23 20:55:51 +01:00
  • 7799515994 Use function for validating optional params to reduce code duplicity Jakub Kadlčík 2017-02-23 20:48:45 +01:00
  • 62e26ba652 Use better way of checking for forbidden columns Jakub Kadlčík 2017-02-23 20:17:33 +01:00
  • 5a65f50b52 Use built-in to_dict() function Jakub Kadlčík 2017-02-23 20:00:38 +01:00
  • 38bdc92248 Have immutable default value for optional_params Jakub Kadlčík 2017-02-23 19:21:16 +01:00
  • 6bd9e7026f Use optional module build params in CoprModuleBuilder Jakub Kadlčík 2017-02-21 15:30:44 +01:00
  • 92dce63091 Allow submitting optional parameters such as copr_owner and copr_project Jakub Kadlčík 2017-02-21 14:30:47 +01:00
  • 8b83e78394 Fix build_module_locally. Jan Kaluza 2017-02-23 10:42:34 +01:00
  • 8ca616ec57 Add new tests for reusing components Matt Prahl 2017-02-15 14:46:02 -05:00
  • 8577d5f307 Fix and cleanup tests Matt Prahl 2017-02-15 10:16:11 -05:00
  • 385045d778 Reuse components from previous module builds Matt Prahl 2017-01-16 14:46:02 -05:00
  • a5cc4eb280 Add a module's commit hash, scmurl, and the buildrequires' commit hashes, stream, and version in the modulemd Matt Prahl 2017-02-01 15:39:13 -05:00
  • 08444ced95 Add additional error checking to get_module_modulemd Matt Prahl 2017-02-10 15:47:48 -05:00
  • 26c08f5e31 Separate record_component_builds into two functions Matt Prahl 2017-02-02 16:26:20 -05:00
  • 770184ed95 Make SCM.get_latest more efficient Matt Prahl 2017-02-01 17:04:30 -05:00
  • 3156921a02 Support new nomenclature on get_module function when passing in a modulemd Matt Prahl 2017-01-16 14:45:32 -05:00
  • 3457f5289a Merge #345 Handle None returned by _get_token_info Jan Kaluža 2017-02-21 14:27:59 +00:00
  • 2c066dc222 Update the vcrpy cassette Jan Kaluza 2017-02-21 15:24:00 +01:00
  • 92e39162b0 Fix test_submit_build_auth_error test Jan Kaluza 2017-02-21 11:24:01 +01:00
  • 18f9089643 Merge #323 Possibility to submit yaml file Jan Kaluža 2017-02-21 14:21:45 +00:00
  • 09391e759e Add vcr-request-data from test_submit_build_from_yaml Jakub Kadlčík 2017-02-21 14:33:32 +01:00
  • 6b598b1bf7 Describe yaml file submission Jakub Kadlčík 2017-02-21 10:41:31 +01:00
  • 0dbc1f8205 Handle None returned by _get_token_info Jan Kaluza 2017-02-21 09:24:36 +01:00
  • d5c003296d Merge #344 Make the scheduler more quiet in development. Jan Kaluža 2017-02-21 07:09:11 +00:00
  • 1d8bc3e33a Use concurrent.futures instead of our own ThreadPool implementation Jan Kaluza 2017-02-20 14:36:11 +01:00
  • aa6db9fcce Use StopIteration in QueueBasedThreadPool to stop the threads. Jan Kaluza 2017-02-20 10:42:42 +01:00
  • e7acde9aa5 Use six.moves to import Queue Jan Kaluza 2017-02-17 14:26:59 +01:00
  • 64d96966e2 Use Queue based ThreadPool instead of the default Python's one. Improve locking and debugging in the Mock backend. Jan Kaluza 2017-02-17 12:12:07 +01:00
  • 2b55cfc81d Use locally stored testmodule.yaml file Jakub Kadlčík 2017-02-21 08:02:33 +01:00
  • 43ebe6d943 Merge #343 Use an authorization header instead of cookie for OIDC authn. Ralph Bean 2017-02-21 02:13:30 +00:00
  • 64fb5e9a1d Be nice. Kill whitespace. Ralph Bean 2017-02-20 21:12:30 -05:00
  • 1bd421e9c2 Merge #340 allow to explicitly disable client authentication Ralph Bean 2017-02-21 02:09:48 +00:00
  • 357b4a089d Add an internal repo for tests. Ralph Bean 2017-02-20 12:45:43 -05:00
  • 8238ab81df Make the scheduler more quiet in development. Ralph Bean 2017-02-20 20:14:39 -05:00
  • 143effcd15 Error out if OIDC_CLIENT_SECRETS is not set in server config Matt Jia 2017-02-21 11:03:25 +10:00
  • be65a0ff81 allow to explicitly disable client authentication Matt Jia 2017-02-20 16:52:54 +10:00
  • defabcfc28 Add test for submitting yaml file Jakub Kadlčík 2017-02-20 20:54:43 +01:00
  • b5e31d73a1 Adjust test string. Ralph Bean 2017-02-20 14:37:17 -05:00
  • 61b7b6f47d Use an authorization header instead of cookie for oidc token. Ralph Bean 2017-02-20 13:12:00 -05:00
  • 0dec5f2d3c Remove unused import. Ralph Bean 2017-02-20 13:07:27 -05:00
  • 0ffb1f7e42 Test that we can clone repos with a trailing slash. Ralph Bean 2017-02-20 12:44:49 -05:00
  • 2e6e153660 Add a few tests for the SCM module. Ralph Bean 2017-02-20 09:25:00 -05:00
  • 0c441bbcd4 Merge #339 Have the Kerberos ticket be located at /tmp/mbs-krbcc instead of /var/tmp/krbcc Ralph Bean 2017-02-20 13:50:13 +00:00
  • 7c7e21dd69 Merge #341 Do not start new batch when component is built when there is already some in progress. Ralph Bean 2017-02-20 13:44:39 +00:00
  • ffd3fe460d Merge #338 Add and handle OIDC scope for MBS permissions. Ralph Bean 2017-02-20 13:42:18 +00:00
  • ef14008927 Split this string, at @puiterwijk's suggestion. Ralph Bean 2017-02-20 08:41:36 -05:00
  • 6a0e8d0b2e Do not start new batch when component is built when there is already some in progress. Jan Kaluza 2017-02-20 13:51:10 +01:00
  • 1630c5f14f Raise user friendly exception when yaml submission is not allowed Jakub Kadlčík 2017-02-19 22:38:43 +01:00
  • 3e2ee93dd8 Rename conf option to YAML_SUBMIT_ALLOWED Jakub Kadlčík 2017-02-19 22:29:19 +01:00
  • 43b653097a Add config option for allowing of direct submitting yaml files to mbs Jakub Kadlčík 2017-02-17 00:31:09 +01:00
  • 43acbdbdba Implement possibility to submit yaml files (See #310) Jakub Kadlčík 2017-02-17 00:23:19 +01:00
  • 1591b9c5e7 Create method for loading modulemd object from yaml Jakub Kadlčík 2017-02-17 00:14:30 +01:00
  • 219da6c760 Have the Kerberos ticket be located at /tmp/mbs-krbcc instead of /var/tmp/krbcc Matt Prahl 2017-02-17 17:16:04 -05:00
  • 54770cdc23 Check that our required OIDC scopes are present. Ralph Bean 2017-02-17 10:55:37 -05:00
  • 20d1abfcfc Add OIDC scope for MBS permissions. Ralph Bean 2017-02-17 10:44:52 -05:00
  • 916c47cf2f Remove unused OIDC scopes. Ralph Bean 2017-02-17 10:44:47 -05:00
  • 52ace7f671 Merge #327 test koji proxyuser feature Ralph Bean 2017-02-17 15:09:27 +00:00
  • e3ea21c0fd test koji proxyuser feature Matt Jia 2017-02-17 15:58:27 +10:00