Apply published main images to the production website
Build and publish website container / build (push) Successful in 56s

This commit is contained in:
KenanZhu committed 2026-11-05 13:05:07 +08:00
1 parent 4861439581
commit 8c5f639347
6 files changed
+164 -2

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
[Unit]
Description=Watch AutoLibrary website release requests
[Path]
PathChanged=/var/lib/autolibrary-release-requests/request
Unit=autolibrary-update.service
[Install]
WantedBy=multi-user.target
+11
View File
@@ -0,0 +1,11 @@
[Unit]
Description=Apply an AutoLibrary website image release
After=docker.service network-online.target
Wants=network-online.target
Requires=docker.service
[Service]
Type=oneshot
Environment=PATH=/usr/sbin:/usr/bin:/sbin:/bin
ExecStart=/usr/bin/python3 /opt/autolibrary-website/update-container.py
TimeoutStartSec=600
+10
View File
@@ -0,0 +1,10 @@
[Unit]
Description=Retry pending AutoLibrary website releases
[Timer]
OnBootSec=45s
OnUnitInactiveSec=60s
Unit=autolibrary-update.service
[Install]
WantedBy=timers.target