feat: uis shim + namespace/secret-name-prefix flags (Phase 1 DCT) - #90
Merged
Conversation
…e-prefix Implements DCT items 1.8 and 1.9 from helpers-no/dev-templates → INVESTIGATE-improve-template-docs-with-services.md. 1.8 — uis shim: - New /usr/local/bin/uis (symlink to .devcontainer/manage/uis.sh) - Routes commands to uis-provision-host via the existing uis-bridge.sh - TTY mode for interactive: uis status, uis connect - Stdin pipe mode for: echo SQL | uis configure --init-file - - Non-TTY mode for: uis status > out.txt - Help fast path: uis / uis help / --help / -h work even when uis-provision-host is not running (shows local DCT-flavoured help) - Added uis_bridge_run_tty() function - Cleaned up outdated install-tool-docker-cli.sh reference in uis_bridge_check (Docker is provided by docker-outside-of-docker feature, no separate install) 1.9 — dev-template-configure passes new flags to uis configure: - Sources lib/git-identity.sh, calls detect_git_identity early - Resolves namespace = subdomain ?? app_name ?? GIT_REPO - Passes --namespace and --secret-name-prefix when GIT_REPO is set - Reads new JSON fields: secret_name, secret_namespace, env_var - Output: shows local .env URL and K8s Secret separately - Falls back to .env.cluster for legacy mode (no GIT_REPO) - Backward compatible: works with older UIS too Verified: UIS PR #121 shipped, all 6 tester verification steps PASS (see helpers-no/testing/uis1/talk/talk.md). Bump version to 1.7.34. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
9 tasks
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.
Summary
Implements DCT items 1.8 and 1.9 from
helpers-no/dev-templates → INVESTIGATE-improve-template-docs-with-services.md.1.8 — uis shim
/usr/local/bin/uiswrapper that routes commands via the existinguis-bridge.shdocker exec uis-provision-host uis ...noise from READMEs1.9 — dev-template-configure passes new flags
namespacefromparams.subdomain ?? params.app_name ?? GIT_REPO--namespaceand--secret-name-prefixwhen GIT_REPO is setsecret_name,secret_namespace,env_varTest plan
uis helpworks withoutdocker execprefixuis statusworksuis connect postgresql <db>opens psql interactivelyuis helpstill works whenuis-provision-hostis stoppeddev-template python-basic-webserver-database+dev-template-configure:→ .env: DATABASE_URL=... (local)AND→ K8s Secret: <repo>-db in namespace <ns> (cluster)kubectl get secret <repo>-db -n <ns>returns the secret🤖 Generated with Claude Code