2.1.0 • Published 5 years ago

task-service-container v2.1.0

Weekly downloads
-
License
UNLICENSED
Repository
bitbucket
Last release
5 years ago

This repo contains the code that forms the outer container used by task-service to run the task executor containers.

Running locally

Set the environment variable LIFEOMIC_DOMAIN=dev.lifeomic.com.

Simply run

$ INTEGRATION_TEST=true node src/index.js <TASK_ID>

where <TASK_ID> is a task id (e.g. lifeomic:a8288171-003f-43fa-8439-1f0ff9700529)

Or you can run it in docker:

$ yarn docker-build
$ docker run --read-only -v ~/.aws:/root/.aws -v /var/run/docker.sock:/var/run/docker.sock -v /tmp:/tmp --env AWS_PROFILE=lifeomic-dev --env AWS_SDK_LOAD_CONFIG=true task-service-container <TASK_ID>