Manifest: run-integration-test/action.yml
This action runs an operator integration test. It does the following work:
- Create a test cluster on-the-fly using the requested Kubernetes version, distribution and node architecture via Replicated. See Test Platform Triple for more details.
- Run the integration test based on the provided test parameters.
- Delete the cluster of the tests are done and send out a notification on failure.
The test-platform
input expects a test platform triple to select the appropriate node
architecture and Kubernetes distribution & version. The triple format is
<DISTRIBUTION>-<VERSION>-<ARCHITECTURE>
, eg. kind-1.31.2-amd64
or gke-1.31-arm64
.
Each distribution supports different instance types
based on the cloud vendor machine names. This mapping is done via the instances.yml
file. Based
on this file, the following distributions are supported: eks
, gke
, aks
, kind
, k3s
, rke2
.
There is no mapping for oke
yet.
Supported Kubernetes version can be inspected on the official Replicated documentation
page. Supported architectures are amd64
and arm64
.
Tip
For descriptions of the inputs and outputs, see the complete run-integration-test action.
test-platform
(required, eg:kind-1.31.2-amd64
)test-run
(required,test-suite
ortest
)test-parameter
(defaults tosmoke
)replicated-api-token
(required)
Note
test-parameter
maps to a specific test name, not to a single test with all dimensions resolved.
start-time
end-time