Skip to content

feat(ci): add dagger yamllint and kubeconform tasks #2

feat(ci): add dagger yamllint and kubeconform tasks

feat(ci): add dagger yamllint and kubeconform tasks #2

Workflow file for this run

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