Skip to content

Commit 5b033a2

Browse files
leogrpoiana
authored andcommitted
chore: remove test settings for deprecated charts
Signed-off-by: Leonardo Grasso <[email protected]>
1 parent 1442228 commit 5b033a2

File tree

2 files changed

+6
-30
lines changed

2 files changed

+6
-30
lines changed

.github/workflows/test.yml

+6-19
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
- name: Set up Helm
1616
uses: azure/setup-helm@b9e51907a09c216f16ebe8536097933489208112 # v4.3.0
1717
with:
18-
version: '3.14.0'
18+
version: "3.14.0"
1919

2020
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
2121
with:
22-
python-version: '3.x'
22+
python-version: "3.x"
2323

2424
- name: Set up chart-testing
2525
uses: helm/chart-testing-action@0d28d3144d3a25ea2cc349d6e59901c4ff469b3b # v2.7.0
@@ -41,22 +41,9 @@ jobs:
4141
with:
4242
config: ./tests/kind-config.yaml
4343

44-
- name: install falco if needed (ie for falco-exporter)
45-
if: steps.list-changed.outputs.changed == 'true'
46-
run: |
47-
changed=$(ct list-changed --config ct.yaml)
48-
if [[ "$changed[@]" =~ "charts/falco-exporter" ]]; then
49-
helm repo add falcosecurity https://falcosecurity.github.io/charts
50-
helm repo update
51-
helm install falco falcosecurity/falco -f ./tests/falco-test-ci.yaml
52-
kubectl get po -A
53-
sleep 120
54-
kubectl get po -A
55-
fi
56-
5744
- name: Run chart-testing (install)
5845
if: steps.list-changed.outputs.changed == 'true'
59-
run: ct install --config ct.yaml
46+
run: ct install --exclude-deprecated --config ct.yaml
6047

6148
go-unit-tests:
6249
runs-on: ubuntu-latest
@@ -69,15 +56,15 @@ jobs:
6956
- name: Set up Helm
7057
uses: azure/setup-helm@b9e51907a09c216f16ebe8536097933489208112 # v4.3.0
7158
with:
72-
version: '3.10.3'
59+
version: "3.10.3"
7360

7461
- name: Update repo deps
75-
run: helm dependency update ./charts/falco
62+
run: helm dependency update ./charts/falco
7663

7764
- name: Setup Go
7865
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
7966
with:
80-
go-version: '1.21'
67+
go-version: "1.21"
8168
check-latest: true
8269

8370
- name: K8s-metacollector unit tests

charts/falco/ci/ci-values.yaml

-11
This file was deleted.

0 commit comments

Comments
 (0)