forked from TrueCloudLab/frostfs-dev-env
Add .int_test.env files for config amendments (#167)
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
This commit is contained in:
parent
96a41e0516
commit
b7d0bc96bf
21 changed files with 23 additions and 9 deletions
0
.env.int_test
Normal file
0
.env.int_test
Normal file
0
.int_test.env
Normal file
0
.int_test.env
Normal file
3
Makefile
3
Makefile
|
@ -114,7 +114,8 @@ hosts: vendor/hosts
|
|||
.ONESHELL:
|
||||
clean:
|
||||
@rm -rf vendor/* services/storage/s04tls.* services/nats/*.pem
|
||||
@for svc in $(START_SVCS)
|
||||
@> .int_test.env
|
||||
@for svc in $(PULL_SVCS)
|
||||
do
|
||||
vols=`docker-compose -f services/$${svc}/docker-compose.yml config --volumes`
|
||||
if [[ ! -z "$${vols}" ]]; then
|
||||
|
|
1
services/basenet/.int_test.env
Symbolic link
1
services/basenet/.int_test.env
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../.int_test.env
|
|
@ -11,6 +11,7 @@ services:
|
|||
command: ["/bin/sleep", "infinity"]
|
||||
restart: always
|
||||
stop_signal: SIGKILL
|
||||
env_file: [ ".int_test.env" ]
|
||||
environment:
|
||||
- TZ=Etc/UTC
|
||||
networks:
|
||||
|
|
1
services/chain/.int_test.env
Symbolic link
1
services/chain/.int_test.env
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../.int_test.env
|
|
@ -13,6 +13,7 @@ services:
|
|||
internet:
|
||||
ipv4_address: ${IPV4_PREFIX}.50
|
||||
stop_signal: SIGKILL
|
||||
env_file: [ ".int_test.env" ]
|
||||
environment:
|
||||
- ACC=/chain.gz
|
||||
volumes:
|
||||
|
|
1
services/coredns/.int_test.env
Symbolic link
1
services/coredns/.int_test.env
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../.int_test.env
|
|
@ -12,6 +12,7 @@ services:
|
|||
internet:
|
||||
ipv4_address: ${IPV4_PREFIX}.53
|
||||
stop_signal: SIGKILL
|
||||
env_file: [ ".int_test.env" ]
|
||||
volumes:
|
||||
- ./Corefile:/Corefile
|
||||
- ./../../vendor/hosts:/etc/hosts
|
||||
|
|
1
services/http_gate/.int_test.env
Symbolic link
1
services/http_gate/.int_test.env
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../.int_test.env
|
|
@ -16,7 +16,7 @@ services:
|
|||
- ./wallet.json:/wallet.json
|
||||
- ./../../vendor/hosts:/etc/hosts
|
||||
stop_signal: SIGKILL
|
||||
env_file: [ ".env", ".http.env" ]
|
||||
env_file: [ ".env", ".http.env", ".int_test.env" ]
|
||||
environment:
|
||||
- HTTP_GW_WALLET=/wallet.json
|
||||
- HTTP_GW_WALLET_PASSPHRASE=one
|
||||
|
|
1
services/ir/.int_test.env
Symbolic link
1
services/ir/.int_test.env
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../.int_test.env
|
|
@ -21,7 +21,7 @@ services:
|
|||
- ./../../vendor/locode_db:/locode/db
|
||||
- ./../../vendor/neofs-cli:/neofs-cli
|
||||
- ./healthcheck.sh:/healthcheck.sh
|
||||
env_file: [ ".env", ".ir.env" ]
|
||||
env_file: [ ".env", ".ir.env", ".int_test.env" ]
|
||||
environment:
|
||||
- NEOFS_IR_WALLET_PATH=/wallet.json
|
||||
- NEOFS_IR_WALLET_ADDRESS=Nhfg3TbpwogLvDGVvAvqyThbsHgoSUKwtn
|
||||
|
|
1
services/morph_chain/.int_test.env
Symbolic link
1
services/morph_chain/.int_test.env
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../.int_test.env
|
|
@ -13,6 +13,7 @@ services:
|
|||
internet:
|
||||
ipv4_address: ${IPV4_PREFIX}.90
|
||||
stop_signal: SIGKILL
|
||||
env_file: [ ".int_test.env" ]
|
||||
environment:
|
||||
- ACC=/morph_chain.gz
|
||||
volumes:
|
||||
|
|
1
services/nats/.int_test.env
Symbolic link
1
services/nats/.int_test.env
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../.int_test.env
|
|
@ -21,7 +21,7 @@ services:
|
|||
- ./server-key.pem:/certs/server-key.pem
|
||||
- ./ca-cert.pem:/certs/ca-cert.pem
|
||||
stop_signal: SIGKILL
|
||||
env_file: [ ".env" ]
|
||||
env_file: [ ".env", ".int_test.env" ]
|
||||
command: ["-c", "/etc/nats/neofs-nats-server.conf"]
|
||||
|
||||
networks:
|
||||
|
|
1
services/s3_gate/.int_test.env
Symbolic link
1
services/s3_gate/.int_test.env
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../.int_test.env
|
|
@ -20,7 +20,7 @@ services:
|
|||
- ./tls.crt:/tls.crt
|
||||
- ./../../vendor/hosts:/etc/hosts
|
||||
stop_signal: SIGKILL
|
||||
env_file: [ ".env", ".s3.env" ]
|
||||
env_file: [ ".env", ".s3.env", ".int_test.env" ]
|
||||
environment:
|
||||
- S3_GW_WALLET=/wallet.json
|
||||
- S3_GW_WALLET_PASSPHRASE=s3
|
||||
|
|
1
services/storage/.int_test.env
Symbolic link
1
services/storage/.int_test.env
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../.int_test.env
|
|
@ -20,7 +20,7 @@ services:
|
|||
- ./healthcheck.sh:/healthcheck.sh
|
||||
- ./s04tls.crt:/etc/ssl/certs/s04tls.crt
|
||||
stop_signal: SIGKILL
|
||||
env_file: [ ".env", ".storage.env" ]
|
||||
env_file: [ ".env", ".storage.env", ".int_test.env" ]
|
||||
environment:
|
||||
- NEOFS_NODE_KEY=/01.key
|
||||
- NEOFS_NODE_ADDRESSES=s01.${LOCAL_DOMAIN}:8080
|
||||
|
@ -53,7 +53,7 @@ services:
|
|||
- ./healthcheck.sh:/healthcheck.sh
|
||||
- ./s04tls.crt:/etc/ssl/certs/s04tls.crt
|
||||
stop_signal: SIGKILL
|
||||
env_file: [ ".env", ".storage.env" ]
|
||||
env_file: [ ".env", ".storage.env", ".int_test.env" ]
|
||||
environment:
|
||||
- NEOFS_NODE_KEY=/02.key
|
||||
- NEOFS_NODE_ADDRESSES=s02.${LOCAL_DOMAIN}:8080
|
||||
|
@ -86,7 +86,7 @@ services:
|
|||
- ./healthcheck.sh:/healthcheck.sh
|
||||
- ./s04tls.crt:/etc/ssl/certs/s04tls.crt
|
||||
stop_signal: SIGKILL
|
||||
env_file: [ ".env", ".storage.env" ]
|
||||
env_file: [ ".env", ".storage.env", ".int_test.env" ]
|
||||
environment:
|
||||
- NEOFS_NODE_KEY=/03.key
|
||||
- NEOFS_NODE_ADDRESSES=s03.${LOCAL_DOMAIN}:8080
|
||||
|
@ -120,7 +120,7 @@ services:
|
|||
- ./s04tls.crt:/tls.crt
|
||||
- ./s04tls.key:/tls.key
|
||||
stop_signal: SIGKILL
|
||||
env_file: [ ".env", ".storage.env" ]
|
||||
env_file: [ ".env", ".storage.env", ".int_test.env" ]
|
||||
environment:
|
||||
- NEOFS_NODE_KEY=/04.key
|
||||
- NEOFS_NODE_ADDRESSES=s04.${LOCAL_DOMAIN}:8080 grpcs://s04.${LOCAL_DOMAIN}:8082
|
||||
|
|
Loading…
Reference in a new issue