From 4da1a231b3ba464fd3a5458a696c708cd7935f5e Mon Sep 17 00:00:00 2001 From: Jean Cochrane Date: Wed, 15 Nov 2023 11:27:37 -0600 Subject: [PATCH] Try provisioning build-and-run-model with an EC2 backend --- .github/workflows/build-and-run-model.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-and-run-model.yaml b/.github/workflows/build-and-run-model.yaml index 86fee49..3f30b2b 100644 --- a/.github/workflows/build-and-run-model.yaml +++ b/.github/workflows/build-and-run-model.yaml @@ -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 }}