Skip to content

UI-RKE2-OS-Upgrade-Rancher_Stable #268

UI-RKE2-OS-Upgrade-Rancher_Stable

UI-RKE2-OS-Upgrade-Rancher_Stable #268

# This workflow calls the master E2E workflow with custom variables
name: UI-RKE2-OS-Upgrade-Rancher_Stable
# We test upgrade with:
# - Iso stable to dev
# - Elemental-operator stable
# - RKE2 as management node
# - Rancher latest stable
#
# Later it will be moved to main scenario when we will be able to choose the ISO
# because for now, we can only build ISO with stable ISO
on:
workflow_dispatch:
inputs:
destroy_runner:
description: Destroy the auto-generated self-hosted runner
default: true
type: boolean
rancher_version:
description: Rancher Manager channel/version to use for installation
default: stable/latest
type: string
schedule:
- cron: '0 1 * * *'
jobs:
ui:
uses: ./.github/workflows/master-e2e.yaml
secrets:
credentials: ${{ secrets.GCP_CREDENTIALS }}
pat_token: ${{ secrets.SELF_HOSTED_RUNNER_PAT_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
# Using user account has to be disable due to this bug
# https://github.com/rancher/elemental-ui/issues/64
# Fixed in elemental-ui 1.1.0
#ui_account: user
ca_type: private
cluster_name: cluster-rke2
cypress_tags: upgrade
destroy_runner: ${{ inputs.destroy_runner || true }}
elemental_ui_version: dev
iso_boot: true
k8s_version_to_provision: v1.26.7+rke2r1
operator_repo: oci://registry.opensuse.org/isv/rancher/elemental/stable/charts/rancher
rancher_version: ${{ inputs.rancher_version || 'stable/latest' }}
test_type: ui
upgrade_image: registry.opensuse.org/isv/rancher/elemental/dev/containers/rancher/elemental-teal/5.4:latest
upgrade_os_channel: dev
upstream_cluster_version: v1.26.7+rke2r1