-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release matrix testing all operators at once (#216)
Signed-off-by: Tomas Hehejik <thehejik@suse.com>
- Loading branch information
Showing
1 changed file
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
name: Release-matrix | ||
run-name: Rancher release `${{ inputs.rancher_version }}` deployed on `${{ inputs.k3s_version }}` | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
rancher_version: | ||
description: Rancher version channel/version/head_version | ||
required: true | ||
type: string | ||
default: latest/devel/2.10 | ||
k3s_version: | ||
description: k3s version of local cluster | ||
required: true | ||
type: string | ||
default: v1.30.5+k3s1 | ||
runner_template: | ||
description: Runner template to use | ||
default: hosted-prov-e2e-ci-runner-spot-n2-highmem-16-gl-template-v3 | ||
type: string | ||
operator_nightly_chart: | ||
description: Install hosted-provider nightly chart | ||
default: false | ||
required: true | ||
type: boolean | ||
destroy_runner: | ||
description: Destroy the auto-generated self-hosted runner | ||
default: true | ||
type: boolean | ||
downstream_cluster_cleanup: | ||
description: Cleanup downstream clusters after test | ||
default: true | ||
type: boolean | ||
downstream_k8s_minor_version: | ||
description: Downstream cluster minor K8s version to test (e.g., 1.30) | ||
rancher_installed: | ||
description: Rancher details if already installed | ||
default: 'hostname/password' | ||
type: string | ||
tests_to_run: | ||
description: Tests to run | ||
required: true | ||
default: p0_provisioning/p0_import | ||
proxy: | ||
description: Install Rancher behind proxy | ||
type: boolean | ||
default: false | ||
|
||
jobs: | ||
e2e-tests: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
provider: [aks, eks, gke] | ||
uses: ./.github/workflows/main.yaml | ||
secrets: inherit | ||
with: | ||
hosted_provider: ${{ matrix.provider }} | ||
rancher_version: ${{ inputs.rancher_version }} | ||
k3s_version: ${{ inputs.k3s_version }} | ||
operator_nightly_chart: ${{ inputs.operator_nightly_chart }} | ||
tests_to_run: ${{ inputs.tests_to_run }} | ||
destroy_runner: ${{ inputs.destroy_runner }} | ||
runner_template: ${{ inputs.runner_template }} | ||
downstream_k8s_minor_version: ${{ inputs.downstream_k8s_minor_version }} | ||
rancher_installed: ${{ inputs.rancher_installed }} | ||
downstream_cluster_cleanup: ${{ inputs.downstream_cluster_cleanup }} | ||
proxy: ${{ inputs.proxy }} |