Move the app catalog into catalog/ and start each one in CI - #348
Merged
Conversation
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.
Extracts the example managed-app composes out of
docs/managed-app-examples.mdinto a flatcatalog/directory, and adds CI that starts each one.catalog/*.yaml— 7 standalone documents (blossom-server, buzz, haven, nostr-rs-relay, pyramid, route96, strfry). The doc keeps the grammar notes and now links the files instead of carrying 350 lines of fenced YAML.scripts/app-catalog-test.sh— renders one document withcompose-to-docker, applies the volume chowns the renderer prints (docker has nofsGroup), starts the stack, and fails on a service that exits non-zero, restarts, or an ingress port that never answers.HOST_PORT_OFFSETshifts published ports for local runs..github/workflows/app-catalog.yml— validates every document, then one matrix job per file, discovered from the directory so adding a.yamlis enough to get it tested. Weekly cron because most entries pin a mutable tag.lnvps_operatortestcatalog_documents_map_to_k8snow readscatalog/instead of parsing markdown fences (lnvps_operator/src/app_deployments.rs:3191).Validation checks the document's grammar; it cannot know whether a third-party image can start under the hardening the operator applies. This runs them.
All 7 pass locally on this branch.
cargo test --workspace --exclude lnvps_e2egreen at 50d05ff (lnvps_e2eneeds the live stack, not started here); clippy unchanged on the touched file.Channel: 721a8a6c-c36c-5fa1-ae07-822ddc8567c5