rbio: add compose:* + new dev:* + test:all (local dev surface)#3584
Open
davidsmejia wants to merge 2 commits into
Open
rbio: add compose:* + new dev:* + test:all (local dev surface)#3584davidsmejia wants to merge 2 commits into
davidsmejia wants to merge 2 commits into
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.
Issue Number
#3572
Purpose/Implementation Notes
bin/lib/compose.py (new) - wraps docker compose for the local stack. Takes ownership of the rename: compose:up / compose:down replace dev:up / dev:down (which are removed). compose:manage is new - runs a Django management command in a named service container; collapses what would have been separate "manage" + "shell" commands since shell is itself a manage.py subcommand.
bin/lib/dev.py (rewrite) - higher-level local workflows. Replaces the old cmd_dev_up/down (moved to compose.py) with three orchestration commands:
bin/lib/test/all.py (new) - test:all chains common:update + each
test:* sequentially. Matches scripts/run_all_tests.sh behavior.
bin/lib/test/init.py - register test:all in the aggregated COMMANDS.
bin/rbio - register the compose namespace.
Methods
N/A
Types of changes
Functional tests
rbio smoketesting
Checklist
Screenshots
N/A