Skip to content

chore: build AMI in different region with GitHub Action#1224

Merged
MicBun merged 1 commit intomainfrom
amiChoosing
Oct 22, 2025
Merged

chore: build AMI in different region with GitHub Action#1224
MicBun merged 1 commit intomainfrom
amiChoosing

Conversation

@MicBun
Copy link
Member

@MicBun MicBun commented Oct 22, 2025

resolves: https://github.com/trufnetwork/truf-network/issues/1251

Summary by CodeRabbit

  • Chores
    • AMI build workflow now supports configurable region selection (us-east-1, us-east-2).
    • Enhanced visibility with region logging during build process.

@MicBun MicBun requested a review from outerlook October 22, 2025 01:47
@MicBun MicBun self-assigned this Oct 22, 2025
@MicBun MicBun added type: ci process involving ci type: chore labels Oct 22, 2025
@MicBun MicBun merged commit fd0efdc into main Oct 22, 2025
4 checks passed
@MicBun MicBun deleted the amiChoosing branch October 22, 2025 01:47
@coderabbitai
Copy link

coderabbitai bot commented Oct 22, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

The .github/workflows/ami-build.yml workflow is updated to make the AWS region configurable. A new input parameter allows users to select between us-east-1 and us-east-2, replacing the previously hardcoded us-east-2 default. The region selection is logged during execution.

Changes

Cohort / File(s) Summary
Workflow Input Configuration
.github/workflows/ami-build.yml
Added new workflow input region with choices [us-east-1, us-east-2], defaulting to us-east-1. Updated AWS_REGION environment variable from static us-east-2 to dynamic expression using inputs.region. Added informational log output to display selected region.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Suggested reviewers

  • outerlook

Poem

🐰 The workflow hops from east to east,
With regions now a configurable feast,
No more fixed paths, the rabbit rejoices—
us-east-1 or 2, now you have choices!
From us-east-2's cage, we're finally free,
Dynamic and flexible, as workflows should be! 🚀

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch amiChoosing

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 31b3555 and 9413b08.

📒 Files selected for processing (1)
  • .github/workflows/ami-build.yml (3 hunks)

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@holdex
Copy link

holdex bot commented Oct 22, 2025

Time Submission Status

Member Status Time Action Last Update
MicBun ✅ Submitted 4h Update time Oct 22, 2025, 8:11 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: chore type: ci process involving ci

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant