Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci/ui: add 2.8 UI weekly test #1656

Merged
merged 1 commit into from
Nov 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/SCHEDULING.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ We try to spread the tests as best as we can to avoid SPOT issue as well as not
| UI RKE2 | Monday to Saturday | 2am | us-central1-b |
| UI RKE2 Upgrade | Monday to Saturday | 4am | us-central1-b |
| UI Rancher Manager Devel | Sunday | 12pm | us-central1-a |
| UI Rancher Manager 2.8-head | Sunday | 12pm | us-central1-a |
| Update tests description | All days | 11pm | us-central1 |

**NOTE:** please note that the GitHub scheduler uses UTC and our GCP runners are deployed in `us-central1`, so UTC-5.
65 changes: 65 additions & 0 deletions .github/workflows/ui-rm-head-2.8-matrix.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# This workflow calls the master E2E workflow with custom variables
name: UI-Rancher-Manager-Head-2.8

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.28.13+k3s1"'
type: string
k8s_upstream_version:
description: Rancher cluster upstream version to use
default: '"v1.28.13+k3s1"'
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: '"latest/devel/2.8"'
type: string
schedule:
# Every Sunday at 12pm UTC (7am in us-central1)
- cron: '0 12 * * 0'

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.28.13+k3s1","v1.28.13+rke2r1"')) }}
k8s_upstream_version: ${{ fromJSON(format('[{0}]', inputs.k8s_upstream_version || '"v1.28.13+k3s1"')) }}
rancher_version: ${{ fromJSON(format('[{0}]', inputs.rancher_version || '"latest/devel/2.8"')) }}
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:
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' }}
qase_run_id: ${{ github.event_name == 'schedule' && 'auto' || inputs.qase_run_id }}
rancher_version: ${{ matrix.rancher_version }}
test_type: ui
zone: us-central1-a
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
[![CLI-Multicluster](https://github.com/rancher/elemental/actions/workflows/cli-multicluster-matrix.yaml/badge.svg)](https://github.com/rancher/elemental/actions/workflows/cli-multicluster-matrix.yaml)
[![CLI-Rancher-Manager-Head-2.8](https://github.com/rancher/elemental/actions/workflows/cli-rm-head-2.8-matrix.yaml/badge.svg)](https://github.com/rancher/elemental/actions/workflows/cli-rm-head-2.8-matrix.yaml)
[![CLI-Regression](https://github.com/rancher/elemental/actions/workflows/cli-regression-matrix.yaml/badge.svg)](https://github.com/rancher/elemental/actions/workflows/cli-regression-matrix.yaml)
[![UI-Rancher-Manager-Head-2.8](https://github.com/rancher/elemental/actions/workflows/ui-rm-head-2.8-matrix.yaml/badge.svg)](https://github.com/rancher/elemental/actions/workflows/ui-rm-head-2.8-matrix.yaml)

## Goal

Expand Down
Loading