changeset 51: |
81569772a992 |
parent 50: |
0c25e3c90fa4 |
child 52: |
ac486437c184 |
author: |
ellis <ellis@rwest.io> |
date: |
Wed, 03 Jan 2024 13:23:24 -0500 |
files: |
virt/build-ci-worker.sh |
description: |
worker config |
1.1--- a/virt/build-ci-worker.sh Wed Jan 03 12:53:45 2024 -0500
1.2+++ b/virt/build-ci-worker.sh Wed Jan 03 13:23:24 2024 -0500
1.3@@ -4,7 +4,8 @@
1.4 # dedicated pod named 'ci'.
1.5
1.6 id=$(buildah from alpine-base)
1.7-buildah add $id etc/skel /etc/skel
1.8+buildah add $id etc/skel/ /etc/skel/
1.9+buildah add $id etc/sbclrc /etc/sbclrc
1.10 buildah run $id adduser worker -D
1.11 buildah run $id apk add build-base zstd-dev sbcl curl make git linux-headers cargo openssl perl llvm clang
1.12 buildah run $id mkdir /store
1.13@@ -15,6 +16,6 @@
1.14 buildah run --net host $id sh -c 'make worker -j4'
1.15 buildah run --net host $id sh -c 'scripts/install-cargo-tools.sh'
1.16 buildah run --net host $id sh -c 'make clean'
1.17-buildah config --healthcheck bottom
1.18-buildah config --workingdir /stash
1.19+buildah config --healthcheck btm $id
1.20+buildah config --workingdir /stash $id
1.21 buildah commit $id ci-worker