Skip to content

UI-Rancher-Manager-Head-2.9 #1

UI-Rancher-Manager-Head-2.9

UI-Rancher-Manager-Head-2.9 #1

# This workflow calls the master E2E workflow with custom variables
name: UI-Rancher-Manager-Head-2.9
on:
workflow_dispatch:
inputs:
boot_type:
description: Type of image used for bootstrapping the nodes
default: '"iso"'
type: string
destroy_runner:
description: Destroy the auto-generated self-hosted runner
default: true
type: boolean
k8s_downstream_version:
description: Rancher cluster downstream version to use
default: '"v1.27.8+k3s2"'
type: string
k8s_upstream_version:
description: Rancher cluster upstream version to use
default: '"v1.26.10+k3s2"'
type: string
proxy:
description: Deploy a proxy (none/rancher/elemental)
default: elemental
type: string
rancher_version:
description: Rancher Manager channel/version/head_version to use
default: '"latest/devel/2.9"'
type: string
schedule:
# Every Sunday at 12am UTC (7am in us-central1)
- cron: '0 23 * * 1-6'
jobs:
ui:
strategy:
fail-fast: false
max-parallel: 4
matrix:
boot_type: ${{ fromJSON(format('[{0}]', inputs.boot_type || '"iso","raw"')) }}
k8s_downstream_version: ${{ fromJSON(format('[{0}]', inputs.k8s_downstream_version || '"v1.27.8+k3s2","v1.27.8+rke2r1"')) }}
k8s_upstream_version: ${{ fromJSON(format('[{0}]', inputs.k8s_upstream_version || '"v1.26.10+k3s2","v1.27.19+rke2r2"')) }}
rancher_version: ${{ fromJSON(format('[{0}]', inputs.rancher_version || '"latest/devel/2.9"')) }}
uses: ./.github/workflows/master_e2e.yaml
secrets:
credentials: ${{ secrets.GCP_CREDENTIALS }}
pat_token: ${{ secrets.SELF_HOSTED_RUNNER_PAT_TOKEN }}
with:
boot_type: ${{ matrix.boot_type }}
ca_type: selfsigned
cypress_tags: main
destroy_runner: ${{ github.event_name == 'schedule' && true || inputs.destroy_runner }}
elemental_ui_version: dev
k8s_downstream_version: ${{ matrix.k8s_downstream_version }}
k8s_upstream_version: ${{ matrix.k8s_upstream_version }}
proxy: ${{ inputs.proxy || 'elemental' }}
rancher_version: ${{ matrix.rancher_version }}
test_type: ui