Jan Kaluza
09d48ad635
Use the same CACHE_DIR default configuration also in config.py
2017-05-02 11:55:17 +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
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
Filip Valder
3d4cc41c27
use just once during upgradedb otherwise frontend's request processing
...
is out of application context
From docs: Setting a SERVER_NAME also by default enables URL generation
without a request context but with an application context.
2016-12-06 14:21:25 +01:00
Jan Kaluza
b45905cbd0
Add 'in_memory' messaging backend and use it during build_module_locally to drop dependency on fedmsg-relay for local builds.
2016-12-06 10:21:42 +01:00
Filip Valder
6d58a04aba
fix paths for koji/copr config files
2016-12-05 15:18:26 +01:00
Filip Valder
69f4d26489
provide at least localhost as SERVER_NAME
2016-12-05 15:17:37 +01:00
Filip Valder
3cfa7b0c87
full path to SSL_* stuff
2016-12-05 15:16:41 +01:00
Filip Valder
732094b3d2
move to conf
2016-12-05 15:16:41 +01:00
Jan Kaluza
8cb4e0de5d
Use OIDC to auth the users, replace submit-build.sh by submit-build.py which does hackish way of OIDC just to test things.
2016-12-02 14:52:04 +01:00
Jakub Kadlčík
fffefb5f48
Fallback to koji when module is not in copr
2016-12-01 02:16:56 +01:00
Jan Kaluza
dd3eb61b53
Fix #223 , #224 - Use generated Mock config, define local RPM repository there and make it available in Mock chroot after batch is built.
2016-11-25 12:15:32 +01:00
Filip Valder
f2cd0a3033
runtime config files moved to conf/ directory
2016-11-21 22:49:57 +01:00