How to set AWS_BATCH_JOB_ATTEMPT value when using curl to submit cromwell jobs to batch?
0
0
Entering edit mode
4.0 years ago

I want to set AWS_BATCH_JOB_ATTEMPT in my pipeline. My pipeline is a cromwell wdl pipeline which utilizes AWS batch as the backend. I submit jobs like so:

curl -X  POST "http://172.31.77.179:8000/api/workflows/v1"  \
    -H "accept: application/json" \
    -F "workflowSource=@rnaseq_pipeline.wdl" \
    -F "workflowInputs=@rnaseq_pipeline.json" \
    -F "workflowDependencies=@tasks.zip"

From what I read on aws, they seem to set the environment variables for jobs through the websites GUI. I submit my jobs with curl, how would I add the AWS_BATCH_JOB_ATTEMPT value?

Any help would be appreciated, I am not familiar with either cromwell or batch.

wdl cromwell workflow aws-batch • 853 views
ADD COMMENT
1
Entering edit mode

You may want to post this directly on Broad forum's since people who support cromwell may not stop by here regularly.

ADD REPLY

Login before adding your answer.

Traffic: 2304 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6