From dd0c20c1ab28b59f5e83b505c0c4ea3236a69236 Mon Sep 17 00:00:00 2001 From: Sheogorath <sheogorath@shivering-isles.com> Date: Wed, 29 Nov 2023 01:37:25 +0100 Subject: [PATCH] feat(earthly): Add autoupdate command --- Earthfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Earthfile b/Earthfile index afb6baa60..4bbff6094 100644 --- a/Earthfile +++ b/Earthfile @@ -33,7 +33,13 @@ merge: RUN git push RUN git push origin --delete ${branch} +# rotate will rotate encryption keys in sops-encrypted files rotate: LOCALLY RUN grep -Ril "sops:" ./**/*.yaml | xargs sops -r -i +# enable-autoupdates enables the fedora autoupdating form the system-upgrades namespace +enable-autoupdates: + LOCALLY + ARG --required node + RUN kubectl label node "${node}" upgrade.shivering-isles.com/fedora-autoupdate=true -- GitLab