Clever/batchcli

Name: batchcli

Owner: Clever

Description: Utility to manage inputs and outputs of batch worker executions

Created: 2017-02-16 00:06:08.0

Updated: 2018-05-24 00:54:50.0

Pushed: 2018-05-24 00:54:49.0

Homepage:

Size: 3058

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

batchcli

Utility to manage inputs and outputes of batch worker executions. Uses DynamoDB as backend

Owned by eng-infra

AWS Policy

A policy of the following form be added to the ECS Task Role:


"Version": "2012-10-17",
"Statement": [
    {
        "Sid": "Stmt1490140880000",
        "Effect": "Allow",
        "Action": [
            "dynamodb:*"
        ],
        "Resource": [
            "arn:aws:dynamodb:us-east-1:<account-id>:table/workflow-results*"
        ]
    }
]

The name of the Dyanmo table can be changed using the -results-location flag. It defaults to workflow-results if AWS_BATCH_JQ_NAME contains production else workflow-results-dev.

Usage
hcli -cmd <command> cmd-args
Shepherds

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.