Skip to content

Commit b6c38f8

Browse files
committed
rm secrets.AWS_ROLE reference, update inputs.descriptions
1 parent 5ce987b commit b6c38f8

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/test-gpu.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,27 @@ on:
1313
type: number
1414
default: 60
1515
ssh_pubkey:
16-
description: "SSH public key to add to authorized_keys (optional input)"
16+
description: "SSH public key to add to authorized_keys (optional, for debugging)"
1717
required: false
1818
type: string
1919
aws_key_name:
20-
description: "Name of the EC2 key pair to use for SSH access"
20+
description: "Name of an EC2 key pair to use for SSH access (optional, for debugging)"
2121
required: false
2222
type: string
2323
aws_security_group_id:
24-
description: "AWS security group ID (for SSH access)"
24+
description: "AWS security group ID (for SSH access; optional, for debugging)"
2525
required: false
2626
type: string
2727
permissions:
2828
id-token: write # Required for AWS OIDC authentication
2929
contents: read # Required for actions/checkout
3030
jobs:
31-
# EC2 runner automatically terminates itself
3231
ec2:
3332
uses: Open-Athena/ec2/.github/workflows/runner.yml@dev
3433
secrets:
35-
AWS_ROLE: ${{ secrets.AWS_ROLE }} # Role to assume for provisioning
3634
GH_SA_TOKEN: ${{ secrets.GH_SA_TOKEN }} # GitHub "Service Account" token for runner registration
3735
with:
36+
# aws_role: ${{ vars.AWS_ROLE }} # Pass an explicit value here, or Open-Athena/ec2 will fall back to `vars.AWS_ROLE`
3837
ssh_pubkey: ${{ inputs.ssh_pubkey }} # Optional SSH key to install on node, for debugging
3938
aws_key_name: ${{ inputs.aws_key_name }} # Name of the EC2 key pair to use for SSH access
4039
aws_security_group_id: ${{ inputs.aws_security_group_id }} # Security group for SSH access

0 commit comments

Comments
 (0)