Your one-stop-cake-shop for everything Freshly Baked has to offer

feat(pm/teal): Make auto-update service for patisserie #45

open opened by thecoded.prof targeting main from private/coded/push-rzqluqvlvvzl

Tangled.sh doesn't currently support cron tasks so we will use this as a stopgap until it does

Labels
draft
requested-reviewers

None yet.

approved

None yet.

tested-working

None yet.

rejected

None yet.

Participants 1
AT URI
at://did:plc:t4ifz7bz4cnukxryiqnbgxxr/sh.tangled.repo.pull/3m23mzr6lq322
+20
Diff #0
+20
packetmix/systems/teal/patisserie-autoupdate.nix
··· 1 + { pkgs }: { 2 + systemd.services."patisserie-autoupdate" = { 3 + startAt = "00:00:00"; 4 + script = let 5 + jj = "${pkgs.jujutsu}/bin/jj"; 6 + npins = "${pkgs.npins}/bin/npins"; 7 + in '' 8 + GIT_SSH_COMMAND="ssh -i /etc/ssh/ssh_host_ed25519_key" 9 + ${jj} git fetch 10 + ${jj} new main@origin 11 + ${npins} update 12 + ${jj} desc -m "chore(packetmix): Auto update packages" 13 + ${jj} bookmark s auto/npins-update 14 + ${jj} git push --force 15 + ''; 16 + serviceConfig.WorkingDirectory = "/root/patisserie"; 17 + }; 18 + 19 + clicks.storage.impermanance.persist.directories = [ "/root/patisserie" ]; 20 + }

History

1 round 0 comments
sign up or login to add to the discussion
thecoded.prof submitted #0
1 commit
expand
feat(pm/teal): Make auto-update service for patisserie
1/4 failed, 2/4 timeout, 1/4 success
expand
no conflicts, ready to merge
expand 0 comments