-
Notifications
You must be signed in to change notification settings - Fork 4
63 lines (61 loc) · 2.38 KB
/
eks.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# This workflow calls the main workflow with custom variables
name: EKS-E2E
on:
schedule:
- cron: "0 4 * * *" # Run every day
workflow_dispatch: # Allow running manually on demand
inputs:
rancher_version:
description: Rancher version to deploy
required: true
type: string
default: 2.8-head
k3s_version:
description: k3s version of local cluster
required: true
type: string
default: v1.27.9+k3s1
operator_nightly_chart:
description: Install hosted-provider nightly chart
default: true
required: true
type: boolean
run_p0_provisioning_tests:
required: true
default: true
type: boolean
run_p0_importing_tests:
required: true
default: true
type: boolean
run_support_matrix_provisioning_tests:
required: true
default: false
type: boolean
run_support_matrix_importing_tests:
required: true
default: false
type: boolean
destroy_runner:
description: Destroy the auto-generated self-hosted runner
default: true
type: boolean
runner_template:
description: Runner template to use
default: hosted-prov-e2e-ci-runner-spot-n2-highmem-16-gl-template-v1
type: string
jobs:
eks-e2e:
uses: ./.github/workflows/main.yaml
secrets: inherit
with:
hosted_provider: eks
rancher_version: ${{ inputs.rancher_version || '2.8-head' }}
k3s_version: ${{ inputs.k3s_version || 'v1.27.9+k3s1' }}
operator_nightly_chart: ${{ inputs.operator_nightly_chart == true || true }}
run_p0_provisioning_tests: ${{ inputs.run_p0_provisioning_tests == true || github.event_name == 'schedule' && true }}
run_p0_importing_tests: ${{ inputs.run_p0_imorting_tests == true || github.event_name == 'schedule' && true }}
run_support_matrix_provisioning_tests: ${{ inputs.run_support_matrix_provisioning_tests == true || github.event_name == 'schedule' && false }}
run_support_matrix_importing_tests: ${{ inputs.run_support_matrix_importing_tests == true || github.event_name == 'schedule' && false }}
destroy_runner: ${{ inputs.destroy_runner == true || github.event_name == 'schedule' && true }}
runner_template: ${{ inputs.runner_template || 'hosted-prov-e2e-ci-runner-spot-n2-highmem-16-gl-template-v1' }}