-
This commit is contained in:
parent
e01e3f44b5
commit
07bd3376d2
@ -18,50 +18,50 @@ services:
|
|||||||
timeout: 2s
|
timeout: 2s
|
||||||
retries: 10
|
retries: 10
|
||||||
|
|
||||||
# need update!
|
# need update!
|
||||||
# test-pena-auth-service:
|
# test-pena-auth-service:
|
||||||
# image: penahub.gitlab.yandexcloud.net:5050/pena-services/pena-auth-service:staging.872
|
# image: penahub.gitlab.yandexcloud.net:5050/pena-services/pena-auth-service:staging.872
|
||||||
# container_name: test-pena-auth-service
|
# container_name: test-pena-auth-service
|
||||||
# init: true
|
# init: true
|
||||||
# env_file: auth.env.test
|
# env_file: auth.env.test
|
||||||
# healthcheck:
|
# healthcheck:
|
||||||
# test: wget -T1 --spider http://localhost:8000/user
|
# test: wget -T1 --spider http://localhost:8000/user
|
||||||
# interval: 2s
|
# interval: 2s
|
||||||
# timeout: 2s
|
# timeout: 2s
|
||||||
# retries: 5
|
# retries: 5
|
||||||
# environment:
|
# environment:
|
||||||
# - DB_HOST=test-pena-auth-db
|
# - DB_HOST=test-pena-auth-db
|
||||||
# - DB_PORT=27017
|
# - DB_PORT=27017
|
||||||
# - ENVIRONMENT=staging
|
# - ENVIRONMENT=staging
|
||||||
# - HTTP_HOST=0.0.0.0
|
# - HTTP_HOST=0.0.0.0
|
||||||
# - HTTP_PORT=8000
|
# - HTTP_PORT=8000
|
||||||
# - DB_USERNAME=test
|
# - DB_USERNAME=test
|
||||||
# - DB_PASSWORD=test
|
# - DB_PASSWORD=test
|
||||||
# - DB_NAME=admin
|
# - DB_NAME=admin
|
||||||
# - DB_AUTH=admin
|
# - DB_AUTH=admin
|
||||||
# # ports:
|
# # ports:
|
||||||
# # - 8000:8000
|
# # - 8000:8000
|
||||||
# depends_on:
|
# depends_on:
|
||||||
# - test-pena-auth-db
|
# - test-pena-auth-db
|
||||||
# # - pena-auth-migration
|
# # - pena-auth-migration
|
||||||
# networks:
|
# networks:
|
||||||
# - penatest
|
# - penatest
|
||||||
#
|
#
|
||||||
# test-pena-auth-db:
|
# test-pena-auth-db:
|
||||||
# container_name: test-pena-auth-db
|
# container_name: test-pena-auth-db
|
||||||
# init: true
|
# init: true
|
||||||
# image: "mongo:6.0.3"
|
# image: "mongo:6.0.3"
|
||||||
# command: mongod --quiet --logpath /dev/null
|
# command: mongod --quiet --logpath /dev/null
|
||||||
# volumes:
|
# volumes:
|
||||||
# - test-mongodb:/data/db
|
# - test-mongodb:/data/db
|
||||||
# - test-mongoconfdb:/data/configdb
|
# - test-mongoconfdb:/data/configdb
|
||||||
# environment:
|
# environment:
|
||||||
# MONGO_INITDB_ROOT_USERNAME: test
|
# MONGO_INITDB_ROOT_USERNAME: test
|
||||||
# MONGO_INITDB_ROOT_PASSWORD: test
|
# MONGO_INITDB_ROOT_PASSWORD: test
|
||||||
# # ports:
|
# # ports:
|
||||||
# # - 27017:27017
|
# # - 27017:27017
|
||||||
# networks:
|
# networks:
|
||||||
# - penatest
|
# - penatest
|
||||||
|
|
||||||
test-minio:
|
test-minio:
|
||||||
container_name: test-minio
|
container_name: test-minio
|
||||||
@ -78,16 +78,16 @@ services:
|
|||||||
init: true
|
init: true
|
||||||
build:
|
build:
|
||||||
context: ../..
|
context: ../..
|
||||||
dockerfile: testDockerfile
|
dockerfile: TestsDockerfile
|
||||||
depends_on:
|
depends_on:
|
||||||
test-postgres:
|
test-postgres:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
# test-pena-auth-service:
|
# test-pena-auth-service:
|
||||||
# condition: service_healthy
|
# condition: service_healthy
|
||||||
# volumes:
|
# volumes:
|
||||||
# - ./../..:/app:ro
|
# - ./../..:/app:ro
|
||||||
# command: [ "go", "test", "./test", "-run", "TestFoo" ]
|
# command: [ "go", "test", "./tests", "-run", "TestFoo" ]
|
||||||
command: [ "go", "test", "-parallel", "1", "./test" ]
|
command: [ "go", "test", "-parallel", "1", "./tests" ]
|
||||||
networks:
|
networks:
|
||||||
- penatest
|
- penatest
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user