forked from Shopify/identity_cache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdev.yml
54 lines (46 loc) · 1.05 KB
/
dev.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: identity-cache
up:
- homebrew:
- postgresql
- ruby: 2.4.1
- railgun
- bundler
env:
RAILGUN_HOST: identity-cache.railgun
MYSQL_HOST: identity-cache.railgun
POSTGRES_HOST: identity-cache.railgun
MEMCACHED_HOST: identity-cache.railgun
commands:
test:
syntax:
optional:
argument: file
optional: args...
desc: 'Run tests'
run: |
if [[ $# -eq 0 ]]; then
bundle exec rake test
else
bundle exec ruby -I test "$@"
fi
benchmark-cpu:
desc: 'Run the identity cache CPU benchmark'
run: bundle exec rake benchmark:cpu
profile:
desc: 'Profile IDC code'
run: bundle exec rake profile:run
update-serialization-format:
desc: 'Update serialization format test fixture'
run: bundle exec rake update_serialization_format
railgun:
image: dev:railgun-common-services-0.2.x
ip_address: 192.168.64.98
memory: 1G
cores: 1
disk: 1G
services:
mysql: 3306
postgresql: 5432
memcached: 11211
packages:
- git@github.com:Shopify/dev-shopify.git