Skip to content
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

[ORC-587] Bundle import params #140

Merged
merged 12 commits into from
Sep 17, 2024
Merged

[ORC-587] Bundle import params #140

merged 12 commits into from
Sep 17, 2024

Conversation

chrisghill
Copy link
Contributor

Added a new command mass bundle import which will IaC in the declared steps and look for IaC variables not defined in the params block of the massdriver.yaml.

@chrisghill chrisghill requested review from coryodaniel and a team as code owners September 12, 2024 20:00
yaml3 "gopkg.in/yaml.v3"
)

func ImportParams(buildPath string, skipVerify bool) error {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function is currently too cluttered. Some of this functionality will be broken out into functions when we add capability like mass bundle add-connection or mass bundle add-artifact. Working with yaml nodes is not easy, but it does maintain structure and order in yaml files, allowing us to read and render with minimal extraneous changes.

@chrisghill chrisghill changed the title Bundle import params [ORC-587] Bundle import params Sep 12, 2024
Copy link

linear bot commented Sep 12, 2024

@chrisghill chrisghill merged commit f9c515d into main Sep 17, 2024
4 checks passed
@chrisghill chrisghill deleted the bundle-import-params branch September 17, 2024 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants