changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > infra > pod / skelfile

changeset 34: 512cf2eba23d
parent: 48affaffc460
child: 28492e359d92
author: Richard Westhaver <ellis@rwest.io>
date: Mon, 19 Aug 2024 10:31:22 -0400
permissions: -rw-r--r--
description: skel rules
1 ;;; pod @ 2024-06-21.02:30:12 -*- mode:skel; -*-
2 :name "pod"
3 :author "Richard Westhaver"
4 :version "0.1.0"
5 :vc (:hg "https://vc.compiler.company/comp/pod")
6 :components
7 ((:containerfile "scratch")
8  (:containerfile "alpine")
9  (:containerfile "alpine-infra")
10  (:containerfile "archlinux")
11  (:containerfile "ubuntu")
12  (:containerfile "dev")
13  (:containerfile "operator")
14  (:containerfile "worker")
15  (:containerfile "web"))
16 :rules
17 ((web () #$podman run --name web --replace -dt -p 8080:8080 -p 2020:2020 \
18  --volume /srv/http:/home/web/www \
19  web$#)
20  (run-infra (infra-sbcl infra-stumpwm infra-emacs infra-rocksdb))
21  (infra-sbcl () #$podman run --replace -dt -v /opt/stash:/usr/local/share/stash:z --name infra-sbcl infra \
22  -c "skel build sbcl && skel dist sbcl && sudo cp .stash/sbcl.tar.zst /usr/local/share/stash"$#)
23  (infra-stumpwm () #$podman run --replace -dt -v /opt/stash:/usr/local/share/stash:z --name infra-sbcl infra \
24  -c "skel build stumpwm && skel dist stumpwm && sudo cp .stash/stumpwm.tar.zst /usr/local/share/stash"$#)
25  (infra-emacs () #$podman run --replace -dt -v /opt/stash:/usr/local/share/stash:z --name infra-emacs infra \
26  -c "skel build emacs && skel dist emacs && sudo cp .stash/emacs.tar.zst /usr/local/share/stash"$#)
27  (infra-rocksdb () #$podman run --replace -dt -v /opt/stash:/usr/local/share/stash:z --name infra-rocksdb infra \
28  -c "skel build rocksdb && skel dist rocksdb && sudo cp .stash/rocksdb.tar.zst /usr/local/share/stash"$#)
29  (operator () #$podman run --name operator --replace -dt operator$#)
30  (vc () #$podman run --name vc --replace -dt -p 8888:8888 vc$#)
31  (dev () #$podman run --name dev --replace -dt dev$#)
32  (mail () #$podman run --name mail --replace -dt mail$#)
33  (alpine-infra () #$podman run --name alpine-infra --replace -dt alpine-infra$#)
34  (worker () #$podman run --name worker --replace -dt worker$#))