Skip to content

Commit

Permalink
Release matrix testing all operators at once (#216)
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Hehejik <thehejik@suse.com>
  • Loading branch information
thehejik authored Dec 10, 2024
1 parent 2aaecc1 commit 9bab89c
Showing 1 changed file with 68 additions and 0 deletions.
68 changes: 68 additions & 0 deletions .github/workflows/release-matrix.yaml
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 }}

0 comments on commit 9bab89c

Please sign in to comment.