This repository has been archived on 2026-10-20. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
coredns-deployment/test.sh
T
feedc0de 0e79333802
Validate and deploy CoreDNS scheduling / validate (push) Successful in 13s
Validate and deploy CoreDNS scheduling / deploy (push) Successful in 23s
Strip sha256 hash
2026-10-14 20:17:09 +02:00

13 lines
687 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
dir=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)
sh -n "$dir/install.sh"
bash -n "$dir/create-ci-kubeconfig.sh" "$dir/test.sh"
grep -Fq 'namespace: kube-system' "$dir/coredns-scheduling-patch.yaml"
grep -Fq 'odroid-h3' "$dir/coredns-scheduling-patch.yaml"
grep -Fq 'requiredDuringSchedulingIgnoredDuringExecution' "$dir/coredns-scheduling-patch.yaml"
image=ghcr.io/yannh/kubeconform:v0.7.0
docker run --rm -i "$image" -strict -exit-on-error -summary < "$dir/coredns-pdb.yaml"
docker run --rm -i "$image" -strict -exit-on-error -summary < "$dir/ci-deployer.yaml"
echo 'CoreDNS scheduling manifests and least-privilege CI resources are valid.'