CLI-OBS-Manual-Upgrade-Workflow #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow calls the master E2E workflow with custom variables | |
name: CLI-OBS-Manual-Upgrade-Workflow | |
on: | |
workflow_dispatch: | |
inputs: | |
ca_type: | |
description: CA type to use (selfsigned or private) | |
default: selfsigned | |
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.30.4+k3s1 | |
type: string | |
k8s_upstream_version: | |
description: Rancher cluster upstream version to use | |
default: v1.30.4+k3s1 | |
type: string | |
operator_repo: | |
description: Operator version to use for initial deployment | |
default: oci://registry.suse.com/rancher | |
type: string | |
qase_run_id: | |
description: Qase run ID where the results will be reported | |
type: string | |
rancher_upgrade: | |
description: Rancher Manager channel/version to upgrade to | |
default: latest/devel/2.8 | |
type: string | |
rancher_version: | |
description: Rancher Manager channel/version/head_version to use for installation | |
default: stable/latest | |
type: string | |
slem_version: | |
description: SLE Micro version | |
default: 6.1 | |
type: string | |
upgrade_os_channel: | |
description: Channel to use for the Elemental OS upgrade | |
default: dev | |
type: string | |
jobs: | |
cli: | |
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_CLI }} | |
with: | |
ca_type: ${{ inputs.ca_type }} | |
destroy_runner: ${{ inputs.destroy_runner }} | |
k8s_downstream_version: ${{ inputs.k8s_downstream_version }} | |
k8s_upstream_version: ${{ inputs.k8s_upstream_version }} | |
node_number: 5 | |
operator_upgrade: oci://registry.opensuse.org/isv/rancher/elemental/${{ inputs.upgrade_os_channel }}/charts/rancher | |
operator_repo: ${{ inputs.operator_repo }} | |
os_to_test: stable | |
qase_run_id: ${{ inputs.qase_run_id }} | |
rancher_upgrade: ${{ inputs.rancher_upgrade }} | |
rancher_version: ${{ inputs.rancher_version }} | |
test_type: cli | |
upgrade_image: registry.opensuse.org/isv/rancher/elemental/${{ inputs.upgrade_os_channel }}/containers/suse/sl-micro/${{ inputs.slem_version }}/baremetal-os-container:latest | |
upgrade_os_channel: ${{ inputs.upgrade_os_channel }} |