Skip to content

Commit c019f4f

Browse files
TechassiNickLarsenNZ
authored andcommitted
ci: Adjust workflow
1 parent 9b048f2 commit c019f4f

File tree

2 files changed

+4
-66
lines changed

2 files changed

+4
-66
lines changed

.github/workflows/integration-test.yml

+1-63
Original file line numberDiff line numberDiff line change
@@ -1,92 +1,30 @@
11
---
22
name: Integration Test
3-
run-name: |
4-
Integration Test on ${{ inputs.test-platform }}-${{ inputs.test-architecture }} (${{ inputs.test-run == 'all' && 'all' || format('{0}={1}', inputs.test-run, inputs.test-parameter) }})
53

64
env:
75
DEFAULT_TEST_PLATFORM: kind-1.31.0
86
DEFAULT_TEST_ARCHITECTURE: amd64
97
DEFAULT_TEST_RUN: all
108
DEFAULT_TEST_PARAMETER: "" # Unused when the test-run is 'all'
11-
TEST_PLATFORM: ${{ inputs.test-platform }}
12-
TEST_ARCHITECTURE: ${{ inputs.test-architecture }}
13-
TEST_RUN: ${{ inputs.test-run }}
14-
TEST_PARAMETER: ${{ inputs.test-parameter }}
159

1610
on:
1711
# schedule:
1812
# At 00:00 on Sunday. See: https://crontab.guru/#0_0_*_*_0
1913
# - cron: "0 0 * * 0"
2014
workflow_dispatch:
21-
inputs:
22-
test-platform:
23-
description: |
24-
The test platform to run on
25-
required: true
26-
type: choice
27-
options:
28-
- kind-1.31.2
29-
- kind-1.30.6
30-
- rke2-1.31.2
31-
- rke2-1.30.6
32-
- k3s-1.31.2
33-
- k3s-1.30.6
34-
- aks-1.29
35-
- aks-1.28
36-
- aks-1.27
37-
- eks-1.29
38-
- eks-1.28
39-
- eks-1.27
40-
- gke-1.29
41-
- gke-1.28
42-
- gke-1.27
43-
- okd-4.15
44-
- okd-4.14
45-
- okd-4.13
46-
test-architecture:
47-
description: |
48-
The architecture the tests will run on. Consult the run-integration-test action README for
49-
more details on supported architectures for each distribution
50-
required: true
51-
type: choice
52-
options:
53-
- amd64
54-
- arm64
55-
test-run:
56-
description: Type of test run
57-
required: true
58-
type: choice
59-
options:
60-
- all
61-
- test-suite
62-
- test
63-
test-parameter:
64-
description: Parameter to `--test-suite` or `--test` (ignored for `all`)
65-
default: smoke
6615

6716
jobs:
6817
test:
6918
name: Run Integration Test
7019
runs-on: ubuntu-latest
7120
steps:
72-
- name: Override integration test options for scheduled run
73-
if: github.event_name == 'schedule'
74-
shell: bash
75-
run: |
76-
set -euo pipefail
77-
78-
echo "TEST_PLATFORM=$DEFAULT_TEST_PLATFORM" | tee -a "$GITHUB_ENV"
79-
echo "TEST_ARCHITECTURE=$DEFAULT_TEST_ARCHITECTURE" | tee -a "$GITHUB_ENV"
80-
echo "TEST_RUN=$DEFAULT_TEST_RUN" | tee -a "$GITHUB_ENV"
81-
echo "TEST_PARAMETER=$DEFAULT_TEST_PARAMETER" | tee -a "$GITHUB_ENV"
82-
8321
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
8422
with:
8523
submodules: recursive
8624

8725
- name: Run Integration Test
8826
id: test
89-
uses: stackabletech/actions/run-integration-test@05cb2081c8ffd34bbaaee36846f4e1892686cf55 # TODO: Use releases version
27+
uses: stackabletech/actions/run-integration-test@51edafef82658194b420aa2912ad68232be41ac5 # TODO: Use released version
9028
with:
9129
replicated-api-token: ${{ secrets.REPLICATED_API_TOKEN }}
9230
test-profile: schedule

tests/interu.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
runners:
22
amd64:
33
platform: aks-1.31
4-
ttl: 4h
4+
ttl: 6h
55
node-groups:
66
- name: default
77
arch: amd64
88
size: large
9-
disk-gb: 50
9+
disk-gb: 100
1010
nodes: 3
1111

1212
profiles:
1313
schedule:
1414
strategy: use-runner
1515
runner: amd64
1616
options:
17-
parallelism: 1
17+
parallelism: 2

0 commit comments

Comments
 (0)