Commit Graph

24 Commits

Author SHA1 Message Date
Filip Valder
f2cd0a3033 runtime config files moved to conf/ directory 2016-11-21 22:49:57 +01:00
Ralph Bean
5e8013f429 A koji configuration for the tests. 2016-11-18 10:22:50 -05:00
Ralph Bean
d83f210297 Get tests of the retry decorator working in the test suite. 2016-11-18 10:19:41 -05:00
Filip Valder
951a54576f add: Testing config values for koji 2016-11-18 10:24:34 +01:00
Filip Valder
708b9a52a8 Network timeouts + lint 2016-11-18 10:22:35 +01:00
Matt Prahl
2cb7ce99c6 Add NUM_CONSECUTIVE_BUILDS configuration option 2016-11-16 15:24:16 -05:00
Ralph Bean
6a0434d8b5 Set KOJI_PROXYUSER=True on the devnode.
See the inline comment in config.py.

Relates to https://infrastructure.fedoraproject.org/cgit/ansible.git/commit/?id=a28a93dad75248c30c1792ec35f588c8e317c067
2016-11-02 12:44:50 -04:00
Ralph Bean
77a01a3b33 Adjustments to the dev config.
This should make it easier to have a common configuration between local
docker-compose environments and the config for the modularity.fic.org
cloud node.
2016-10-29 16:21:09 -04:00
Ralph Bean
f3ebe112a2 Make our use of proxyuser configurable. 2016-10-28 15:46:15 -04:00
Ralph Bean
1ce135412f Allow optional authz, to make dev much simpler. 2016-10-26 15:44:21 -04:00
Jakub Kadlčík
900b9dd88d Use rida.conf for specifying path to copr config 2016-10-24 20:46:50 +02:00
Matt Prahl
b4082dc551 Rename module from rida to module_build_service
Rename routes from /rida/1/module-builds/ to /module-build-service/1/module-builds/
2016-10-24 10:30:23 -04:00
Ralph Bean
90990c319c Undo most of that based on PR review. 2016-10-19 09:09:31 -04:00
Ralph Bean
b92fdb799f Add some config settings from the dev instance. 2016-10-18 13:45:08 -04:00
Ralph Bean
b1fce413f5 Merge branch 'amq-messaging' 2016-10-18 10:45:59 -04:00
Lubos Kocman
45c61c9249 Change loglevel for Dev and Test Configuration to DEBUG + note in readme 2016-10-04 15:52:24 +02:00
Lubos Kocman
b576dd70d7 config: fixed typo in path 2016-10-04 15:07:53 +02:00
Lubos Kocman
c83eb15194 config.py: example amq config
Signed-off-by: Lubos Kocman <lkocman@redhat.com>
2016-10-04 15:07:53 +02:00
Nils Philippsen
a4cc011eed put kerberos config params in rida configuration
koji.read_config() filters out configuration options it doesn't know
about silently. Currently this is about the keytab, principal, ccache
options. The latter may be needed e.g. in Docker containers which
currently(?) can't use Linux kernel keyrings and need the credential
cache to be a normal file.
2016-09-22 16:06:35 +02:00
Matt Prahl
dc30b483c5 Merge #64 Add unit tests for API routes 2016-09-12 16:38:55 +00:00
Matt Prahl
2f64e5dc45 Add test configuration 2016-09-08 16:39:08 -04:00
Ralph Bean
b12bda2d55 Check FAS for packager status, not pkgdb.
Before this, we were consulting pkgdb to see if the given user was the
maintainer of any packages.

That mostly works... but technically, we want to consult FAS to see if
the user is in the packager group.

We found this when @mprahl was unable to submit builds to rida.  I added
him to the packager group, but nothing changed!  (As written, he had to
actually own a package).

This change fixes all that so that we query FAS instead of pkgdb.

Tests are added.
2016-09-07 16:35:25 -04:00
Lubos Kocman
68bc469bfa Add remaining koji.stg arches to default config.py
Signed-off-by: Lubos Kocman <lkocman@redhat.com>
2016-08-12 16:32:53 +02:00
Matt Prahl
7a928c3e8c Adds database migration support, converts rida.conf to config.py, adds Vagrant support, seperates out app views to views.py, control of the app now manage.py 2016-08-01 13:22:01 -04:00