From cbcef8657f69fd3b40387d29b18b03e6bc3462c9 Mon Sep 17 00:00:00 2001 From: Yuriy Kohut Date: Fri, 7 Jun 2024 12:19:54 +0300 Subject: [PATCH] Setup and start self-hosted EC2 runner #17 --- .github/workflows/almalinux-compose-test-arm64.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/almalinux-compose-test-arm64.yml b/.github/workflows/almalinux-compose-test-arm64.yml index 1be9d2e..3982ef1 100644 --- a/.github/workflows/almalinux-compose-test-arm64.yml +++ b/.github/workflows/almalinux-compose-test-arm64.yml @@ -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 }}"} ]