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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

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

View file

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

View file

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

View file

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

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

View file

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

View file

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

View file

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

View file

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

View file

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