Skip to content
This repository was archived by the owner on Jun 6, 2025. It is now read-only.

Commit b63bfc0

Browse files
committed
feat: Add dispatch inputs
1 parent cd855b2 commit b63bfc0

File tree

1 file changed

+44
-5
lines changed

1 file changed

+44
-5
lines changed

.github/workflows/nightly-test.yml

Lines changed: 44 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,50 @@
11
---
22
# This is an example workflow that will then be moved to operator-templating
33
name: Integration Test
4-
5-
# todo: run-name:
4+
run-name: Integration Test on ${{ inputs.test-platform }}-${{ inputs.test-architecture }} (${{ inputs.test-run }}=${{ inputs.test-parameter }})
65

76
on:
87
workflow_dispatch:
8+
inputs:
9+
test-platform:
10+
description: |
11+
The test platform to run on (kind doesn't support `arm64`)
12+
required: true
13+
type: choice
14+
options:
15+
- kind-1.31.0
16+
- kind-1.30.3
17+
- aks-1.29
18+
- aks-1.28
19+
- aks-1.27
20+
- eks-1.29
21+
- eks-1.28
22+
- eks-1.27
23+
- gke-1.29
24+
- gke-1.28
25+
- gke-1.27
26+
- okd-4.15
27+
- okd-4.14
28+
- okd-4.13
29+
test-architecture:
30+
description: |
31+
The architecture the tests will run on
32+
required: true
33+
type: choice
34+
options:
35+
- amd64
36+
- arm64
37+
test-run:
38+
description: Type of test run
39+
required: true
40+
type: choice
41+
options:
42+
- all
43+
- test-suite
44+
- test
45+
test-parameter:
46+
description: Parameter to `--test-suite` or `--test` (ignored for `all`)
47+
default: smoke
948

1049
jobs:
1150
placeholder:
@@ -20,9 +59,9 @@ jobs:
2059
id: test
2160
uses: stackabletech/actions/run-integration-test@run-integration-test
2261
with:
23-
test-platform: kind-1.31.0-amd64
24-
test-run: test-suite
25-
test-parameter: nightly
62+
test-platform: ${{ inputs.test-platform }}-${{ inputs.test-architecture }}
63+
test-run: ${{ inputs.test-run }}
64+
test-parameter: ${{ inputs.test-parameter }}
2665
replicated-api-token: ${{ secrets.REPLICATED_API_TOKEN }}
2766

2867
- name: Send Notification

0 commit comments

Comments
 (0)