Commit Graph

60 Commits

Author SHA1 Message Date
mprahl
0e401cdab9 Default dev configuration to build modules locally 2017-11-13 14:09:07 -05:00
Jakub Kadlcik
f098e6e3b7 Make the module build log name configurable 2017-11-07 00:04:14 +01:00
Martin Curlej
60b3d97c97 flake8 cleanup
Signed-off-by: Martin Curlej <mcurlej@redhat.com>

removed some noqa tags
2017-10-25 12:13:59 +02:00
Igor Gnatenko
6f408111ac allow any SCM URLs for local builds
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-10-04 17:18:23 +02:00
Ralph Bean
0e9ccb1895 Remove old SSL config options.
We used to do x509 authn a long time ago.  We have since stopped doing
that, but we kept all of thise confusing SSL/TLS support stuff.

This removes all that, and fixes #685.
2017-10-04 11:37:17 +02:00
Jan Kaluza
54a80a677a Fix wrong escaping in mock.cfg - fixes the local builds 2017-09-18 13:28:15 +02:00
Ralph Bean
fa8ac2001d Merge #681 Add Kerberos + LDAP Authentication 2017-09-15 16:10:22 +00:00
mprahl
0f6d7a55c5 Add Kerberos + LDAP authentication support 2017-09-15 12:02:57 -04:00
Filip Valder
be7c8d7aff Fix #661: mbs hard-codes x86_64 as the local architecture 2017-09-15 15:18:02 +02:00
Filip Valder
f86654c655 Fix #641 - mock configuration is hardcoded 2017-09-13 15:09:56 +02:00
Ralph Bean
6cb836c862 Nope.
Dead.
2017-09-08 14:49:58 -04:00
Filip Valder
7ef2975984 PEP8 fixes 2017-07-17 18:29:10 +02:00
Ralph Bean
932dc09c2a No reason for this default. 2017-07-10 20:13:58 -04:00
Stanislav Ochotnicky
747b60f4b4 Add build logs into the koji content generator
This change adds another output next to the mmd file - a build.log which
will contain builds collected during the module build
2017-07-03 13:07:43 +02:00
Jan Kaluza
4b16cf9a64 Fix various bugs in 'mbs-build local' 2017-06-07 13:16:26 +02:00
Ralph Bean
2ab6193987 Rename consecutive to concurrent.
Fixes #574.
2017-05-31 13:54:11 -04:00
Stanislav Ochotnicky
b33beb0cef Enable koji content generator code
If the koji_enable_content_generator is configured to True koji instance
has to be configured as follows:
koji call addBType module
koji grant-cg-access <mbs-user> module-build-service --new

Without the above configuration MBS will start failing the builds
2017-05-31 14:48:34 +02:00
Jan Kaluža
f441077706 Merge #515 Add config option for allowing custom scmurls 2017-05-02 12:57:48 +00:00
Jan Kaluza
09d48ad635 Use the same CACHE_DIR default configuration also in config.py 2017-05-02 11:55:17 +02:00
Jakub Kadlčík
a86084746d Rename ALLOW_CUSTOM_URLS to ALLOW_CUSTOM_SCMURLS 2017-05-02 11:29:47 +02:00
Jan Kaluza
94848511e3 Mock backend: Create repository from Koji tag locally instead of using the one stored in kojipkgs. 2017-04-21 10:37:00 +02:00
Jakub Kadlčík
6dde52f377 Add config option for allowing custom scmurls 2017-04-19 15:25:22 +02:00
Jan Kaluza
ec9002df85 Use prod services in BaseConfiguration and staging in TestConfiguration. 2017-04-11 12:01:41 +02:00
Jan Kaluza
2fda828cd3 Use fedora production PDC in tests. 2017-03-21 18:30:20 +01:00
Jan Kaluza
a72a97754a Fix typo in test_reuse_component_init_data name, set SERVER_NAME config variable in config.py, return commit in MockedSCM.get_latest 2017-03-17 08:58:58 +01:00
Jan Kaluza
b11ea14358 Add OIDC_REQUIRED_SCOPE and fix the test_auth.py to use Authorization header. 2017-03-06 14:56:09 +01:00
Jan Kaluza
8aa3ce3c27 Add MODULES_ALLOW_REPOSITORY and MODULES_DEFAULT_REPOSITORY with the same meaning as RPMS_* equivalents. 2017-03-03 15:36:10 +01:00
Ralph Bean
7ff90677e7 Use prod ipsilon. Our scope is live. 2017-03-01 12:50:12 -05: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
Jan Kaluža
18f9089643 Merge #323 Possibility to submit yaml file 2017-02-21 14:21:45 +00:00
Matt Jia
be65a0ff81 allow to explicitly disable client authentication 2017-02-21 11:08:37 +10:00
Jakub Kadlčík
3e2ee93dd8 Rename conf option to YAML_SUBMIT_ALLOWED 2017-02-19 22:35:55 +01:00
Jakub Kadlčík
43b653097a Add config option for allowing of direct submitting yaml files to mbs 2017-02-19 22:35:55 +01:00
Ralph Bean
3674fb49b2 Make this convenient for f2.0 developers 2017-02-10 16:27:35 -05:00
Ralph Bean
88aca055ce Replace query to FAS with OIDC groups scope check.
This removes our query to FAS and fixes #304.

It is more flexible too, where we can now configure production to only
allow in members of the `modularity-wg` group, and then later open it up
to all packagers after F26 is out (as was agreed with FESCo).

In the process of working on this, I discovered that #305 is not
necessary.  We don't need our own scope; we can just use the `groups`
scope as done here.
2017-02-10 15:50:41 -05: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
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
Ralph Bean
9d3b85426d Bring back the in-memory messaging backend. 2016-12-15 16:27:17 -05:00
Matt Prahl
c4091aff92 Remove in-memory messaging 2016-12-15 16:27:15 -05:00
Ralph Bean
445512ea89 Merge #258 koji.conf issues 2016-12-12 17:48:06 +00:00
Filip Valder
59f193461d do not use canonicalization of hostnames for use in service principal names 2016-12-12 15:55:38 +01:00
Filip Valder
178f2657fa main profile/section should serve for 'prod' purpose 2016-12-12 15:53:53 +01:00
Matt Prahl
e9d0ec898b Use test database instead of in-memory database for all tests for consistency 2016-12-12 09:00:44 -05:00
Filip Valder
619be972aa use koji 'staging' profile for DevConfiguration; prefer https over http 2016-12-12 14:43:57 +01:00
Filip Valder
379af8fe7e register/set 'debug' conf variable 2016-12-09 17:29:41 +01:00
Filip Valder
139d44b1e4 proposed fix to avoid symlinks on dev instances 2016-12-09 13:27:59 +01:00
Matt Prahl
edb0271d36 Add systemd unit for the scheduler 2016-12-07 09:24:33 -05:00
Matt Prahl
392a53d88b Fix Vagrant and add libvirt support 2016-12-07 09:02:42 -05:00
Filip Valder
8c7e631cac Merge #241 Fix frontend's context 2016-12-07 10:28:41 +00:00