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

Added back validation of modules in "build" if present #175

Merged
merged 3 commits into from
Jan 9, 2024

Conversation

olehermanse
Copy link
Member

  • Renamed parameter require_build_actions
  • Added back validation of modules in "build" if present

No change in behavior here, just thought it would be a little more
explicit / clear / maintainable to flip the logic and change the name.

The _only_ thing this variable should do is say that if the
"build" key contains an empty list, that's okay.

Signed-off-by: Ole Herman Schumacher Elgesem <ole.elgesem@northern.tech>
If they are there we should validate them, regardless of whether
they are required to be there.

Signed-off-by: Ole Herman Schumacher Elgesem <ole.elgesem@northern.tech>
…alidate

Signed-off-by: Ole Herman Schumacher Elgesem <ole.elgesem@northern.tech>
Copy link
Contributor

@oleorhagen oleorhagen left a comment

Choose a reason for hiding this comment

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

Makes sense to me

@olehermanse olehermanse merged commit 60e3fca into cfengine:master Jan 9, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants