Skip to content

UI-RKE2-Upgrade

UI-RKE2-Upgrade #180

# This workflow calls the master E2E workflow with custom variables
name: UI-RKE2-Upgrade
on:
workflow_dispatch:
inputs:
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.28.13+k3s1"'
type: string
k8s_upstream_version:
description: Rancher cluster upstream version to use
default: '"v1.28.13+rke2r1"'
type: string
proxy:
description: Deploy a proxy (none/rancher/elemental)
default: elemental
type: string
qase_run_id:
description: Qase run ID where the results will be reported
type: string
rancher_version:
description: Rancher Manager channel/version/head_version to use
default: '"prime/latest"'
type: string
schedule:
# From Monday to Saturday at 4am UTC (11pm in us-central1)
- cron: '0 4 * * 1-6'
jobs:
ui:
strategy:
fail-fast: false
max-parallel: 4
matrix:
k8s_downstream_version: ${{ fromJSON(format('[{0}]', inputs.k8s_downstream_version || '"v1.28.13+rke2r1"')) }}
k8s_upstream_version: ${{ fromJSON(format('[{0}]', inputs.k8s_upstream_version || '"v1.28.13+rke2r1"')) }}
rancher_version: ${{ fromJSON(format('[{0}]', inputs.rancher_version || '"prime/latest","latest/devel/2.8","latest/devel/2.9"')) }}
uses: ./.github/workflows/master_e2e.yaml
secrets:
credentials: ${{ secrets.GCP_CREDENTIALS }}
pat_token: ${{ secrets.SELF_HOSTED_RUNNER_PAT_TOKEN }}
qase_api_token: ${{ secrets.QASE_API_TOKEN }}
with:
# Should be raw for RKE2 but raw image feature is not in stable version.
# We will enable it back once the new elemental released
# boot_type: raw
boot_type: iso
ca_type: private
cypress_tags: upgrade
destroy_runner: ${{ github.event_name == 'schedule' && true || inputs.destroy_runner }}
elemental_ui_version: stable
k8s_downstream_version: ${{ matrix.k8s_downstream_version }}
k8s_upstream_version: ${{ matrix.k8s_upstream_version }}
proxy: ${{ inputs.proxy || 'elemental' }}
operator_repo: oci://registry.suse.com/rancher
qase_run_id: ${{ github.event_name == 'schedule' && 'auto' || inputs.qase_run_id }}
rancher_version: ${{ matrix.rancher_version }}
test_type: ui
ui_account: user
upgrade_image: registry.opensuse.org/isv/rancher/elemental/dev/containers/suse/sl-micro/6.0/baremetal-os-container:latest
zone: us-central1-b