summaryrefslogtreecommitdiff
path: root/f3s/shuriken/docker-image/Justfile
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-08-01 09:43:07 +0300
committerPaul Buetow <paul@buetow.org>2026-08-01 09:43:07 +0300
commit38b01c385a59e6f9bd71ebe54a24fcf74b8966ab (patch)
treea15f0773a310967fce8dda671b82370b2a5353d3 /f3s/shuriken/docker-image/Justfile
parent0bcc97a819d6578d41754512376b31fff66b1bce (diff)
Add shuriken nightly CronJob (irregular.ninja + alt.irregular.ninja)
ArgoCD-managed CronJob that regenerates the irregular.ninja and alt.irregular.ninja photo albums with the shuriken.sh Docker image, writing them to /data/nfs/k3svolumes/shuriken.sh/<site>/dist on the shared NFS export. Single image job by default (passively cooled N100 hosts). 04:00 Europe/Sofia daily, Forbid stacking, 6h deadline.
Diffstat (limited to 'f3s/shuriken/docker-image/Justfile')
-rw-r--r--f3s/shuriken/docker-image/Justfile17
1 files changed, 17 insertions, 0 deletions
diff --git a/f3s/shuriken/docker-image/Justfile b/f3s/shuriken/docker-image/Justfile
new file mode 100644
index 0000000..bd394fa
--- /dev/null
+++ b/f3s/shuriken/docker-image/Justfile
@@ -0,0 +1,17 @@
+REGISTRY := "r0.lan.buetow.org:30001"
+IMAGE := "shuriken"
+TAG := "0.13.2"
+# Source tree for the image build. The Dockerfile lives at the repo root and
+# copies bin/, share/templates, assets/site, src/shuriken.default.conf and
+# docker/entrypoint.sh, so build from the shuriken.sh checkout root. Run
+# `just build` in the shuriken.sh repo first so bin/shuriken is up to date.
+SRC := "/home/paul/git/shuriken.sh"
+
+build:
+ docker build -t {{IMAGE}}:{{TAG}} {{SRC}}
+
+push:
+ docker tag {{IMAGE}}:{{TAG}} {{REGISTRY}}/{{IMAGE}}:{{TAG}}
+ docker push {{REGISTRY}}/{{IMAGE}}:{{TAG}}
+
+all: build push \ No newline at end of file