Add .int_test.env files for config amendments (#167)

Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
This commit is contained in:
Elizaveta Chichindaeva 2022-04-07 15:33:53 +03:00 committed by GitHub
parent 96a41e0516
commit b7d0bc96bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 23 additions and 9 deletions

0
.env.int_test Normal file
View file

0
.int_test.env Normal file
View file

View file

@ -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

View file

@ -0,0 +1 @@
../../.int_test.env

View file

@ -11,6 +11,7 @@ services:
command: ["/bin/sleep", "infinity"]
restart: always
stop_signal: SIGKILL
env_file: [ ".int_test.env" ]
environment:
- TZ=Etc/UTC
networks:

View file

@ -0,0 +1 @@
../../.int_test.env

View file

@ -13,6 +13,7 @@ services:
internet:
ipv4_address: ${IPV4_PREFIX}.50
stop_signal: SIGKILL
env_file: [ ".int_test.env" ]
environment:
- ACC=/chain.gz
volumes:

View file

@ -0,0 +1 @@
../../.int_test.env

View file

@ -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

View file

@ -0,0 +1 @@
../../.int_test.env

View file

@ -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
View file

@ -0,0 +1 @@
../../.int_test.env

View file

@ -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

View file

@ -0,0 +1 @@
../../.int_test.env

View file

@ -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
View file

@ -0,0 +1 @@
../../.int_test.env

View file

@ -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:

View file

@ -0,0 +1 @@
../../.int_test.env

View file

@ -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

View file

@ -0,0 +1 @@
../../.int_test.env

View file

@ -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