-
-
Notifications
You must be signed in to change notification settings - Fork 3
feat(cli): add suga plugin serve command #128
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?
Conversation
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the 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 |
|
||
# Checkout the suga github repo | ||
RUN git clone --depth=1 -b main https://github.com/nitrictech/suga /suga | ||
RUN git clone --depth=1 -b feat/suga-plugin-serve https://github.com/nitrictech/suga /suga |
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.
Need to mainline this before merge but leaving like this to make testing easier
package terraform | ||
|
||
var imageModuleRef = "github.com/nitrictech/suga//engines/terraform/modules/image?depth=1&ref=main" | ||
var imageModuleRef = "github.com/nitrictech/suga//engines/terraform/modules/image?depth=1&ref=feat/suga-plugin-serve" |
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.
need to re mainline this but here like this for testing for now
|
||
// Disable checksum validation during local development | ||
// TODO: Limit this to modules served from the proxies only | ||
env = append(env, "GONOSUMDB=*") |
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.
Need to resolve this, will probably make a custom endpoint as part of the go mod server to output the discovered modules that the proxy is hosting.
3e69fc0
to
763e0e8
Compare
Expecting this one to still have a few outstanding issues, but should be ready enough to start testing.