Show More
@@ -255,7 +255,7 b' file_store.enabled = true' | |||
|
255 | 255 | ; Storage backend, available options are: local |
|
256 | 256 | file_store.backend = local |
|
257 | 257 | |
|
258 | ; path to store the uploaded binaries | |
|
258 | ; path to store the uploaded binaries and artifacts | |
|
259 | 259 | file_store.storage_path = /var/opt/rhodecode_data/file_store |
|
260 | 260 | |
|
261 | 261 | ; Uncomment and set this path to control settings for archive download cache. |
@@ -82,10 +82,11 b' def pytest_addoption(parser):' | |||
|
82 | 82 | parser.addoption( |
|
83 | 83 | '--test-loglevel', dest='test_loglevel', |
|
84 | 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 | 87 | group.addoption( |
|
87 |
'-- |
|
|
88 |
help="Set up a |
|
|
88 | '--pyramid-config', dest='pyramid_config', | |
|
89 | help="Set up a pyramid with the specified ini config file.") | |
|
89 | 90 | group.addoption( |
|
90 | 91 | '--ini-config-override', action='store', type=_parse_json, |
|
91 | 92 | default=None, dest='pyramid_config_override', help=( |
@@ -104,6 +104,12 b' startup.import_repos = true' | |||
|
104 | 104 | ; SSH calls. Set this for events to receive proper url for SSH calls. |
|
105 | 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 | 113 | ; Unique application ID. Should be a random unique string for security. |
|
108 | 114 | app_instance_uuid = rc-production |
|
109 | 115 | |
@@ -206,6 +212,9 b' auth_ret_code_detection = false' | |||
|
206 | 212 | ; codes don't break the transactions while 4XX codes do |
|
207 | 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 | 218 | ; allows to setup custom hooks in settings page |
|
210 | 219 | allow_custom_hooks_settings = true |
|
211 | 220 | |
@@ -246,8 +255,8 b' file_store.enabled = true' | |||
|
246 | 255 | ; Storage backend, available options are: local |
|
247 | 256 | file_store.backend = local |
|
248 | 257 | |
|
249 | ; path to store the uploaded binaries | |
|
250 |
file_store.storage_path = |
|
|
258 | ; path to store the uploaded binaries and artifacts | |
|
259 | file_store.storage_path = /var/opt/rhodecode_data/file_store | |
|
251 | 260 | |
|
252 | 261 | ; Uncomment and set this path to control settings for archive download cache. |
|
253 | 262 | ; Generated repo archives will be cached at this location |
@@ -256,7 +265,7 b' file_store.storage_path = %(here)s/data/' | |||
|
256 | 265 | ; RhodeCode and vcsserver |
|
257 | 266 | |
|
258 | 267 | ; Default is $cache_dir/archive_cache if not set |
|
259 |
archive_cache.store_dir = / |
|
|
268 | archive_cache.store_dir = /var/opt/rhodecode_data/tarballcache | |
|
260 | 269 | |
|
261 | 270 | ; The limit in GB sets how much data we cache before recycling last used, defaults to 10 gb |
|
262 | 271 | archive_cache.cache_size_gb = 10 |
@@ -276,7 +285,10 b' use_celery = false' | |||
|
276 | 285 | #celerybeat-schedule.path = |
|
277 | 286 | |
|
278 | 287 | ; connection url to the message broker (default redis) |
|
279 |
celery.broker_url = redis:// |
|
|
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 | 293 | ; rabbitmq example |
|
282 | 294 | #celery.broker_url = amqp://rabbitmq:qweqwe@localhost:5672/rabbitmqhost |
@@ -285,7 +297,8 b' celery.broker_url = redis://localhost:63' | |||
|
285 | 297 | celery.max_tasks_per_child = 20 |
|
286 | 298 | |
|
287 | 299 | ; tasks will never be sent to the queue, but executed locally instead. |
|
288 |
celery.task_always_eager = |
|
|
300 | celery.task_always_eager = true | |
|
301 | celery.task_store_eager_result = true | |
|
289 | 302 | |
|
290 | 303 | ; ############# |
|
291 | 304 | ; DOGPILE CACHE |
@@ -293,7 +306,7 b' celery.task_always_eager = false' | |||
|
293 | 306 | |
|
294 | 307 | ; Default cache dir for caches. Putting this into a ramdisk can boost performance. |
|
295 | 308 | ; eg. /tmpfs/data_ramdisk, however this directory might require large amount of space |
|
296 |
cache_dir = |
|
|
309 | cache_dir = /var/opt/rhodecode_data | |
|
297 | 310 | |
|
298 | 311 | ; ********************************************* |
|
299 | 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 | 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 |
|
|
404 |
; Fastest ones are |
|
|
416 | ; types are file, ext:redis, ext:database, ext:memcached | |
|
417 | ; Fastest ones are ext:redis and ext:database, DO NOT use memory type for session | |
|
405 | 418 | beaker.session.type = file |
|
406 | 419 | beaker.session.data_dir = %(here)s/rc-tests/data/sessions |
|
407 | 420 | |
|
408 | 421 | ; Redis based sessions |
|
409 | 422 | #beaker.session.type = ext:redis |
|
410 |
#beaker.session.url = redis:// |
|
|
423 | #beaker.session.url = redis://redis:6379/2 | |
|
411 | 424 | |
|
412 | 425 | ; DB based session, fast, and allows easy management over logged in users |
|
413 | 426 | #beaker.session.type = ext:database |
@@ -437,9 +450,6 b' beaker.session.httponly = true' | |||
|
437 | 450 | ; Set https secure cookie |
|
438 | 451 | beaker.session.secure = false |
|
439 | 452 | |
|
440 | ## auto save the session to not to use .save() | |
|
441 | beaker.session.auto = false | |
|
442 | ||
|
443 | 453 | ; default cookie expiration time in seconds, set to `true` to set expire |
|
444 | 454 | ; at browser close |
|
445 | 455 | #beaker.session.cookie_expires = 3600 |
@@ -552,11 +562,6 b' vcs.backends = hg, git, svn' | |||
|
552 | 562 | ; Wait this number of seconds before killing connection to the vcsserver |
|
553 | 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 | 565 | ; Cache flag to cache vcsserver remote calls locally |
|
561 | 566 | ; It uses cache_region `cache_repo` |
|
562 | 567 | vcs.methods.cache = false |
@@ -566,6 +571,17 b' vcs.methods.cache = false' | |||
|
566 | 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 | 585 | ; Enable or disable the config file generation. |
|
570 | 586 | svn.proxy.generate_config = false |
|
571 | 587 | |
@@ -613,8 +629,8 b' ssh.authorized_keys_file_path = %(here)s' | |||
|
613 | 629 | |
|
614 | 630 | ; Command to execute the SSH wrapper. The binary is available in the |
|
615 | 631 | ; RhodeCode installation directory. |
|
616 | ; e.g ~/.rccontrol/community-1/profile/bin/rc-ssh-wrapper | |
|
617 |
ssh.wrapper_cmd = |
|
|
632 | ; e.g /usr/local/bin/rhodecode_bin/bin/rc-ssh-wrapper | |
|
633 | ssh.wrapper_cmd = /usr/local/bin/rhodecode_bin/bin/rc-ssh-wrapper | |
|
618 | 634 | |
|
619 | 635 | ; Allow shell when executing the ssh-wrapper command |
|
620 | 636 | ssh.wrapper_cmd_allow_shell = false |
@@ -625,9 +641,9 b' ssh.enable_debug_logging = false' | |||
|
625 | 641 | |
|
626 | 642 | ; Paths to binary executable, by default they are the names, but we can |
|
627 | 643 | ; override them if we want to use a custom one |
|
628 |
ssh.executable.hg = |
|
|
629 |
ssh.executable.git = |
|
|
630 |
ssh.executable.svn = |
|
|
644 | ssh.executable.hg = /usr/local/bin/rhodecode_bin/vcs_bin/hg | |
|
645 | ssh.executable.git = /usr/local/bin/rhodecode_bin/vcs_bin/git | |
|
646 | ssh.executable.svn = /usr/local/bin/rhodecode_bin/vcs_bin/svnserve | |
|
631 | 647 | |
|
632 | 648 | ; Enables SSH key generator web interface. Disabling this still allows users |
|
633 | 649 | ; to add their own keys. |
General Comments 0
You need to be logged in to leave comments.
Login now