diff options
author | Hans de Graaff <graaff@gentoo.org> | 2019-12-20 10:53:22 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2019-12-20 10:53:22 +0100 |
commit | 3b46db913d6e21757cc96b8317100ff78d0d1e29 (patch) | |
tree | d0bb98593bdf4cf1a7660f91fc6bd8a8038ad3df /config | |
parent | Provide a kkuleomi config for tests (diff) | |
download | packages-5-3b46db913d6e21757cc96b8317100ff78d0d1e29.tar.gz packages-5-3b46db913d6e21757cc96b8317100ff78d0d1e29.tar.bz2 packages-5-3b46db913d6e21757cc96b8317100ff78d0d1e29.zip |
Use a test configuration that uses the fixture repo
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/kkuleomi_config.rb.test | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/config/initializers/kkuleomi_config.rb.test b/config/initializers/kkuleomi_config.rb.test new file mode 100644 index 0000000..7cee6cd --- /dev/null +++ b/config/initializers/kkuleomi_config.rb.test @@ -0,0 +1,31 @@ +# The location of the repository used for the indexer +KKULEOMI_PORTDIR='test/fixtures/repo' + +# The location of the repository used for gathering runtime information +KKULEOMI_RUNTIME_PORTDIR='test/fixtures/repo' + +# The first actual git commit +# Set this to the second commit in the repo to avoid long changelog generation times +KKULEOMI_FIRST_COMMIT='c1de71edb35b118c3244c0d9d1b3f97c93d41969' + +# Where does git(1) live? +KKULEOMI_GIT='git' + +# GIT enabled? +KKULEOMI_DISABLE_GIT=false + +# Who gets feedback +KKULEOMI_FEEDBACK_RECIPIENT='gpackages@gentoo.org' + +# Default arches. +KKULEOMI_ARCHES=%w(amd64 x86 alpha arm arm64 hppa ia64 ppc ppc64 sparc) + +# Cache settings +# deployment: +if ENV["MEMCACHE_URL"] + Rails.application.config.cache_store = :mem_cache_store, ENV['MEMCACHE_URL'] +end + +# development: +# Rails.application.config.cache_store = :memory_store, { size: 64.megabytes } +# Rails.application.config.action_controller.perform_caching = true |