4
4
5
5
This action runs an operator integration test. It does the following work:
6
6
7
- 1 . Create a test cluster on-the-fly using the requested Kubernetes version and distribution via
8
- Replicated.
7
+ 1 . Create a test cluster on-the-fly using the requested Kubernetes version, distribution and node
8
+ architecture via Replicated. See [ Test Platform Triple ] ( #test-platform-triple ) for more details .
9
9
2 . Run the integration test based on the provided test parameters.
10
10
3 . Delete the cluster of the tests are done and send out a notification on failure.
11
11
12
+ ## Test Platform Triple
13
+
14
+ The [ ` test-platform ` ] ( #inputs ) input expects a test platform triple to select the appropriate node
15
+ architecture and Kubernetes distribution & version. The triple format is
16
+ ` <DISTRIBUTION>-<VERSION>-<ARCHITECTURE> ` , eg. ` kind-1.31.2-amd64 ` or ` gke-1.31-arm64 ` .
17
+
18
+ Each distribution supports different instance types
19
+ based on the cloud vendor machine names. This mapping is done via the ` instances.yml ` file. Based
20
+ on this file, the following distributions are supported: ` eks ` , ` gke ` , ` aks ` , ` kind ` , ` k3s ` , ` rke2 ` .
21
+ There is no mapping for ` oke ` yet.
22
+
23
+ Supported Kubernetes version can be inspected on the official Replicated documentation
24
+ [ page] [ supported-clusters ] . Supported architectures are ` amd64 ` and ` arm64 ` .
25
+
12
26
## Inputs and Outputs
13
27
14
28
> [ !TIP]
15
29
> For descriptions of the inputs and outputs, see the complete [ run-integration-test] action.
16
30
17
31
### Inputs
18
32
19
- - ` test-platform ` (required, eg: ` kind-1.31.0 -amd64 ` )
33
+ - ` test-platform ` (required, eg: ` kind-1.31.2 -amd64 ` )
20
34
- ` test-run ` (required, ` test-suite ` or ` test ` )
21
35
- ` test-parameter ` (defaults to ` smoke ` )
22
36
- ` replicated-api-token ` (required)
@@ -26,4 +40,5 @@ This action runs an operator integration test. It does the following work:
26
40
- ` start-time `
27
41
- ` end-time `
28
42
43
+ [ supported-clusters ] : https://docs.replicated.com/vendor/testing-supported-clusters
29
44
[ run-integration-test ] : ./action.yml
0 commit comments