fix(release): use server timer until workflow bootstrap
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Stage release SHA and deploy approved main SHA
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
User=mcp-user
|
||||
Environment=PATH=/home/mcp-user/.npm-global/bin:/home/mcp-user/.local/bin:/usr/local/bin:/usr/bin:/bin
|
||||
ExecStart=/usr/bin/bash /home/mcp-user/smeta-release-control/scripts/auto_release_tick.sh
|
||||
TimeoutStartSec=45min
|
||||
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Check published smeta-web revisions each minute
|
||||
|
||||
[Timer]
|
||||
OnBootSec=30s
|
||||
OnUnitInactiveSec=1min
|
||||
Unit=smeta-auto-release.service
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Reference in New Issue
Block a user