Skip to content

CLI-K3s-OS-Upgrade

CLI-K3s-OS-Upgrade #44

# This workflow calls the master E2E workflow with custom variables
name: CLI-K3s-OS-Upgrade
on:
workflow_dispatch:
inputs:
destroy_runner:
description: Destroy the auto-generated self-hosted runner
default: true
type: boolean
iso_to_test:
description: ISO to test
default: https://download.opensuse.org/repositories/isv:/Rancher:/Elemental:/Stable:/Teal53/media/iso/elemental-teal.x86_64.iso
type: string
rancher_upgrade:
description: Rancher Manager channel/version to upgrade to
default: latest/devel
type: string
rancher_version:
description: Rancher Manager channel/version to use for installation
default: stable/latest
type: string
upgrade_os_channel:
description: Channel to use for the Elemental OS upgrade
default: latest-dev
type: string
concurrency:
group: cli-k3s-os-upgrade-${{ github.head_ref || github.ref }}-${{ github.repository }}
cancel-in-progress: true
jobs:
cli:
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:
test_description: "Manual - CLI - Parallel - OS Upgrade test with Standard K3s"
cluster_name: cluster-k3s
destroy_runner: ${{ inputs.destroy_runner }}
iso_to_test: ${{ inputs.iso_to_test }}
k8s_version_to_provision: v1.25.7+k3s1
node_number: 5
operator_upgrade: oci://registry.opensuse.org/isv/rancher/elemental/dev/charts/rancher
operator_repo: oci://registry.opensuse.org/isv/rancher/elemental/stable/charts/rancher
rancher_upgrade: ${{ inputs.rancher_upgrade }}
rancher_version: ${{ inputs.rancher_version }}
upgrade_channel_list: registry.opensuse.org/isv/rancher/elemental/dev/teal53/15.4/rancher/elemental-teal-channel/5.3:latest
upgrade_image: registry.opensuse.org/isv/rancher/elemental/dev/teal53/15.4/rancher/elemental-teal/5.3:latest
upgrade_os_channel: ${{ inputs.upgrade_os_channel }}