-
Notifications
You must be signed in to change notification settings - Fork 382
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
[FEATURE]: Nightly clean review apps and images #603
base: master
Are you sure you want to change the base?
Conversation
Warning Rate limit exceeded@rameziophobia has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 5 minutes and 17 seconds before requesting another review. How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. WalkthroughThe changes introduce a new configuration parameter for managing stale application deployments, implement a GitHub Action for setting up a Ruby environment, streamline a deployment workflow by consolidating setup steps, and create a new workflow for nightly cleanup of stale review applications and images. These alterations aim to enhance automation and maintenance within the project. Changes
Sequence Diagram(s)sequenceDiagram
participant Scheduler
participant GitHub Action
participant Repository
participant Cleanup Script
Scheduler->>GitHub Action: Trigger nightly cleanup
GitHub Action->>Repository: Checkout latest code
GitHub Action->>Cleanup Script: Execute cleanup for review apps
Cleanup Script-->>GitHub Action: Confirm review apps cleaned
GitHub Action->>Cleanup Script: Execute cleanup for images
Cleanup Script-->>GitHub Action: Confirm images cleaned
GitHub Action-->>Scheduler: Cleanup complete
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
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 as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
Hi 👋 To deploy a review app, please comment |
/deploy-review-app |
We started working on your review-app deployment. You can track progress in the |
/deploy-review-app |
We started working on your review-app deployment. You can track progress in the |
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.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (4)
- .controlplane/controlplane.yml (1 hunks)
- .github/actions/common-ruby-cpl-setup/action.yml (1 hunks)
- .github/actions/deploy-to-control-plane/action.yml (1 hunks)
- .github/workflows/nightly-remove-stale-review-apps.yml (1 hunks)
Files skipped from review due to trivial changes (1)
- .controlplane/controlplane.yml
Additional comments not posted (7)
.github/workflows/nightly-remove-stale-review-apps.yml (3)
1-5
: LGTM!The file header and schedule section are correctly defined.
The code changes are approved.
7-9
: LGTM!The jobs section is correctly defined.
The code changes are approved.
11-24
: LGTM!The steps section is correctly defined and uses appropriate actions and commands.
The code changes are approved.
.github/actions/common-ruby-cpl-setup/action.yml (3)
1-5
: LGTM!The file header and description section are clear and descriptive.
The code changes are approved.
6-8
: LGTM!The runs section is correctly defined.
The code changes are approved.
9-25
: LGTM!The steps section is correctly defined and uses appropriate actions and commands.
The code changes are approved.
.github/actions/deploy-to-control-plane/action.yml (1)
19-20
: LGTM!The consolidation of setup steps into a single step improves maintainability and reduces redundancy.
The code changes are approved.
Note: NOT TESTED YET
This change is
Summary by CodeRabbit
New Features
Improvements