Skip to content

Commit

Permalink
update bc_installer and buildspec
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-e-tabaska committed Jun 14, 2024
1 parent e6bd57e commit 780a63e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ phases:
AmiId=${AMI_ID:-auto}
CompilerMacroName=${COMPILER_MACRO_NAME}
ExistingBatchSubscriptionFilter="${BATCH_FILTER:-none}"
GpuAmiId=${GPU_AMI_ID:-auto}
InstallationName=${INSTALLATION_NAME}
LauncherBucketName=${LAUNCHER_BUCKET_NAME}
LogRetentionDays=${LOG_RETENTION_DAYS}
Expand Down
12 changes: 12 additions & 0 deletions cloudformation/bc_installer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Metadata:
default: Batch
Parameters:
- AmiId
- GpuAmiId
- RootVolumeSize
- ScratchVolumeSize
- MinvCpus
Expand Down Expand Up @@ -68,6 +69,14 @@ Parameters:
Description: GitHub repo containing the BayerCLAW core code.
Default: "Bayer-Group/BayerCLAW"

GpuAmiId:
Type: String
Description: >
The ID of a GPU-enabled Amazon Machine Image (AMI) to create EC2 instances with. Enter "auto" to have Batch
select an AMI. Otherwise, it is highly recommended that you choose a GPU-enabled, ECS-optimized Amazon Linux 2
image to use.
Default: "auto"

InstallationName:
Type: String
Description: >
Expand Down Expand Up @@ -221,6 +230,9 @@ Resources:
- Name: COMPILER_MACRO_NAME
Type: PLAINTEXT
Value: !Ref CompilerMacroName
- Name: GPU_AMI_ID
Type: PLAINTEXT
Value: !Ref GpuAmiId
- Name: INSTALLATION_NAME
Type: PLAINTEXT
Value: !Ref InstallationName
Expand Down

0 comments on commit 780a63e

Please sign in to comment.