reenable ubuntu test

This commit is contained in:
NyxErinys 2026-05-19 02:48:32 -05:00
parent 8df6097a73
commit 8937179cfd

View file

@ -36,9 +36,7 @@ in
clusterInit = mkIf cfg.initServer true;
serverAddr = mkIf (!cfg.initServer) "https://10.5.0.103:6443";
manifests = import ./manifests.nix { inherit lib cfg inputs; };
disable = [
"ubuntu"
];
disable = [];
};
system.activationScripts.cleanK3sManifests = {
@ -53,7 +51,7 @@ in
for file in $MANIFESTS_DIR/*.yaml; do
[ -f "$file" ] || continue
name=$(basename "$file" .yaml)
if ! (echo "$NIX_MANIFESTS $DEFAULT_MANIFESTS" | grep -qw $name); then
if ! (echo "$NIX_MANIFESTS $DEFAULT_MANIFESTS" | grep -qw "$name"); then
echo "Stale manifest found, deleting $name.yaml"
k3s kubectl delete -f "$file" --ignore-not-found=true 2>/dev/null || true
rm -f "$file"