Skip to content

CLI-Regression

CLI-Regression #19

# 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.14+k3s1"'
type: string
k8s_upstream_version:
description: Rancher cluster upstream version to use
default: '"v1.30.4+k3s1"'
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.27.14+k3s1","v1.28.13+k3s1","v1.29.8+k3s1","v1.30.4+k3s1","v1.27.16+rke2r2","v1.28.13+rke2r1","v1.29.8+rke2r1","v1.30.4+rke2r1"')) }}
k8s_upstream_version: ${{ fromJSON(format('[{0}]', inputs.k8s_upstream_version || '"v1.30.4+k3s1"')) }}
uses: ./.github/workflows/master_e2e.yaml

Check failure on line 34 in .github/workflows/cli-regression-matrix.yaml

View workflow run for this annotation

GitHub Actions / CLI-Regression

Invalid workflow file

error parsing called workflow ".github/workflows/cli-regression-matrix.yaml" -> "./.github/workflows/master_e2e.yaml" : workflow was not found. See https://docs.github.com/actions/learn-github-actions/reusing-workflows#access-to-reusable-workflows for more information.
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