Skip to main content

Module release

Module release 

Source
Expand description

The artifact-producing phases.

Ported from ci/scripts/release-artifact.sh. The assertions are the part worth keeping: each one exists because something once shipped wrong, and several of them are the only thing standing between a green run and an image that is missing half its content.

ConstantsΒ§

DOC_DIR πŸ”’

FunctionsΒ§

build
rustdoc, the org exports, and the static musl binaries.
contains πŸ”’
coverage
Instrumented test run plus grcov, producing web/static/doc/coverage.
export_dir πŸ”’
export_org πŸ”’
One emacs invocation PER FILE.
package
Tars the payload for a kind and, when this run holds the write key, publishes it.
run πŸ”’
Runs a command, inheriting stdio so its output reaches the job log.
stage_licences πŸ”’
release-web embeds DejaVuSans via include_bytes!, and that font’s licence requires its notice to travel with copies of the font software. web/static is copied wholesale into the runtime image, so putting it here makes it ship with both the tarball and the image, and be servable.
verify_binaries πŸ”’
The assertions that prove the shipped binaries are what we think they are.