mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-09 22:45:04 +00:00
Similarly to what has be done for Azure in #48636, this commit adds a new :test:fixtures:gcs-fixture project which provides two docker-compose based fixtures that emulate a Google Cloud Storage service. Some code has been extracted from existing tests and placed into this new project so that it can be easily reused in other projects.
26 lines
530 B
YAML
26 lines
530 B
YAML
version: '3'
|
|
services:
|
|
gcs-fixture:
|
|
build:
|
|
context: .
|
|
args:
|
|
port: 80
|
|
bucket: "bucket"
|
|
token: "o/oauth2/token"
|
|
dockerfile: Dockerfile
|
|
volumes:
|
|
- ./testfixtures_shared/shared:/fixture/shared
|
|
ports:
|
|
- "80"
|
|
gcs-fixture-third-party:
|
|
build:
|
|
context: .
|
|
args:
|
|
port: 80
|
|
bucket: "bucket"
|
|
token: "o/oauth2/token"
|
|
dockerfile: Dockerfile
|
|
volumes:
|
|
- ./testfixtures_shared/shared:/fixture/shared
|
|
ports:
|
|
- "80" |