|
40 | 40 | AWS_REGION: eu-west-1 |
41 | 41 |
|
42 | 42 | jobs: |
| 43 | + debug-amis: |
| 44 | + name: "Debug: List existing AMIs" |
| 45 | + runs-on: ubuntu-latest |
| 46 | + steps: |
| 47 | + - name: Configure AWS Credentials |
| 48 | + uses: aws-actions/configure-aws-credentials@v4 |
| 49 | + with: |
| 50 | + role-to-assume: arn:aws:iam::375504701696:role/GitHubBenchmarkRole |
| 51 | + aws-region: ${{ env.AWS_REGION }} |
| 52 | + |
| 53 | + - name: List vortex-ci AMIs |
| 54 | + run: | |
| 55 | + echo "=== x64 AMIs ===" |
| 56 | + aws ec2 describe-images \ |
| 57 | + --owners 375504701696 \ |
| 58 | + --filters "Name=name,Values=vortex-ci-x64-*" \ |
| 59 | + --query 'Images[*].[Name,ImageId,CreationDate,State]' \ |
| 60 | + --output table || echo "No x64 AMIs found" |
| 61 | +
|
| 62 | + echo "" |
| 63 | + echo "=== arm64 AMIs ===" |
| 64 | + aws ec2 describe-images \ |
| 65 | + --owners 375504701696 \ |
| 66 | + --filters "Name=name,Values=vortex-ci-arm64-*" \ |
| 67 | + --query 'Images[*].[Name,ImageId,CreationDate,State]' \ |
| 68 | + --output table || echo "No arm64 AMIs found" |
| 69 | +
|
| 70 | + echo "" |
| 71 | + echo "=== runs-on base AMIs (for reference) ===" |
| 72 | + aws ec2 describe-images \ |
| 73 | + --owners 135269210855 \ |
| 74 | + --filters "Name=name,Values=runs-on-v2.2-ubuntu24-full-x64-*" \ |
| 75 | + --query 'Images | sort_by(@, &CreationDate) | [-1].[Name,ImageId,CreationDate]' \ |
| 76 | + --output table || echo "Cannot read runs-on AMIs" |
| 77 | +
|
43 | 78 | build-x64: |
44 | 79 | name: "Build AMI (x64)" |
45 | 80 | if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.arch == '' || github.event.inputs.arch == 'x64' }} |
|
0 commit comments