Merge branch 'test' into 3971-modernizeStyle
This commit is contained in:
commit
10cff090f1
|
@ -16,11 +16,13 @@ pipeline {
|
||||||
switch (env.BRANCH_NAME) {
|
switch (env.BRANCH_NAME) {
|
||||||
case 'master':
|
case 'master':
|
||||||
env.NODE_ENV = 'production'
|
env.NODE_ENV = 'production'
|
||||||
env.REPLICAS = 3
|
env.MAIN_REPLICAS = 3
|
||||||
|
env.CRON_REPLICAS = 1
|
||||||
break
|
break
|
||||||
case 'test':
|
case 'test':
|
||||||
env.NODE_ENV = 'test'
|
env.NODE_ENV = 'test'
|
||||||
env.REPLICAS = 1
|
env.MAIN_REPLICAS = 1
|
||||||
|
env.CRON_REPLICAS = 0
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,7 +17,7 @@ services:
|
||||||
- /mnt/appdata/image:/var/lib/hedera-web/image-db
|
- /mnt/appdata/image:/var/lib/hedera-web/image-db
|
||||||
- /mnt/appdata/vn-access:/var/lib/hedera-web/vn-access
|
- /mnt/appdata/vn-access:/var/lib/hedera-web/vn-access
|
||||||
deploy:
|
deploy:
|
||||||
replicas: ${REPLICAS:?}
|
replicas: ${MAIN_REPLICAS:?}
|
||||||
placement:
|
placement:
|
||||||
constraints:
|
constraints:
|
||||||
- node.role == worker
|
- node.role == worker
|
||||||
|
@ -31,6 +31,7 @@ services:
|
||||||
- /mnt/appdata:/mnt/storage
|
- /mnt/appdata:/mnt/storage
|
||||||
- /mnt/appdata/image:/var/lib/hedera-web/image-db
|
- /mnt/appdata/image:/var/lib/hedera-web/image-db
|
||||||
deploy:
|
deploy:
|
||||||
|
replicas: ${CRON_REPLICAS:?}
|
||||||
placement:
|
placement:
|
||||||
constraints:
|
constraints:
|
||||||
- node.role == worker
|
- node.role == worker
|
||||||
|
|
Loading…
Reference in New Issue