services:
# FIXME until the fix of #1344 is released for the fake GCS, we have to run the main branch locally
# FIXME using fork of fsouza/fake-gcs-server - switch back to upstream as soon as fsouza/fake-gcs-server#1164 is merged and released
gcs-mock:
pull_policy: always
image: tustvold/fake-gcs-server
volumes:
- "./src/test/mock_data:/data"
ports:
- "4443:4443"
command: "-backend memory -scheme http -data /data -log-level debug -public-host gcs-mock:4443"
rust-check:
pull_policy: always
image: ghcr.io/tweedegolf/rust-dev:stable
working_dir: /app
environment:
CARGO_TARGET_DIR: .cargo
GOOGLE_BUCKET: testBucket
GOOGLE_SERVICE_ACCOUNT: src/test/gcs_mock.json
volumes:
- '.:/app'
entrypoint: ./bin/check.sh