-
Notifications
You must be signed in to change notification settings - Fork 6
Fix Dagger Dev Server: Registryctl Compilation and Configuration Updates #72
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
Conversation
…ke registryctl compile (#1) Signed-off-by: Patrick Eschenbach <[email protected]>
|
Note Other AI code review bot(s) detectedCodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review. 📝 WalkthroughWalkthroughSwitched the Dagger dev invocation to Changes
Sequence Diagram(s)(Skipped — changes are configuration and build/script adjustments without new runtime control-flow behavior to diagram.) Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20–30 minutes
Possibly related PRs
Pre-merge checks and finishing touches✅ Passed checks (2 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
Pull Request Overview
This PR updates Dagger configuration for Harbor development environment, including Redis configuration updates, code cleanup, and documentation fixes.
- Commented out deprecated registryctl-specific registry binary build logic
- Updated registry Redis configuration to use modern connection format
- Added execution permissions for run scripts in service configurations
- Fixed version string handling to trim whitespace
Reviewed Changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| .dagger/main.go | Commented out deprecated registryctl registry binary logic and fixed version string trimming |
| .dagger/devServices.go | Commented out debug port and added chmod execution for run scripts in CoreService and RegistryCtlService |
| .dagger/config/registryctl/config.yml | Trailing newline formatting fix |
| .dagger/config/registry/config.yml | Updated Redis configuration from old single-address format to modern multi-address format with TLS settings |
| .dagger/README.md | Updated command from run-dev to dev-server to match actual function name |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
No issues found across 5 files
Signed-off-by: Patrick Eschenbach <[email protected]>
|
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.
No issues found across 1 file



Fix Dagger Dev Server: Registryctl Compilation and Configuration Updates
Comprehensive Summary of Changes
This PR fixes multiple issues in the Dagger development environment setup to ensure proper compilation and runtime functionality of the registryctl component, along with other configuration improvements:
Key Changes:
Registry Configuration Updates (
.dagger/config/registry/config.yml)layerinfotoblobdescriptorfor compatibilityaddrtoaddrsarray formatdb,dialtimeoutto proper order)Registryctl Service Fixes (
.dagger/devServices.go)chmod +xcommand for/run_scriptto ensure executable permissions for registryctlBuild Process Optimization (
.dagger/main.go)registry_DO_NOT_USE_GCbinary mounting that was causing compilation issuesGetVersion()function to properly trim whitespace from VERSION file outputNginx Service Cleanup (
.dagger/devServices.go)Documentation Update (
.dagger/README.md)dagger call run-dev up -vtodagger call dev-server up -vIssue being fixed
Fixes registryctl compilation and runtime issues in Dagger development environment
Note: This PR focuses on infrastructure and development environment improvements. The changes ensure that developers can successfully build and run Harbor components using Dagger without encountering compilation or runtime errors related to registryctl.
Summary by cubic
Fixes the Dagger dev server so registryctl compiles and starts correctly. Improves registry and nginx configs and build steps for a smoother local dev experience.
Written for commit 051f4a7. Summary will update automatically on new commits.
Summary by CodeRabbit
Documentation
Chores