This is the infrastructure behind https://minio.toast.cafe/bin/index.html In short, it's a set of scripts that allows building various projects (and their docs) in prepared environments, as well as upload them in a structured manner. All of the outputs here should be fully statically linked, and compressed using upx (when advantageous and available).
- Configure the upload location (modify upload.sh's
basevariable to match your local config).
- Get a functioning copy of the abyssos/abyss:latest image (see its repo for more details).
- Enter the
dockerdirectory and run
docker.shto build the containers. You may use podman as well (modify the script or use the stub).
- Optionally, place a "upx" binary in the root git directory.
./build.sh [NAMES...]where NAMES is the list of projects to build (read
build.sh for more details). (it also takes a "RUNNER" env var, which can be "docker", "podman" or "shell", defaulting to "podman" - "shell" is highly experimental and not recommended).
./upload.sh [PATTERNS...]where PATTERNS is the list of patterns whose matches should be uploaded.
./docs.zshto build the manuals - this has to be uploaded manually (since it's just the one directory). (The command I use is:
mc cp -r ./manuals/ fafnir/bin.)
./tinfo.zshto build the terminfo files - this has to be uploaded manually, like the docs. (The command I use is:
mc cp -r ./terminfo/ fafnir/bin.)
./clean.shto clean the binaries and manuals. It can also take an optional set of arguments for directories to delete. It's just a
sudo rmwrapper so don't worry about it too much.
In most cases, I don't really want it. This is here for educational purposes and so people can host their own infrastructure. You're better off hosting your own rather than asking me to add stuff. Though you're free to suggest projects to be added, don't expect that to actually happen.