Add module/stack targeting and changeset support for CI/CD workflows#2930
Open
neelaruban wants to merge 7 commits intorackspace:masterfrom
Open
Add module/stack targeting and changeset support for CI/CD workflows#2930neelaruban wants to merge 7 commits intorackspace:masterfrom
neelaruban wants to merge 7 commits intorackspace:masterfrom
Conversation
New CLI options for granular targeting:
- --module: Select modules by name or glob pattern (e.g., 'network-*')
- --stack: Select specific CFNgin stacks within targeted modules
CloudFormation changeset support for CI/CD pipelines:
- runway plan --create-changeset: Retain changesets for later execution
- runway plan --output json: Machine-readable changeset output
- runway deploy --execute-changesets <file>: Execute pre-created changesets
New 'runway variables' command:
- Show resolved variables for deployments and modules
- Supports YAML, JSON, and table output formats
- Resolves all lookups (${var}, ${env}, ${ssm}, etc.)
Context updates:
- Added stack_names, create_changeset, changeset_results to contexts
- Propagate targeting options from CLI through to CFNgin
Includes integration tests for all new options.
34aa081 to
f728030
Compare
Author
|
@mbordash2 @jon-the-dev Could someone look into this please :) |
Contributor
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #2930 +/- ##
==========================================
- Coverage 90.42% 89.84% -0.59%
==========================================
Files 231 234 +3
Lines 14939 15267 +328
==========================================
+ Hits 13509 13716 +207
- Misses 1430 1551 +121 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
|
@neelaruban can you please take a look at the linting and test coverage notices? Thanks! |
Author
@mbordash2 i have done those changes now it looks good :) |
Author
|
@mbordash2 I have fixed the Linting issues , now it looks good |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New CLI options for granular targeting:
CloudFormation changeset support for CI/CD pipelines:
New 'runway variables' command:
Context updates:
Includes integration tests for all new options.
Summary
This PR adds granular targeting capabilities for Runway CLI commands and introduces CloudFormation changeset support for CI/CD workflows. Users can now target specific modules by name/pattern and
specific CFNgin stacks, enabling more precise deployments. Additionally, a new runway variables command helps debug variable resolution issues.
Why This Is Needed
options provide this flexibility.
to be retained and executed in separate stages.
What Changed
Added
Changed
Fixed
Removed
Screenshots
Checklist