##// END OF EJS Templates
tests: updated test ini and configs for setting custom ini files
super-admin -
r5391:1a75a34b default
parent child Browse files
Show More
@@ -255,7 +255,7 b' file_store.enabled = true'
255 ; Storage backend, available options are: local
255 ; Storage backend, available options are: local
256 file_store.backend = local
256 file_store.backend = local
257
257
258 ; path to store the uploaded binaries
258 ; path to store the uploaded binaries and artifacts
259 file_store.storage_path = /var/opt/rhodecode_data/file_store
259 file_store.storage_path = /var/opt/rhodecode_data/file_store
260
260
261 ; Uncomment and set this path to control settings for archive download cache.
261 ; Uncomment and set this path to control settings for archive download cache.
@@ -82,10 +82,11 b' def pytest_addoption(parser):'
82 parser.addoption(
82 parser.addoption(
83 '--test-loglevel', dest='test_loglevel',
83 '--test-loglevel', dest='test_loglevel',
84 help="Set default Logging level for tests, critical(default), error, warn , info, debug")
84 help="Set default Logging level for tests, critical(default), error, warn , info, debug")
85 group = parser.getgroup('pylons')
85
86 group = parser.getgroup('pyramid')
86 group.addoption(
87 group.addoption(
87 '--with-pylons', dest='pyramid_config',
88 '--pyramid-config', dest='pyramid_config',
88 help="Set up a Pylons environment with the specified config file.")
89 help="Set up a pyramid with the specified ini config file.")
89 group.addoption(
90 group.addoption(
90 '--ini-config-override', action='store', type=_parse_json,
91 '--ini-config-override', action='store', type=_parse_json,
91 default=None, dest='pyramid_config_override', help=(
92 default=None, dest='pyramid_config_override', help=(
@@ -104,6 +104,12 b' startup.import_repos = true'
104 ; SSH calls. Set this for events to receive proper url for SSH calls.
104 ; SSH calls. Set this for events to receive proper url for SSH calls.
105 app.base_url = http://rhodecode.local
105 app.base_url = http://rhodecode.local
106
106
107 ; Host at which the Service API is running.
108 app.service_api.host = http://rhodecode.local:10020
109
110 ; Secret for Service API authentication.
111 app.service_api.token =
112
107 ; Unique application ID. Should be a random unique string for security.
113 ; Unique application ID. Should be a random unique string for security.
108 app_instance_uuid = rc-production
114 app_instance_uuid = rc-production
109
115
@@ -206,6 +212,9 b' auth_ret_code_detection = false'
206 ; codes don't break the transactions while 4XX codes do
212 ; codes don't break the transactions while 4XX codes do
207 lock_ret_code = 423
213 lock_ret_code = 423
208
214
215 ; Filesystem location were repositories should be stored
216 repo_store.path = /var/opt/rhodecode_repo_store
217
209 ; allows to setup custom hooks in settings page
218 ; allows to setup custom hooks in settings page
210 allow_custom_hooks_settings = true
219 allow_custom_hooks_settings = true
211
220
@@ -246,8 +255,8 b' file_store.enabled = true'
246 ; Storage backend, available options are: local
255 ; Storage backend, available options are: local
247 file_store.backend = local
256 file_store.backend = local
248
257
249 ; path to store the uploaded binaries
258 ; path to store the uploaded binaries and artifacts
250 file_store.storage_path = %(here)s/data/file_store
259 file_store.storage_path = /var/opt/rhodecode_data/file_store
251
260
252 ; Uncomment and set this path to control settings for archive download cache.
261 ; Uncomment and set this path to control settings for archive download cache.
253 ; Generated repo archives will be cached at this location
262 ; Generated repo archives will be cached at this location
@@ -256,7 +265,7 b' file_store.storage_path = %(here)s/data/'
256 ; RhodeCode and vcsserver
265 ; RhodeCode and vcsserver
257
266
258 ; Default is $cache_dir/archive_cache if not set
267 ; Default is $cache_dir/archive_cache if not set
259 archive_cache.store_dir = /tmp/rc-test-data/archive_cache
268 archive_cache.store_dir = /var/opt/rhodecode_data/tarballcache
260
269
261 ; The limit in GB sets how much data we cache before recycling last used, defaults to 10 gb
270 ; The limit in GB sets how much data we cache before recycling last used, defaults to 10 gb
262 archive_cache.cache_size_gb = 10
271 archive_cache.cache_size_gb = 10
@@ -276,7 +285,10 b' use_celery = false'
276 #celerybeat-schedule.path =
285 #celerybeat-schedule.path =
277
286
278 ; connection url to the message broker (default redis)
287 ; connection url to the message broker (default redis)
279 celery.broker_url = redis://localhost:6379/8
288 celery.broker_url = redis://redis:6379/8
289
290 ; results backend to get results for (default redis)
291 celery.result_backend = redis://redis:6379/8
280
292
281 ; rabbitmq example
293 ; rabbitmq example
282 #celery.broker_url = amqp://rabbitmq:qweqwe@localhost:5672/rabbitmqhost
294 #celery.broker_url = amqp://rabbitmq:qweqwe@localhost:5672/rabbitmqhost
@@ -285,7 +297,8 b' celery.broker_url = redis://localhost:63'
285 celery.max_tasks_per_child = 20
297 celery.max_tasks_per_child = 20
286
298
287 ; tasks will never be sent to the queue, but executed locally instead.
299 ; tasks will never be sent to the queue, but executed locally instead.
288 celery.task_always_eager = false
300 celery.task_always_eager = true
301 celery.task_store_eager_result = true
289
302
290 ; #############
303 ; #############
291 ; DOGPILE CACHE
304 ; DOGPILE CACHE
@@ -293,7 +306,7 b' celery.task_always_eager = false'
293
306
294 ; Default cache dir for caches. Putting this into a ramdisk can boost performance.
307 ; Default cache dir for caches. Putting this into a ramdisk can boost performance.
295 ; eg. /tmpfs/data_ramdisk, however this directory might require large amount of space
308 ; eg. /tmpfs/data_ramdisk, however this directory might require large amount of space
296 cache_dir = %(here)s/rc-test-data
309 cache_dir = /var/opt/rhodecode_data
297
310
298 ; *********************************************
311 ; *********************************************
299 ; `sql_cache_short` cache for heavy SQL queries
312 ; `sql_cache_short` cache for heavy SQL queries
@@ -400,14 +413,14 b' rc_cache.cache_repo.arguments.filename ='
400 ; ##############
413 ; ##############
401
414
402 ; beaker.session.type is type of storage options for the logged users sessions. Current allowed
415 ; beaker.session.type is type of storage options for the logged users sessions. Current allowed
403 ; types are file, ext:redis, ext:database, ext:memcached, and memory (default if not specified).
416 ; types are file, ext:redis, ext:database, ext:memcached
404 ; Fastest ones are Redis and ext:database
417 ; Fastest ones are ext:redis and ext:database, DO NOT use memory type for session
405 beaker.session.type = file
418 beaker.session.type = file
406 beaker.session.data_dir = %(here)s/rc-tests/data/sessions
419 beaker.session.data_dir = %(here)s/rc-tests/data/sessions
407
420
408 ; Redis based sessions
421 ; Redis based sessions
409 #beaker.session.type = ext:redis
422 #beaker.session.type = ext:redis
410 #beaker.session.url = redis://127.0.0.1:6379/2
423 #beaker.session.url = redis://redis:6379/2
411
424
412 ; DB based session, fast, and allows easy management over logged in users
425 ; DB based session, fast, and allows easy management over logged in users
413 #beaker.session.type = ext:database
426 #beaker.session.type = ext:database
@@ -437,9 +450,6 b' beaker.session.httponly = true'
437 ; Set https secure cookie
450 ; Set https secure cookie
438 beaker.session.secure = false
451 beaker.session.secure = false
439
452
440 ## auto save the session to not to use .save()
441 beaker.session.auto = false
442
443 ; default cookie expiration time in seconds, set to `true` to set expire
453 ; default cookie expiration time in seconds, set to `true` to set expire
444 ; at browser close
454 ; at browser close
445 #beaker.session.cookie_expires = 3600
455 #beaker.session.cookie_expires = 3600
@@ -552,11 +562,6 b' vcs.backends = hg, git, svn'
552 ; Wait this number of seconds before killing connection to the vcsserver
562 ; Wait this number of seconds before killing connection to the vcsserver
553 vcs.connection_timeout = 3600
563 vcs.connection_timeout = 3600
554
564
555 ; Compatibility version when creating SVN repositories. Defaults to newest version when commented out.
556 ; Set a numeric version for your current SVN e.g 1.8, or 1.12
557 ; Legacy available options are: pre-1.4-compatible, pre-1.5-compatible, pre-1.6-compatible, pre-1.8-compatible, pre-1.9-compatible
558 #vcs.svn.compatible_version = 1.8
559
560 ; Cache flag to cache vcsserver remote calls locally
565 ; Cache flag to cache vcsserver remote calls locally
561 ; It uses cache_region `cache_repo`
566 ; It uses cache_region `cache_repo`
562 vcs.methods.cache = false
567 vcs.methods.cache = false
@@ -566,6 +571,17 b' vcs.methods.cache = false'
566 ; Maps RhodeCode repo groups into SVN paths for Apache
571 ; Maps RhodeCode repo groups into SVN paths for Apache
567 ; ####################################################
572 ; ####################################################
568
573
574 ; Compatibility version when creating SVN repositories. Defaults to newest version when commented out.
575 ; Set a numeric version for your current SVN e.g 1.8, or 1.12
576 ; Legacy available options are: pre-1.4-compatible, pre-1.5-compatible, pre-1.6-compatible, pre-1.8-compatible, pre-1.9-compatible
577 #vcs.svn.compatible_version = 1.8
578
579 ; Enable SVN proxy of requests over HTTP
580 vcs.svn.proxy.enabled = true
581
582 ; host to connect to running SVN subsystem
583 vcs.svn.proxy.host = http://svn:8090
584
569 ; Enable or disable the config file generation.
585 ; Enable or disable the config file generation.
570 svn.proxy.generate_config = false
586 svn.proxy.generate_config = false
571
587
@@ -613,8 +629,8 b' ssh.authorized_keys_file_path = %(here)s'
613
629
614 ; Command to execute the SSH wrapper. The binary is available in the
630 ; Command to execute the SSH wrapper. The binary is available in the
615 ; RhodeCode installation directory.
631 ; RhodeCode installation directory.
616 ; e.g ~/.rccontrol/community-1/profile/bin/rc-ssh-wrapper
632 ; e.g /usr/local/bin/rhodecode_bin/bin/rc-ssh-wrapper
617 ssh.wrapper_cmd = ~/.rccontrol/community-1/rc-ssh-wrapper
633 ssh.wrapper_cmd = /usr/local/bin/rhodecode_bin/bin/rc-ssh-wrapper
618
634
619 ; Allow shell when executing the ssh-wrapper command
635 ; Allow shell when executing the ssh-wrapper command
620 ssh.wrapper_cmd_allow_shell = false
636 ssh.wrapper_cmd_allow_shell = false
@@ -625,9 +641,9 b' ssh.enable_debug_logging = false'
625
641
626 ; Paths to binary executable, by default they are the names, but we can
642 ; Paths to binary executable, by default they are the names, but we can
627 ; override them if we want to use a custom one
643 ; override them if we want to use a custom one
628 ssh.executable.hg = ~/.rccontrol/vcsserver-1/profile/bin/hg
644 ssh.executable.hg = /usr/local/bin/rhodecode_bin/vcs_bin/hg
629 ssh.executable.git = ~/.rccontrol/vcsserver-1/profile/bin/git
645 ssh.executable.git = /usr/local/bin/rhodecode_bin/vcs_bin/git
630 ssh.executable.svn = ~/.rccontrol/vcsserver-1/profile/bin/svnserve
646 ssh.executable.svn = /usr/local/bin/rhodecode_bin/vcs_bin/svnserve
631
647
632 ; Enables SSH key generator web interface. Disabling this still allows users
648 ; Enables SSH key generator web interface. Disabling this still allows users
633 ; to add their own keys.
649 ; to add their own keys.
General Comments 0
You need to be logged in to leave comments. Login now