Add manual "down" infrastructure workflow trigger and AWS credentials…#651
Conversation
|
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. WalkthroughThe workflow Sequence Diagram(s)sequenceDiagram
autonumber
participant Trigger as Trigger (schedule / manual)
participant Runner as GitHub Actions Runner
participant AWS as AWS STS
participant Flox as flox/activate-action (Pulumi)
participant Pulumi as Pulumi engine
Note over Trigger,Runner: Workflow starts
Trigger->>Runner: start teardown_infrastructure workflow
Runner->>AWS: aws-actions/configure-aws-credentials (assume role)
AWS-->>Runner: short-lived AWS credentials
Runner->>Runner: set AWS env creds
Runner->>Flox: invoke flox/activate-action with PULUMI_ACCESS_TOKEN + command override
Flox->>Pulumi: run `pulumi stack down` (masked)
Pulumi-->>Flox: success / error
Flox-->>Runner: action exit status
Runner-->>Trigger: workflow complete (success/error)
Possibly related PRs
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
✅ Files skipped from review due to trivial changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (2)
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.
Pull request overview
This PR enhances the teardown infrastructure workflow by adding manual trigger capability and AWS credential configuration. The changes enable both scheduled and on-demand infrastructure teardown operations with proper AWS authentication.
- Added
workflow_dispatchtrigger to allow manual execution of the teardown workflow - Configured AWS credentials using IAM role assumption for the teardown job
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/teardown_infrastructure.yaml
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: Run Rust code checks
🔇 Additional comments (1)
.github/workflows/teardown_infrastructure.yaml (1)
6-6: LGTM! Manual trigger added correctly.The
workflow_dispatchtrigger is properly configured, allowing operators to manually execute the teardown workflow when needed.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
… configuration
Overview
Changes
Comments
Manual triggers might get removed in the future but for now it will be helpful.
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.