Added ephemeral staging environments tear down job#536
Conversation
|
Warning Rate limit exceeded@rmgpinto has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 3 minutes and 16 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. 📒 Files selected for processing (2)
WalkthroughA new GitHub Actions workflow named "Ephemeral Staging Tear Down" has been introduced. This workflow can be triggered manually, runs on a schedule every four hours, and also triggers on pull request events (marked for deletion). It runs on an Ubuntu environment with permissions to write id-token, read repository contents, and read pull requests. The main job, Possibly related PRs
Suggested labels
🪧 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 using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
71cd3ca to
0b956d1
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (1)
.github/workflows/ephemeral-staging-teardown.yml (1)
96-105: Terraform destroy step is commented outThe actual destruction of ephemeral environments is currently commented out. This is fine for initial testing, but remember to enable this step when you are ready to perform actual teardowns.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/ephemeral-staging-teardown.yml(1 hunks)
🧰 Additional context used
🪛 actionlint (1.7.4)
.github/workflows/ephemeral-staging-teardown.yml
21-21: property "check-labels" is not defined in object type {}
(expression)
47-47: property "check-labels" is not defined in object type {check-closed-prs: {conclusion: string; outcome: string; outputs: {string => string}}}
(expression)
55-55: property "check-labels" is not defined in object type {check-closed-prs: {conclusion: string; outcome: string; outputs: {string => string}}}
(expression)
63-63: property "check-labels" is not defined in object type {check-closed-prs: {conclusion: string; outcome: string; outputs: {string => string}}}
(expression)
69-69: property "check-labels" is not defined in object type {check-closed-prs: {conclusion: string; outcome: string; outputs: {string => string}}; terraform-version: {conclusion: string; outcome: string; outputs: {string => string}}}
(expression)
75-75: property "check-labels" is not defined in object type {check-closed-prs: {conclusion: string; outcome: string; outputs: {string => string}}; terraform-version: {conclusion: string; outcome: string; outputs: {string => string}}}
(expression)
83-83: property "check-labels" is not defined in object type {check-closed-prs: {conclusion: string; outcome: string; outputs: {string => string}}; terraform-version: {conclusion: string; outcome: string; outputs: {string => string}}}
(expression)
91-91: property "check-labels" is not defined in object type {check-closed-prs: {conclusion: string; outcome: string; outputs: {string => string}}; terraform-version: {conclusion: string; outcome: string; outputs: {string => string}}}
(expression)
⏰ Context from checks skipped due to timeout of 90000ms (1)
- GitHub Check: Build, Test and Push
🔇 Additional comments (1)
.github/workflows/ephemeral-staging-teardown.yml (1)
1-106: Overall: Workflow structure and logic are soundAside from the gating issue above, the workflow is well-structured, follows best practices for secrets and environment setup, and is logically correct for the intended purpose.
🧰 Tools
🪛 actionlint (1.7.4)
21-21: property "check-labels" is not defined in object type {}
(expression)
47-47: property "check-labels" is not defined in object type {check-closed-prs: {conclusion: string; outcome: string; outputs: {string => string}}}
(expression)
55-55: property "check-labels" is not defined in object type {check-closed-prs: {conclusion: string; outcome: string; outputs: {string => string}}}
(expression)
63-63: property "check-labels" is not defined in object type {check-closed-prs: {conclusion: string; outcome: string; outputs: {string => string}}}
(expression)
69-69: property "check-labels" is not defined in object type {check-closed-prs: {conclusion: string; outcome: string; outputs: {string => string}}; terraform-version: {conclusion: string; outcome: string; outputs: {string => string}}}
(expression)
75-75: property "check-labels" is not defined in object type {check-closed-prs: {conclusion: string; outcome: string; outputs: {string => string}}; terraform-version: {conclusion: string; outcome: string; outputs: {string => string}}}
(expression)
83-83: property "check-labels" is not defined in object type {check-closed-prs: {conclusion: string; outcome: string; outputs: {string => string}}; terraform-version: {conclusion: string; outcome: string; outputs: {string => string}}}
(expression)
91-91: property "check-labels" is not defined in object type {check-closed-prs: {conclusion: string; outcome: string; outputs: {string => string}}; terraform-version: {conclusion: string; outcome: string; outputs: {string => string}}}
(expression)
6825260 to
8cf54e5
Compare
8cf54e5 to
34a5118
Compare
ref https://linear.app/ghost/issue/AP-976 - Added tear down job to destroy deployed PRs that are merged
82ca035 to
495b83c
Compare
ref https://linear.app/ghost/issue/AP-976 - Added tear down job to destroy deployed PRs that are merged
ref https://linear.app/ghost/issue/AP-976