From e43d2a1475ecf15966680e6944addddd2693dca2 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Sat, 25 Jan 2025 23:42:41 +0100 Subject: [PATCH 1/2] Allow creating local GC roots for manifests --- .gitignore | 1 + applyset-deploy.sh | 36 ++++++++++++++++++++++++++++++++---- kubenix.nix | 2 +- 3 files changed, 34 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index c56a9cf..217032a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .direnv .pre-commit-config.yaml result +.manifests diff --git a/applyset-deploy.sh b/applyset-deploy.sh index e7d4e5b..e5b1232 100644 --- a/applyset-deploy.sh +++ b/applyset-deploy.sh @@ -2,12 +2,31 @@ set -euo pipefail +CREATE_LOCAL_GCROOT=false + +while [[ "$#" -gt 0 ]]; do + case "$1" in + --help) + echo "Use --create-local-gcroot to create local GC root" + exit 0 + ;; + --create-local-gcroot) + CREATE_LOCAL_GCROOT=true + shift + ;; + *) + echo "Unknown option: $1" + exit 1 + ;; + esac +done + first_server="${SERVERS%% *}" previous_manifest=$( envsubst < Date: Sat, 25 Jan 2025 23:42:57 +0100 Subject: [PATCH 2/2] jellyfin: 10.10.4 -> 10.10.5 --- globals.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/globals.nix b/globals.nix index a5e2f10..011531f 100644 --- a/globals.nix +++ b/globals.nix @@ -1,7 +1,7 @@ {servers, ...}: let globals = { images = { - jellyfin = "jellyfin/jellyfin:10.10.4"; + jellyfin = "jellyfin/jellyfin:10.10.5"; atuin = "ghcr.io/atuinsh/atuin:18.4.0"; postgres14 = "postgres:14"; kms = "teddysun/kms:latest";