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

Allow feature to run last #65

Open
fwilhe opened this issue Feb 14, 2024 · 1 comment
Open

Allow feature to run last #65

fwilhe opened this issue Feb 14, 2024 · 1 comment
Labels
kind/enhancement Enhancement, improvement, extension

Comments

@fwilhe
Copy link
Member

fwilhe commented Feb 14, 2024

What would you like to be added:

Allow to specify a feature type for 'run this feature last'. This option may only at max be used once in all features in a build.

Why is this needed:

While working on the STIG PR for GL, it was occuring to me that as a user of the builder, I don't think I can influence in which order the features are run. So for example, if I have 3 features that have all a exec.config script, in which order will they be run?

For STIG, the feature needs to run last because it will apply compliance settings. No other feature should be able to override what the STIG feature is doing (for example in the sshd config).

@fwilhe fwilhe added the kind/enhancement Enhancement, improvement, extension label Feb 14, 2024
@fwilhe
Copy link
Member Author

fwilhe commented Feb 14, 2024

For example, there could be a feature type compliance. STIG may be one example of that, but other compliance features may exist. compliance features can't be combined, they exclude each other by definition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Enhancement, improvement, extension
Projects
None yet
Development

No branches or pull requests

1 participant