Skip to content

Commit bea22a4

Browse files
committed
ci/ui: add 2.8 UI weekly test
1 parent 1243b12 commit bea22a4

File tree

3 files changed

+67
-0
lines changed

3 files changed

+67
-0
lines changed

.github/workflows/SCHEDULING.md

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ We try to spread the tests as best as we can to avoid SPOT issue as well as not
2121
| UI RKE2 | Monday to Saturday | 2am | us-central1-b |
2222
| UI RKE2 Upgrade | Monday to Saturday | 4am | us-central1-b |
2323
| UI Rancher Manager Devel | Sunday | 12pm | us-central1-a |
24+
| UI Rancher Manager 2.8-head | Sunday | 12pm | us-central1-a |
2425
| Update tests description | All days | 11pm | us-central1 |
2526

2627
**NOTE:** please note that the GitHub scheduler uses UTC and our GCP runners are deployed in `us-central1`, so UTC-5.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# This workflow calls the master E2E workflow with custom variables
2+
name: UI-Rancher-Manager-Head-2.8
3+
4+
on:
5+
workflow_dispatch:
6+
inputs:
7+
boot_type:
8+
description: Type of image used for bootstrapping the nodes
9+
default: '"iso"'
10+
type: string
11+
destroy_runner:
12+
description: Destroy the auto-generated self-hosted runner
13+
default: true
14+
type: boolean
15+
k8s_downstream_version:
16+
description: Rancher cluster downstream version to use
17+
default: '"v1.28.13+k3s1"'
18+
type: string
19+
k8s_upstream_version:
20+
description: Rancher cluster upstream version to use
21+
default: '"v1.28.13+k3s1"'
22+
type: string
23+
proxy:
24+
description: Deploy a proxy (none/rancher/elemental)
25+
default: elemental
26+
type: string
27+
qase_run_id:
28+
description: Qase run ID where the results will be reported
29+
type: string
30+
rancher_version:
31+
description: Rancher Manager channel/version/head_version to use
32+
default: '"latest/devel/2.8"'
33+
type: string
34+
schedule:
35+
# Every Sunday at 12pm UTC (7am in us-central1)
36+
- cron: '0 12 * * 0'
37+
38+
jobs:
39+
ui:
40+
strategy:
41+
fail-fast: false
42+
max-parallel: 4
43+
matrix:
44+
boot_type: ${{ fromJSON(format('[{0}]', inputs.boot_type || '"iso","raw"')) }}
45+
k8s_downstream_version: ${{ fromJSON(format('[{0}]', inputs.k8s_downstream_version || '"v1.28.13+k3s1","v1.28.13+rke2r1"')) }}
46+
k8s_upstream_version: ${{ fromJSON(format('[{0}]', inputs.k8s_upstream_version || '"v1.28.13+k3s1"')) }}
47+
rancher_version: ${{ fromJSON(format('[{0}]', inputs.rancher_version || '"latest/devel/2.8"')) }}
48+
uses: ./.github/workflows/master_e2e.yaml
49+
secrets:
50+
credentials: ${{ secrets.GCP_CREDENTIALS }}
51+
pat_token: ${{ secrets.SELF_HOSTED_RUNNER_PAT_TOKEN }}
52+
qase_api_token: ${{ secrets.QASE_API_TOKEN }}
53+
with:
54+
boot_type: ${{ matrix.boot_type }}
55+
ca_type: selfsigned
56+
cypress_tags: main
57+
destroy_runner: ${{ github.event_name == 'schedule' && true || inputs.destroy_runner }}
58+
elemental_ui_version: dev
59+
k8s_downstream_version: ${{ matrix.k8s_downstream_version }}
60+
k8s_upstream_version: ${{ matrix.k8s_upstream_version }}
61+
proxy: ${{ inputs.proxy || 'elemental' }}
62+
qase_run_id: ${{ github.event_name == 'schedule' && 'auto' || inputs.qase_run_id }}
63+
rancher_version: ${{ matrix.rancher_version }}
64+
test_type: ui
65+
zone: us-central1-a

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
[![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)
2525
[![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)
2626
[![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)
27+
[![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)
2728

2829
## Goal
2930

0 commit comments

Comments
 (0)