-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (33 loc) · 972 Bytes
/
test.yaml
File metadata and controls
41 lines (33 loc) · 972 Bytes
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
name: Test
on:
push
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-java@v5
with:
distribution: zulu
java-version: '17'
java-package: jdk
- name: Install Kubectl
uses: azure/setup-kubectl@v4
id: install-kubectl
- name: Install Helm and Helmfile
uses: helmfile/helmfile-action@v2.0.4
with:
helm-version: v3.19.2
helmfile-args: "--version"
- name: Add repositories
run: |
for dir in $(ls -d charts/*/); do
helm dependency list $dir 2> /dev/null | tail +2 | sed '$d' | awk '{ print "helm repo add " $1 " " $3 }' | while read cmd; do $cmd; done
done
- name: Ensure br_netfilter is enabled.
run: |
sudo modprobe br_netfilter
- name: Execute tests
id: test
run: |
mvn clean integration-test -Ptest