feat(actions): added k3d test to CI workflow on push
Some checks failed
/ validate (push) Has been cancelled

This commit is contained in:
jad0s 2026-05-20 10:36:31 +02:00
parent c9700654f7
commit 0a806d8620

View file

@ -24,3 +24,23 @@ jobs:
-schema-location default \ -schema-location default \
-schema-location 'https://raw.githubusercontent.com/datreeio/CRDs-catalog/main/{{.Group}}/{{.ResourceKind}}_{{.ResourceAPIVersion}}.json' \ -schema-location 'https://raw.githubusercontent.com/datreeio/CRDs-catalog/main/{{.Group}}/{{.ResourceKind}}_{{.ResourceAPIVersion}}.json' \
./manifests/ ./manifests/
- name: Install k3d
run: |
wget -O- https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | sh
- name: Create test cluster
run: |
k3s cluster create test --wait
kubectl cluster-info
- name: Apply manifests
run: |
kubectl apply -f manifests/ --recursive
- name: Wait for deployments
run: |
kubectl wait --for=condition=available --timeout=120s deployment --all --all-namespaces
- name: Cleanup
if: always()
run: |
k3d cluster delete test