Skip to content

Commit 54e639a

Browse files
committed
demo-arch-sweep.yml
1 parent c6480e0 commit 54e639a

1 file changed

Lines changed: 58 additions & 0 deletions

File tree

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: Demo – Full OS/Architecture sweep
2+
on:
3+
workflow_dispatch:
4+
inputs:
5+
sleep:
6+
description: "Sleep duration in seconds for workload simulation"
7+
required: false
8+
type: string
9+
default: "10"
10+
debug:
11+
description: "Enable debug mode"
12+
required: false
13+
type: boolean
14+
default: false
15+
workflow_call: # Can be called from other workflows
16+
inputs:
17+
sleep:
18+
required: false
19+
type: string
20+
default: "10"
21+
debug:
22+
required: false
23+
type: boolean
24+
default: false
25+
permissions:
26+
id-token: write # Required for AWS OIDC authentication
27+
contents: read # Required for actions/checkout
28+
jobs:
29+
os-arch-matrix:
30+
name: ${{ matrix.os }} ${{ matrix.version }} ${{ matrix.arch }}
31+
strategy:
32+
fail-fast: false
33+
matrix:
34+
include:
35+
- { "os": Ubuntu, "version": "22.04", "arch": x86_64, "ami": ami-021589336d307b577, "instance_type": t3.medium }
36+
- { "os": Ubuntu, "version": "22.04", "arch": arm64, "ami": ami-06daf9c2d2cf1cb37, "instance_type": t4g.medium }
37+
- { "os": Ubuntu, "version": "24.04", "arch": x86_64, "ami": ami-0ca5a2f40c2601df6, "instance_type": t3.medium }
38+
- { "os": Ubuntu, "version": "24.04", "arch": arm64, "ami": ami-0aa307ed50ca3e58f, "instance_type": t4g.medium }
39+
- { "os": Debian, "version": "12", "arch": x86_64, "ami": ami-05b50089e01b13194, "instance_type": t3.large }
40+
- { "os": Debian, "version": "12", "arch": arm64, "ami": ami-0505441d7e1514742, "instance_type": t4g.large }
41+
- { "os": Debian, "version": "13", "arch": x86_64, "ami": ami-0b0012dad04fbe3d7, "instance_type": t3.large }
42+
- { "os": Debian, "version": "13", "arch": arm64, "ami": ami-01b1eba85c1cd6a3d, "instance_type": t4g.large }
43+
- { "os": AL2, "version": "2", "arch": x86_64, "ami": ami-0e2c86481225d3c51, "instance_type": t3.small }
44+
- { "os": AL2, "version": "2", "arch": arm64, "ami": ami-08333c9352b93f31e, "instance_type": t4g.small }
45+
- { "os": AL2023, "version": "2023", "arch": x86_64, "ami": ami-00ca32bbc84273381, "instance_type": t3.small }
46+
- { "os": AL2023, "version": "2023", "arch": arm64, "ami": ami-0aa7db6294d00216f, "instance_type": t4g.small }
47+
uses: ./.github/workflows/demo-dbg-minimal.yml
48+
with:
49+
type: ${{ matrix.instance_type }}
50+
ami: ${{ matrix.ami }}
51+
sleep: ${{ inputs.sleep }}
52+
debug: ${{ inputs.debug }}
53+
# Restore defaults for sweep test
54+
registration_timeout: "300"
55+
initial_grace_period: "60"
56+
grace_period: "30"
57+
max_instance_lifetime: "60"
58+
secrets: inherit

0 commit comments

Comments
 (0)