-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run basic regression tests for older version of K3s/RKE2 on Rancher Manager Prime version. Signed-off-by: Loic Devulder <ldevulder@suse.com>
- Loading branch information
Showing
3 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# This workflow calls the master E2E workflow with custom variables | ||
name: CLI-Regression | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
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.25.16+k3s4"' | ||
type: string | ||
k8s_upstream_version: | ||
description: Rancher cluster upstream version to use | ||
default: '"v1.28.11+k3s2"' | ||
type: string | ||
qase_run_id: | ||
description: Qase run ID where the results will be reported | ||
type: string | ||
schedule: | ||
# Every Saturday at 6am UTC (11am in us-central1) | ||
- cron: '0 6 * * 6' | ||
|
||
jobs: | ||
cli: | ||
strategy: | ||
fail-fast: false | ||
max-parallel: 4 | ||
matrix: | ||
k8s_downstream_version: ${{ fromJSON(format('[{0}]', inputs.k8s_downstream_version || '"v1.25.16+k3s4","v1.26.15+k3s1","v1.27.14+k3s1","v1.28.10+k3s1","v1.25.16+rke2r1","v1.26.15+rke2r1","v1.27.14+rke2r1","v1.28.10+rke2r1"')) }} | ||
k8s_upstream_version: ${{ fromJSON(format('[{0}]', inputs.k8s_upstream_version || '"v1.28.11+k3s2"')) }} | ||
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: | ||
ca_type: selfsigned | ||
destroy_runner: ${{ github.event_name == 'schedule' && true || inputs.destroy_runner }} | ||
k8s_downstream_version: ${{ matrix.k8s_downstream_version }} | ||
k8s_upstream_version: ${{ matrix.k8s_upstream_version }} | ||
qase_run_id: ${{ github.event_name == 'schedule' && 'auto' || inputs.qase_run_id }} | ||
rancher_version: prime/latest | ||
reset: true | ||
sequential: false | ||
test_type: cli | ||
zone: us-central1-c |
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