opentargets / issues

Issue tracker for Open Targets Platform and Open Targets Genetics Portal
https://platform.opentargets.org https://genetics.opentargets.org
Apache License 2.0
12 stars 2 forks source link

Automate running platform input support #3195

Closed jdhayhurst closed 7 months ago

jdhayhurst commented 8 months ago

As a developer I want to be able to automate runs of PIS because currently every run requires setting up all the infrastructure, doing the configuration and running manually, which takes time and is liable to introduce errors.

Background

Current process

  1. Create a GCP VM with sufficient storage
  2. Install dependencies
  3. Setup user and dirs
  4. Fetch GCP credentials
  5. Run the specified PIS container with specified params and config
  6. Check logs and tear down infrastructure

Proposal

Utilise CLI make interface and Terraform to automate the above steps.

Terminology

Operations/Makefile targets

Tasks

Acceptance tests

How do we know the task is complete?

  1. I can run PIS locally using a simple CLI
  2. I can run PIS remotely using a simple CLI