mirror of
https://github.com/versity/versitygw.git
synced 2026-01-05 03:24:04 +00:00
The direct tests don't need the gateway or any go compilers. This separates out the dockerfile to minimize it a bit more from the other tests.
36 lines
809 B
YAML
36 lines
809 B
YAML
services:
|
|
no_certs:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile_test_bats
|
|
args:
|
|
- CONFIG_FILE=tests/.env.nocerts
|
|
static_buckets:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile_test_bats
|
|
args:
|
|
- CONFIG_FILE=tests/.env.static
|
|
posix_backend:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile_test_bats
|
|
args:
|
|
- CONFIG_FILE=tests/.env.default
|
|
image: bats_test
|
|
s3_backend:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile_test_bats
|
|
args:
|
|
- CONFIG_FILE=tests/.env.s3
|
|
- SECRETS_FILE=tests/.secrets.s3
|
|
direct:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile_direct
|
|
volumes:
|
|
- ./.env.direct:/home/tester/tests/.env.direct
|
|
- ./.secrets.direct:/home/tester/tests/.secrets.direct
|
|
|