Repository navigation
feat: build the batteries image from the bundle; pin the first-party set - #1
Merged
Merged
Conversation
Pin asobi/quests/seasons to exact tags with a committed rebar.lock (was branch pins with no lock) so the bundle asserts one CI-verified row. Add the release + prod profile, asobi's config templates, a Dockerfile, and the docker-publish.yml relocated from the asobi repo so ghcr.io/widgrensit/asobi is built from the full extension closure instead of the bare kernel. This fixes the silent-removal where asobi_seasons and asobi_quests reached zero running nodes: neither the asobi nor the asobi_engine release listed them, so the two existing extractions shipped to no one on upgrade. README documents the first-party-only scope, the image, and the asobi_bundle-vs-asobi_engine_bundle disambiguation.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Turns
asobi_bundlefrom an unwired meta-package into the source of the official batteries image, and pins the first-party set to a known-good row.rebar.lock: asobiv0.83.8, asobi_questsv0.2.3, asobi_seasonsv0.1.0(were{branch,"main"}with no lock).{release, {asobi_bundle, git}, [asobi_bundle, sasl]}, boots asobi (the bundle contributes no code).config/: asobi's own config templates verbatim (asobi is thebootstrap_application).Dockerfile: builds the release;CMD bin/asobi_bundle foreground.docker-publish.yml: relocated from the asobi repo, hard-coded to publishghcr.io/widgrensit/asobi(not the repo name) so existing pins keep working - the asobi_lua source-less-image precedent.asobi_bundlevsasobi_engine_bundledisambiguation.Why
The batteries image was built from the asobi repo's
[asobi, sasl]relx, which omits every extension.asobi_engine's relx omits them too. Soasobi_seasonsandasobi_quests- the two subsystems already extracted out of core - reached zero running nodes on upgrade (undef / nilgame.*/ 404). Building the image from the bundle's full closure closes that silent-removal.Follow-ups (separate PRs): retire the asobi repo's
docker-publish.yml; pointasobi_engineatasobi_bundle; self-host docs.Verified locally
rebar3 compile,rebar3 as prod release(assembles asbin/asobi_bundlewith quests+seasons in the closure),rebar3 asobi check(green, 2 extensions in migration order),rebar3 fmt --check— all pass.