0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-23 22:27:34 -05:00
verdaccio/test/functional/store/config-1.yaml

134 lines
2.1 KiB
YAML
Raw Normal View History

2013-09-25 03:10:12 -05:00
storage: ./test-storage
max_users: 2
2014-07-22 16:45:28 -05:00
web:
enable: true
title: verdaccio-server-1
middlewares:
../fixtures/plugins/middlewares.uplink:
message: provides uplink mocking (e.g. simulates socket timeout)
auth:
auth-memory:
users:
test:
name: test
password: test
2013-09-27 07:36:10 -05:00
uplinks:
express:
url: http://localhost:55550/
2014-03-13 14:19:02 -05:00
timeout: 100ms
2013-09-27 07:36:10 -05:00
server2:
url: http://localhost:55552/
2019-02-03 04:43:55 -05:00
maxage: 0
2017-03-03 18:39:26 -05:00
server3:
url: http://localhost:55553/
2013-12-11 17:01:23 -05:00
baduplink:
url: http://localhost:55666/
2013-09-27 07:36:10 -05:00
logs: { type: stdout, format: pretty, level: trace }
2013-09-25 03:10:12 -05:00
packages:
2014-12-14 15:29:56 -05:00
'@test/*':
access: $all
publish: $all
2014-12-14 15:29:56 -05:00
proxy: server2
2018-06-22 18:03:25 -05:00
## mirror.js
'test-mirror-*':
access: $all
publish: $all
2018-06-22 15:31:32 -05:00
proxy: server2
2018-06-22 18:03:25 -05:00
## mirror.js
2013-09-28 11:46:55 -05:00
'testloop':
access: $all
publish: $all
2018-06-22 15:31:32 -05:00
proxy: server2
2013-09-27 07:36:10 -05:00
'testexp':
access: $anonymous
# used by tags.spec.js
'testexp_tag*':
access: $all
publish: $all
2018-06-22 15:31:32 -05:00
proxy: express
# used by gzip.spec.js
2018-06-24 03:11:52 -05:00
'testexp_gzip':
access: $all
publish: $all
2018-06-22 15:31:32 -05:00
proxy: express
# used by gh29.js
'testpkg-gh29':
access: $all
publish: $all
2018-06-22 15:31:32 -05:00
proxy: express
# used by preserve_tags_spec.js
'testpkg-preserve':
access: $all
publish: $all
2018-06-22 15:31:32 -05:00
proxy: express
# used by racycrash.js
'testexp-racycrash':
access: $all
publish: $all
2018-06-22 15:31:32 -05:00
proxy: express
# used by incomplete.js
'testexp-incomplete':
access: $all
publish: $all
2018-06-22 15:31:32 -05:00
proxy: express
'test-nullstorage*':
access: $all
publish: $all
2018-06-22 15:31:32 -05:00
proxy: server2
2019-02-03 04:43:55 -05:00
storage: sub_storage
2013-12-11 17:01:23 -05:00
'baduplink':
access: $all
publish: $all
2018-06-22 15:31:32 -05:00
proxy: baduplink
2013-12-11 17:01:23 -05:00
2015-04-21 11:41:50 -05:00
'test-access-only':
access: $all
publish: nobody
2019-02-03 04:43:55 -05:00
storage: sub_storage
2015-04-21 11:41:50 -05:00
'test-publish-only':
access: nobody
publish: $all
2019-02-03 04:43:55 -05:00
storage: sub_storage
2015-04-21 11:41:50 -05:00
'test-only-test':
access: test
publish: test
2019-02-03 04:43:55 -05:00
storage: sub_storage
2015-04-21 11:41:50 -05:00
'test-only-auth':
access: $authenticated
publish: $authenticated
2019-02-03 04:43:55 -05:00
storage: sub_storage
2015-04-21 11:41:50 -05:00
'test-uplink-timeout-*':
access: $all
proxy:
- server2
- server3
2013-09-25 03:10:12 -05:00
'*':
access: test $anonymous
publish: test $anonymous
2013-09-25 03:10:12 -05:00
# expose internal methods
_debug: true