HomePhabricator
Diffusion Comm 01455650120f

[services][backup] Use Rust service in Dockerfile

Description

[services][backup] Use Rust service in Dockerfile

Summary:
Resolves ENG-2701

  • Mostly copy-pasted Dockerfile from Blob service
  • Made it more flexible by moving LOCALSTACK_URL and BLOB_SERVICE_URL to docker-compose.yml config
  • I left COMM_SERVICES_SANDBOX handled internally in-app, because it is more flexible - distinguishes truthy and falsy values - see this line

Depends on D6246

Test Plan:

cd services
yarn init-local-cloud

# now this also starts blob service automatically
# no need to run 'yarn run-blob-service'
yarn run-backup-service-in-sandbox

# in a separate terminal
yarn run-integration-tests backup

Reviewers: jon, varun, tomek

Reviewed By: jon

Subscribers: ashoat, atul

Differential Revision: https://phab.comm.dev/D6262

Details

Provenance
bartekAuthored on Jan 13 2023, 11:52 AM
Reviewer
jon
Differential Revision
D6262: [services][backup] Use Rust service in Dockerfile
Parents
rCOMM578d87f96f4f: [services][backup] PullBackup - fix tracing span
Branches
Unknown
Tags
Unknown