-
Notifications
You must be signed in to change notification settings - Fork 559
feat/generate projects #1968
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
feat/generate projects #1968
Conversation
Caution Review failedThe pull request is closed. WalkthroughA documentation file was updated to clarify Terragrunt usage with SOPS, including a new section explaining a workaround for decryption issues during backend project generation. In the codebase, the Changes
Sequence Diagram(s)sequenceDiagram
participant Caller
participant HandleYamlProjectGeneration
participant Env
Caller->>HandleYamlProjectGeneration: Call function
HandleYamlProjectGeneration->>Env: Set DIGGER_GENERATE_PROJECT="true"
Note over HandleYamlProjectGeneration: Perform project generation logic
HandleYamlProjectGeneration->>Env: Unset DIGGER_GENERATE_PROJECT (deferred)
HandleYamlProjectGeneration-->>Caller: Return
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
✨ Finishing Touches
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
PR Summary
Adds SOPS handling for Terragrunt configurations and environment variable management for project generation. This change introduces a workaround for SOPS decryption failures during backend project generation.
- Added documentation in
/docs/ce/howto/using-terragrunt.mdx
explaining SOPS handling withDIGGER_GENERATE_PROJECT
environment variable - Implemented proper environment variable lifecycle in
/libs/digger_config/digger_config.go
usingdefer
for cleanup - Added example in docs showing how to conditionally handle SOPS decryption based on
DIGGER_GENERATE_PROJECT
value - Enhanced logging in
digger_config.go
to better track project generation status
2 file(s) reviewed, 2 comment(s)
Edit PR Review Bot Settings | Greptile
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Summary by CodeRabbit