Add auto-release

This commit is contained in:
Ryan Hughes
2025-12-13 19:15:34 -05:00
parent 88a13336c3
commit 42401fa8a1
9 changed files with 181 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
[Unit]
Description=Auto-release omarchy-pkgs for edge mirror
After=network-online.target omarchy-check-upstream.service
Wants=network-online.target
[Service]
Type=oneshot
ExecStart=/root/omarchy-pkgs/bin/auto-release edge
Environment=OMARCHY_STATE_DIR=/root/.state
TimeoutStartSec=3600
[Install]
WantedBy=multi-user.target
+10
View File
@@ -0,0 +1,10 @@
[Unit]
Description=Process omarchy-pkgs sync for edge mirror
[Timer]
# Run 30 minutes after the upstream check
OnCalendar=*-*-* 15:00:00 America/New_York
Persistent=true
[Install]
WantedBy=timers.target
@@ -0,0 +1,13 @@
[Unit]
Description=Auto-release omarchy-pkgs for stable mirror
After=network-online.target omarchy-check-upstream.service
Wants=network-online.target
[Service]
Type=oneshot
ExecStart=/root/omarchy-pkgs/bin/auto-release stable
Environment=OMARCHY_STATE_DIR=/root/.state
TimeoutStartSec=3600
[Install]
WantedBy=multi-user.target
+10
View File
@@ -0,0 +1,10 @@
[Unit]
Description=Process omarchy-pkgs sync for stable mirror
[Timer]
# Run 1 hour after the upstream check (after edge has completed)
OnCalendar=*-*-* 15:00:00 America/New_York
Persistent=true
[Install]
WantedBy=timers.target
+13
View File
@@ -0,0 +1,13 @@
[Unit]
Description=Check for upstream changes in omarchy-pkgs repository
After=network-online.target
Wants=network-online.target
[Service]
Type=oneshot
ExecStart=/root/omarchy-pkgs/bin/check-upstream
Environment=OMARCHY_PKGS_DIR=/root/omarchy-pkgs
Environment=OMARCHY_STATE_DIR=/root/.state
[Install]
WantedBy=multi-user.target
+9
View File
@@ -0,0 +1,9 @@
[Unit]
Description=Daily check for upstream changes in omarchy-pkgs
[Timer]
OnCalendar=*-*-* 14:00:00 America/New_York
Persistent=true
[Install]
WantedBy=timers.target