changelog shortlog graph tags branches changeset file revisions annotate raw help

Mercurial > infra > pod / skelfile

revision 35: 28492e359d92
parent 34: 512cf2eba23d
child 37: 60461d073737
child 38: c4d56de0ee1a
     1.1--- a/skelfile	Mon Aug 19 10:31:22 2024 -0400
     1.2+++ b/skelfile	Tue Sep 03 20:40:39 2024 -0400
     1.3@@ -6,18 +6,29 @@
     1.4 :components
     1.5 ((:containerfile "scratch")
     1.6  (:containerfile "alpine")
     1.7+ (:containerfile "alpine-worker")
     1.8  (:containerfile "alpine-infra")
     1.9  (:containerfile "archlinux")
    1.10- (:containerfile "ubuntu")
    1.11  (:containerfile "dev")
    1.12- (:containerfile "operator")
    1.13  (:containerfile "worker")
    1.14- (:containerfile "web"))
    1.15+ (:containerfile "infra")
    1.16+ (:containerfile "operator")
    1.17+ (:containerfile "web")
    1.18+ (:containerfile "vc")
    1.19+ (:containerfile "ubuntu")
    1.20+ (:containerfile "mail")
    1.21+ (:containerfile "amazon")
    1.22+ (:containerfile "archriscv"))
    1.23 :rules
    1.24-((web () #$podman run --name web --replace -dt -p 8080:8080 -p 2020:2020 \
    1.25-      --volume /srv/http:/home/web/www \
    1.26-      web$#)
    1.27- (run-infra (infra-sbcl infra-stumpwm infra-emacs infra-rocksdb))
    1.28+((web ()
    1.29+      (:build () #$podman build -f Containerfile.web -t web --no-cache$#)
    1.30+      (:run ()
    1.31+            #$podman run --name web --replace -dt -p 8080:8080 -p 2020:2020 \
    1.32+            --volume /srv/http:/home/web/www \
    1.33+            web$#))
    1.34+ (infra ()
    1.35+        (:build () #$podman build -f Containerfile.infra -t infra --no-cache$#)
    1.36+        (:run (infra-sbcl infra-stumpwm infra-emacs infra-rocksdb)))
    1.37  (infra-sbcl () #$podman run --replace -dt -v /opt/stash:/usr/local/share/stash:z --name infra-sbcl infra \
    1.38              -c "skel build sbcl && skel dist sbcl && sudo cp .stash/sbcl.tar.zst /usr/local/share/stash"$#)
    1.39  (infra-stumpwm () #$podman run --replace -dt -v /opt/stash:/usr/local/share/stash:z --name infra-sbcl infra \
    1.40@@ -26,9 +37,28 @@
    1.41              -c "skel build emacs && skel dist emacs && sudo cp .stash/emacs.tar.zst /usr/local/share/stash"$#)
    1.42  (infra-rocksdb () #$podman run --replace -dt -v /opt/stash:/usr/local/share/stash:z --name infra-rocksdb infra \
    1.43              -c "skel build rocksdb && skel dist rocksdb && sudo cp .stash/rocksdb.tar.zst /usr/local/share/stash"$#)
    1.44- (operator () #$podman run --name operator --replace -dt operator$#)
    1.45- (vc () #$podman run --name vc --replace -dt -p 8888:8888 vc$#)
    1.46- (dev () #$podman run --name dev --replace -dt dev$#)
    1.47- (mail () #$podman run --name mail --replace -dt mail$#)
    1.48- (alpine-infra () #$podman run --name alpine-infra --replace -dt alpine-infra$#)
    1.49- (worker () #$podman run --name worker --replace -dt worker$#))
    1.50+ (operator ()
    1.51+           (:build () #$podman build -f Containerfile.operator -t operator --no-cache$#)
    1.52+           (:run () #$podman run --replace -dt --name operator \
    1.53+                 -v /opt/stash:/usr/local/share/stash:z \
    1.54+                 -v /opt/store:/usr/local/share/store:z \
    1.55+                 operator$#))
    1.56+ (vc ()
    1.57+     (:build () #$podman build -f Containerfile.vc -t vc --no-cache$#)
    1.58+     (:run () #$podman run --name vc --replace -dt -v $HOME/src:/home/vc/src:z -p 8888:8888 vc$#))
    1.59+ (dev ()
    1.60+      (:build () #$podman build -f Containerfile.dev -t dev --no-cache$#)
    1.61+      (:run () #$podman run --name dev --replace -dt dev$#))
    1.62+ (archlinux ()
    1.63+            (:build () #$podman build -f Containerfile.archlinux -t archlinux --no-cache$#)
    1.64+            (:run () #$podman run --name archlinux --replace -dt archlinux$#)
    1.65+             )
    1.66+ (mail ()
    1.67+       (:build () #$podman build -f Containerfile.mail -t mail --no-cache$#)
    1.68+       (:run () #$podman run --name mail --replace -dt mail$#))
    1.69+ (alpine-infra ()
    1.70+               (:build () #$podman build -f Containerfile.alpine-infra -t alpine-infra --replace$#)
    1.71+               (:run () #$podman run --name alpine-infra --replace -dt alpine-infra$#))
    1.72+ (worker ()
    1.73+         (:build () #$podman build -f Containerfile.worker -t worker --no-cache$#)
    1.74+         (:run () #$podman run --name worker --replace -dt worker$#)))