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

feat: prohibits stacks from having child stacks (non-leaf stacks) #91

Merged
merged 21 commits into from
Dec 15, 2021

Conversation

i4ki
Copy link
Contributor

@i4ki i4ki commented Dec 15, 2021

No description provided.

@i4ki i4ki requested a review from katcipis December 15, 2021 10:46
generate.go Outdated Show resolved Hide resolved
katcipis
katcipis previously approved these changes Dec 15, 2021
Copy link
Contributor

@katcipis katcipis left a comment

Choose a reason for hiding this comment

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

LGTM + some remarks on changes that seems related to ordering, but not a huge issue to merge them before the rest of the ordering code.

hcl/hcl.go Outdated
Comment on lines 52 to 54
// After is a list of non-duplicated stack entries that must run after the
// current stack runs.
After []string
Copy link
Contributor

Choose a reason for hiding this comment

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

This is related to ordering, shouldn't it be only on the order of exec PR ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oh gosh

hcl/hcl.go Outdated
ErrNoTerramateBlock errutil.Error = "no \"terramate\" block found"
ErrMalformedTerramateConfig errutil.Error = "malformed terramate config"
ErrMalformedTerraform errutil.Error = "malformed terraform"
ErrStackInvalidRunOrder errutil.Error = "invalid stack execution order definition"
Copy link
Contributor

Choose a reason for hiding this comment

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

Order related change, maybe add this on the order of exec PR ?

Copy link
Contributor

@katcipis katcipis left a comment

Choose a reason for hiding this comment

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

🚀

@i4ki i4ki merged commit 53e9225 into main Dec 15, 2021
@i4ki i4ki deleted the i4k/refactor-stacks branch December 15, 2021 13:51
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