-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
62 lines (62 loc) · 3.05 KB
/
composer.json
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
55
56
57
58
59
60
61
62
{
"minimum-stability" : "dev",
"prefer-stable" : true,
"require": {
"symfony/lock": "^3.3@dev",
"mnapoli/silly": "^1.5",
"predis/predis": "^1.1",
"monolog/monolog": "^1.22"
},
"scripts": {
"stop:all": [
"docker-compose exec -T app pm2 delete all || true"
],
"run:simple-nolock": [
"docker-compose exec -T app pm2 delete all || true",
"docker-compose exec -T app php /app/cli.php resource:reset very-important-thing",
"docker-compose exec -T app pm2 start /app/pm2/simple-nolock.yml"
],
"run:simple-lock": [
"docker-compose exec -T app pm2 delete all || true",
"docker-compose exec -T redis redis-cli flushall",
"docker-compose exec -T redis2 redis-cli flushall",
"docker-compose exec -T redis3 redis-cli flushall",
"docker-compose exec -T app php /app/cli.php resource:reset very-important-thing",
"docker-compose exec -T app pm2 start /app/pm2/simple-lock.yml"
],
"run:faulty-lock": [
"docker-compose exec -T app pm2 delete all || true",
"docker-compose exec -T redis redis-cli flushall",
"docker-compose exec -T redis2 redis-cli flushall",
"docker-compose exec -T redis3 redis-cli flushall",
"docker-compose exec -T app php /app/cli.php resource:reset very-important-thing",
"docker-compose exec -T app pm2 start /app/pm2/simple-distlockerror.yml"
],
"run:faulty-halock": [
"docker-compose exec -T app pm2 delete all || true",
"docker-compose exec -T redis redis-cli flushall",
"docker-compose exec -T redis2 redis-cli flushall",
"docker-compose exec -T redis3 redis-cli flushall",
"docker-compose exec -T app php /app/cli.php resource:reset very-important-thing",
"docker-compose exec -T app pm2 start /app/pm2/simple-combinedlockerror.yml"
],
"run:barrier": [
"docker-compose exec -T app pm2 delete all || true",
"docker-compose exec -T redis redis-cli flushall",
"docker-compose exec -T redis2 redis-cli flushall",
"docker-compose exec -T redis3 redis-cli flushall",
"docker-compose exec -T app php /app/cli.php resource:reset barrier",
"docker-compose exec -T app php /app/cli.php resource:reset processes",
"docker-compose exec -T app pm2 start /app/pm2/barrier.yml"
],
"run:rw": [
"docker-compose exec -T app pm2 delete all || true",
"docker-compose exec -T redis redis-cli flushall",
"docker-compose exec -T redis2 redis-cli flushall",
"docker-compose exec -T redis3 redis-cli flushall",
"docker-compose exec -T app php /app/cli.php resource:reset very-important-thing",
"docker-compose exec -T app php /app/cli.php resource:reset readers",
"docker-compose exec -T app pm2 start /app/pm2/read-write.yml"
]
}
}