-
Notifications
You must be signed in to change notification settings - Fork 1
49 lines (47 loc) · 1.71 KB
/
cli-capi-kubeadm-matrix.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# This workflow calls the master E2E workflow with custom variables
name: CLI-CAPI-Kubeadm
on:
workflow_dispatch:
inputs:
destroy_runner:
description: Destroy the auto-generated self-hosted runner
default: true
type: boolean
k8s_downstream_version:
description: Cluster downstream version to use
default: '"1.29.3"'
type: string
k8s_upstream_version:
description: Cluster upstream version to use
default: '"v1.30.1+k3s1"'
type: string
qase_run_id:
description: Qase run ID where the results will be reported
type: string
# The test does not work yet, so it is disabled
#schedule:
# From Monday to Saturday at 3am UTC (10pm in us-central1)
#- cron: '0 3 * * 1-6'
jobs:
cli:
strategy:
fail-fast: false
max-parallel: 4
matrix:
k8s_downstream_version: ${{ fromJSON(format('[{0}]', inputs.k8s_downstream_version || '"1.29.3"')) }}
k8s_upstream_version: ${{ fromJSON(format('[{0}]', inputs.k8s_upstream_version || '"v1.27.13+k3s1"')) }}
uses: ./.github/workflows/master_capi_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: iso
bootstrap_provider: kubeadm
control_plane_provider: kubeadm
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: ${{ inputs.qase_run_id }}
test_type: capi_cli
zone: us-central1-c