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:
|
.ONESHELL:
|
||||||
clean:
|
clean:
|
||||||
@rm -rf vendor/* services/storage/s04tls.* services/nats/*.pem
|
@rm -rf vendor/* services/storage/s04tls.* services/nats/*.pem
|
||||||
@for svc in $(START_SVCS)
|
@> .int_test.env
|
||||||
|
@for svc in $(PULL_SVCS)
|
||||||
do
|
do
|
||||||
vols=`docker-compose -f services/$${svc}/docker-compose.yml config --volumes`
|
vols=`docker-compose -f services/$${svc}/docker-compose.yml config --volumes`
|
||||||
if [[ ! -z "$${vols}" ]]; then
|
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"]
|
command: ["/bin/sleep", "infinity"]
|
||||||
restart: always
|
restart: always
|
||||||
stop_signal: SIGKILL
|
stop_signal: SIGKILL
|
||||||
|
env_file: [ ".int_test.env" ]
|
||||||
environment:
|
environment:
|
||||||
- TZ=Etc/UTC
|
- TZ=Etc/UTC
|
||||||
networks:
|
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:
|
internet:
|
||||||
ipv4_address: ${IPV4_PREFIX}.50
|
ipv4_address: ${IPV4_PREFIX}.50
|
||||||
stop_signal: SIGKILL
|
stop_signal: SIGKILL
|
||||||
|
env_file: [ ".int_test.env" ]
|
||||||
environment:
|
environment:
|
||||||
- ACC=/chain.gz
|
- ACC=/chain.gz
|
||||||
volumes:
|
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:
|
internet:
|
||||||
ipv4_address: ${IPV4_PREFIX}.53
|
ipv4_address: ${IPV4_PREFIX}.53
|
||||||
stop_signal: SIGKILL
|
stop_signal: SIGKILL
|
||||||
|
env_file: [ ".int_test.env" ]
|
||||||
volumes:
|
volumes:
|
||||||
- ./Corefile:/Corefile
|
- ./Corefile:/Corefile
|
||||||
- ./../../vendor/hosts:/etc/hosts
|
- ./../../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
|
- ./wallet.json:/wallet.json
|
||||||
- ./../../vendor/hosts:/etc/hosts
|
- ./../../vendor/hosts:/etc/hosts
|
||||||
stop_signal: SIGKILL
|
stop_signal: SIGKILL
|
||||||
env_file: [ ".env", ".http.env" ]
|
env_file: [ ".env", ".http.env", ".int_test.env" ]
|
||||||
environment:
|
environment:
|
||||||
- HTTP_GW_WALLET=/wallet.json
|
- HTTP_GW_WALLET=/wallet.json
|
||||||
- HTTP_GW_WALLET_PASSPHRASE=one
|
- 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/locode_db:/locode/db
|
||||||
- ./../../vendor/neofs-cli:/neofs-cli
|
- ./../../vendor/neofs-cli:/neofs-cli
|
||||||
- ./healthcheck.sh:/healthcheck.sh
|
- ./healthcheck.sh:/healthcheck.sh
|
||||||
env_file: [ ".env", ".ir.env" ]
|
env_file: [ ".env", ".ir.env", ".int_test.env" ]
|
||||||
environment:
|
environment:
|
||||||
- NEOFS_IR_WALLET_PATH=/wallet.json
|
- NEOFS_IR_WALLET_PATH=/wallet.json
|
||||||
- NEOFS_IR_WALLET_ADDRESS=Nhfg3TbpwogLvDGVvAvqyThbsHgoSUKwtn
|
- 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:
|
internet:
|
||||||
ipv4_address: ${IPV4_PREFIX}.90
|
ipv4_address: ${IPV4_PREFIX}.90
|
||||||
stop_signal: SIGKILL
|
stop_signal: SIGKILL
|
||||||
|
env_file: [ ".int_test.env" ]
|
||||||
environment:
|
environment:
|
||||||
- ACC=/morph_chain.gz
|
- ACC=/morph_chain.gz
|
||||||
volumes:
|
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
|
- ./server-key.pem:/certs/server-key.pem
|
||||||
- ./ca-cert.pem:/certs/ca-cert.pem
|
- ./ca-cert.pem:/certs/ca-cert.pem
|
||||||
stop_signal: SIGKILL
|
stop_signal: SIGKILL
|
||||||
env_file: [ ".env" ]
|
env_file: [ ".env", ".int_test.env" ]
|
||||||
command: ["-c", "/etc/nats/neofs-nats-server.conf"]
|
command: ["-c", "/etc/nats/neofs-nats-server.conf"]
|
||||||
|
|
||||||
networks:
|
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
|
- ./tls.crt:/tls.crt
|
||||||
- ./../../vendor/hosts:/etc/hosts
|
- ./../../vendor/hosts:/etc/hosts
|
||||||
stop_signal: SIGKILL
|
stop_signal: SIGKILL
|
||||||
env_file: [ ".env", ".s3.env" ]
|
env_file: [ ".env", ".s3.env", ".int_test.env" ]
|
||||||
environment:
|
environment:
|
||||||
- S3_GW_WALLET=/wallet.json
|
- S3_GW_WALLET=/wallet.json
|
||||||
- S3_GW_WALLET_PASSPHRASE=s3
|
- 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
|
- ./healthcheck.sh:/healthcheck.sh
|
||||||
- ./s04tls.crt:/etc/ssl/certs/s04tls.crt
|
- ./s04tls.crt:/etc/ssl/certs/s04tls.crt
|
||||||
stop_signal: SIGKILL
|
stop_signal: SIGKILL
|
||||||
env_file: [ ".env", ".storage.env" ]
|
env_file: [ ".env", ".storage.env", ".int_test.env" ]
|
||||||
environment:
|
environment:
|
||||||
- NEOFS_NODE_KEY=/01.key
|
- NEOFS_NODE_KEY=/01.key
|
||||||
- NEOFS_NODE_ADDRESSES=s01.${LOCAL_DOMAIN}:8080
|
- NEOFS_NODE_ADDRESSES=s01.${LOCAL_DOMAIN}:8080
|
||||||
|
@ -53,7 +53,7 @@ services:
|
||||||
- ./healthcheck.sh:/healthcheck.sh
|
- ./healthcheck.sh:/healthcheck.sh
|
||||||
- ./s04tls.crt:/etc/ssl/certs/s04tls.crt
|
- ./s04tls.crt:/etc/ssl/certs/s04tls.crt
|
||||||
stop_signal: SIGKILL
|
stop_signal: SIGKILL
|
||||||
env_file: [ ".env", ".storage.env" ]
|
env_file: [ ".env", ".storage.env", ".int_test.env" ]
|
||||||
environment:
|
environment:
|
||||||
- NEOFS_NODE_KEY=/02.key
|
- NEOFS_NODE_KEY=/02.key
|
||||||
- NEOFS_NODE_ADDRESSES=s02.${LOCAL_DOMAIN}:8080
|
- NEOFS_NODE_ADDRESSES=s02.${LOCAL_DOMAIN}:8080
|
||||||
|
@ -86,7 +86,7 @@ services:
|
||||||
- ./healthcheck.sh:/healthcheck.sh
|
- ./healthcheck.sh:/healthcheck.sh
|
||||||
- ./s04tls.crt:/etc/ssl/certs/s04tls.crt
|
- ./s04tls.crt:/etc/ssl/certs/s04tls.crt
|
||||||
stop_signal: SIGKILL
|
stop_signal: SIGKILL
|
||||||
env_file: [ ".env", ".storage.env" ]
|
env_file: [ ".env", ".storage.env", ".int_test.env" ]
|
||||||
environment:
|
environment:
|
||||||
- NEOFS_NODE_KEY=/03.key
|
- NEOFS_NODE_KEY=/03.key
|
||||||
- NEOFS_NODE_ADDRESSES=s03.${LOCAL_DOMAIN}:8080
|
- NEOFS_NODE_ADDRESSES=s03.${LOCAL_DOMAIN}:8080
|
||||||
|
@ -120,7 +120,7 @@ services:
|
||||||
- ./s04tls.crt:/tls.crt
|
- ./s04tls.crt:/tls.crt
|
||||||
- ./s04tls.key:/tls.key
|
- ./s04tls.key:/tls.key
|
||||||
stop_signal: SIGKILL
|
stop_signal: SIGKILL
|
||||||
env_file: [ ".env", ".storage.env" ]
|
env_file: [ ".env", ".storage.env", ".int_test.env" ]
|
||||||
environment:
|
environment:
|
||||||
- NEOFS_NODE_KEY=/04.key
|
- NEOFS_NODE_KEY=/04.key
|
||||||
- NEOFS_NODE_ADDRESSES=s04.${LOCAL_DOMAIN}:8080 grpcs://s04.${LOCAL_DOMAIN}:8082
|
- NEOFS_NODE_ADDRESSES=s04.${LOCAL_DOMAIN}:8080 grpcs://s04.${LOCAL_DOMAIN}:8082
|
||||||
|
|
Loading…
Reference in a new issue