-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathaction.yml
More file actions
72 lines (65 loc) · 1.92 KB
/
Copy pathaction.yml
File metadata and controls
72 lines (65 loc) · 1.92 KB
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
64
65
66
67
68
69
70
71
72
name: Setup ESS Kind Cluster
description: Setup ESS Kind Cluster
inputs:
containerd-mirrors-path:
description: "Containerd mirrors path."
required: false
kind-shared-mount-path:
description: "Kind shared mount path."
required: false
default: "."
cert-manager-version:
description: "Cert manager version."
required: false
default: "1.19.0"
ingress-nginx-version:
description: "Ingress nginx version."
required: false
default: "4.13.3"
metrics-server-version:
description: "Metrics server version."
required: false
default: "3.13.0"
prometheus-operator-version:
description: "Prometheus operator version."
required: false
default: "9.3.2"
kind-version:
description: "Kind version."
required: false
default: "v0.30.0"
runs:
using: composite
steps:
- name: Install uv
uses: astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7.4.0
with:
enable-cache: true
activate-environment: true
python-version: "3.14"
- uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4.3.1
- uses: ./.github/actions/asdf-cache
with:
tool-versions: |
k3d 5.8.3
- name: Install ess-helm pytest packege
shell: bash
run: |
uv tool install git+https://github.com/element-hq/ess-helm.git@gaelg/pytest-test-package#subdirectory=tests
- name: Install ess-helm pytest package
shell: bash
run: |
uv run setup-cluster
k3d kubeconfig merge ess-helm -ds
- name: Export logs
if: ${{ failure() }}
shell: bash
run: |
kind export logs --name ess-helm ./ess-helm-cluster-logs
- name: Upload logs
if: ${{ failure() }}
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
name: ess-helm-cluster-logs
path: ess-helm-cluster-logs
retention-days: 1