diff --git a/.github/workflows/release-matrix.yaml b/.github/workflows/release-matrix.yaml new file mode 100644 index 00000000..b117b239 --- /dev/null +++ b/.github/workflows/release-matrix.yaml @@ -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 }}