Skip to content

Commit

Permalink
Setup and start self-hosted EC2 runner AlmaLinux#17
Browse files Browse the repository at this point in the history
  • Loading branch information
yuravk committed Jun 7, 2024
1 parent 56ecae0 commit cbcef86
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/almalinux-compose-test-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,15 @@ jobs:
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws_region: ${{ secrets.AWS_REGION }}
ec2_instance_type: t4g.small
ec2_ami_id: ${{ inputs.version_major == '9' && 'ami-0ce12a8fbc3cc15a5' || 'ami-01e3e647c7acbc64b' }}
ec2_subnet_id: subnet-64063c29
ec2_security_group_id: sg-07e22182e33675edc
ec2_root_disk_size_gb: "16"
ec2_ami_id: ${{ inputs.version_major == '9' && secrets.EC2_AMI_ID_AL9 || secrets.EC2_AMI_ID_AL8 }}
ec2_subnet_id: ${{ secrets.EC2_SUBNET_ID}}
ec2_security_group_id: ${{ secrets.EC2_SECURITY_GROUP_ID }}
ec2_root_disk_size_gb: "16" # override default size which is too small for actions and tests stuff
ec2_instance_ttl: 60 # Optional (default is 60 minutes)
ec2_spot_instance_strategy: None # Other options are: SpotOnly, BestEffort, MaxPerformance
ec2_instance_tags: > # Required for IAM role resource permission scoping
[
{"Key": "Owner", "Value": "${{ github.actor }}"}
{"Key": "compose-tests", "Value": "${{ github.actor }}"}
]
Expand Down

0 comments on commit cbcef86

Please sign in to comment.