-
Notifications
You must be signed in to change notification settings - Fork 0
feat: local workbench gitops and dory registry host access #89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
fd26213
e392ad2
234c14f
764e04c
dc503dc
fa9dad7
a779bd7
59a155c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -81,6 +81,23 @@ hops validate --help | |
| hops xr --help | ||
| ``` | ||
|
|
||
| ## Local workbench (happy path) | ||
|
|
||
| Multi-workspace local GitOps on the laptop control plane: | ||
|
|
||
| ```bash | ||
| # once | ||
| hops local start | ||
|
|
||
| # daily | ||
| hops local up ./gitops/env/local | ||
| hops local status | ||
| hops local open | ||
| hops local down | ||
| ``` | ||
|
|
||
| Use `--name` for concurrent worktrees (`<name>` namespaces). Full guide: [skills/claude/references/local-workbench.md](skills/claude/references/local-workbench.md). | ||
|
|
||
| ## Command Areas | ||
|
|
||
| `hops-cli` is organized into a few command groups: | ||
|
|
@@ -593,7 +610,7 @@ Notes: | |
| - Source-build mode intended for a local control plane because it depends on the local registry flow | ||
| - Runs `up project build` in `PATH` (defaults to current directory) | ||
| - Loads generated `.uppkg` artifacts from `<PATH>/_output` | ||
| - Pushes package images to the registry exposed at `localhost:30500` | ||
| - Pushes package images to the registry exposed at `127.0.0.1:30500` (IPv4; avoids Docker's `localhost` → `[::1]` path) | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win Document the backend-specific registry endpoint. This line presents 🤖 Prompt for AI Agents |
||
| - Applies Crossplane `Configuration` resources pointing at `registry.crossplane-system.svc.cluster.local:5000/...` | ||
| - Supports `--skip-dependency-resolution` | ||
| - `config install --repo <org/repo> [--reload]` | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,60 @@ | ||
| { | ||
| "$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
| "extends": [ | ||
| "config:recommended" | ||
| "config:recommended", | ||
| ":dependencyDashboard" | ||
| ], | ||
| "labels": ["dependencies"], | ||
| "packageRules": [ | ||
| { | ||
| "description": "Automerge patch updates that pass checks", | ||
| "matchUpdateTypes": ["patch"], | ||
| "automerge": true, | ||
| "matchManagers": ["custom.regex"] | ||
| }, | ||
| { | ||
| "description": "Group local-start bootstrap Crossplane pins", | ||
| "groupName": "local-start-crossplane-bootstrap", | ||
| "matchManagers": ["custom.regex"], | ||
| "matchPackageNames": [ | ||
| "crossplane/crossplane", | ||
| "crossplane-contrib/provider-helm", | ||
| "crossplane-contrib/provider-kubernetes" | ||
| ] | ||
| }, | ||
| { | ||
| "description": "Conventional commit prefix for bootstrap pin bumps", | ||
| "matchManagers": ["custom.regex"], | ||
| "matchDatasources": ["github-releases"], | ||
| "semanticCommitType": "chore", | ||
| "semanticCommitScope": "deps" | ||
| } | ||
| ], | ||
| "customManagers": [ | ||
| { | ||
| "customType": "regex", | ||
| "description": "Bootstrap Provider package tags (hops local start)", | ||
| "managerFilePatterns": [ | ||
| "bootstrap/providers/**/*.yaml" | ||
| ], | ||
| "matchStrings": [ | ||
| "package:\\s*xpkg\\.crossplane\\.io/(?<depName>[^:]+):(?<currentValue>v?[0-9][^\\s]+)" | ||
| ], | ||
| "datasourceTemplate": "github-releases", | ||
| "packageNameTemplate": "{{depName}}" | ||
| }, | ||
| { | ||
| "customType": "regex", | ||
| "description": "Crossplane Helm chart version pin in hops local start", | ||
| "managerFilePatterns": [ | ||
| "src/commands/local/start.rs" | ||
| ], | ||
| "matchStrings": [ | ||
| "const CROSSPLANE_CHART_VERSION: &str = \"(?<currentValue>[^\"]+)\";" | ||
| ], | ||
| "datasourceTemplate": "github-releases", | ||
| "packageNameTemplate": "crossplane/crossplane", | ||
| "extractVersionTemplate": "^v(?<version>.*)$" | ||
| } | ||
| ] | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Correct the worktree path.
This line uses
./gitops/env/local, while the documented layout andskills/claude/references/local-workbench.mduse./gitops/envs/local. Change the command to use./gitops/envs/local.🤖 Prompt for AI Agents