-
Notifications
You must be signed in to change notification settings - Fork 6
36 lines (32 loc) · 1.12 KB
/
dagger.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
name: dagger
on:
push:
branches: ["*"]
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Yaml lint
uses: dagger/dagger-for-github@v5
with:
version: "latest"
verb: call
module: github.com/tsirysndr/daggerverse/yamllint
args: lint --src .
- name: Validate Flux clusters manifests
uses: dagger/dagger-for-github@v5
with:
version: "latest"
verb: call
module: github.com/Smana/daggerverse/kubeconform@kubeconform/v0.0.4
args: validate --manifests "./clusters" --catalog
- name: Validate Kubernetes manifests (Kustomize directories)
uses: dagger/dagger-for-github@v5
with:
version: "latest"
verb: call
module: github.com/Smana/daggerverse/kubeconform@kubeconform/v0.0.4
args: validate --manifests "." --kustomize --flux --env="cluster_name=foobar,region=eu-west-3,domain_name=example.com" --catalog --crds https://github.com/kubernetes-sigs/gateway-api/tree/main/config/crd