Last active
May 31, 2021 22:15
-
-
Save KyMidd/7f8324d534d57f8bf26e6cd7c481c043 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Submit Job 1 | |
job1_name="job1" | |
job1=$(aws batch submit-job --job-name BatchJob1Name_int_$date --job-definition BatchJob1JobDef:2 --job-queue arn:aws:batch:us-east-1:1234567890:job-queue/batch-job-queue-1 --region us-east-1 --container-overrides vcpus=4,memory=8192,command='["-a=foo","-b=bar"]' | jq -r '.jobId') | |
echo "##[command]"$job1_name "job submitted, ID:" $job1 | |
# Submit Job 2 | |
job2_name="job2" | |
job2=$(aws batch submit-job --job-name BatchJob2Name_int_$date --job-definition BatchJob2JobDef:2 --job-queue arn:aws:batch:us-east-1:1234567890:job-queue/batch-job-queue-1 --region us-east-1 --container-overrides vcpus=4,memory=8192,command='["-a=foo","-b=bar"]' | jq -r '.jobId') | |
echo "##[command]"$job2_name "job submitted, ID:" $job2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment