Skip to content

Commit

Permalink
Try provisioning build-and-run-model with an EC2 backend
Browse files Browse the repository at this point in the history
  • Loading branch information
jeancochrane committed Nov 15, 2023
1 parent 57ef75b commit 4da1a23
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build-and-run-model.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,13 @@ jobs:
# required in order to allow the reusable called workflow to push to
# GitHub Container Registry
packages: write
uses: ccao-data/actions/.github/workflows/build-and-run-batch-job.yaml@main
uses: ccao-data/actions/.github/workflows/build-and-run-batch-job.yaml@jeancochrane/57-infra-updates-enable-ec2-backend-for-model-batch-jobs
with:
vcpu: "16.0"
memory: "65536"
ref: jeancochrane/57-infra-updates-enable-ec2-backend-for-model-batch-jobs
vcpu: "4.0"
memory: "16384"
role-duration-seconds: 14400 # Worst-case time for a full model run
backend: ec2
secrets:
AWS_IAM_ROLE_TO_ASSUME_ARN: ${{ secrets.AWS_IAM_ROLE_TO_ASSUME_ARN }}
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}

0 comments on commit 4da1a23

Please sign in to comment.