8000 build_product: add --render-test-scenarios option by vojtapolasek · Pull Request #13309 · ComplianceAsCode/content · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

build_product: add --render-test-scenarios option #13309

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

Conversation

vojtapolasek
Copy link
Collaborator

Description:

  • add --render-test-scenarios option to build_product script

Rationale:

Review Hints:

  • use build_product with --render-test-scenarios option and without it

this builds rendered test scenarios as introduced in PR13029
@vojtapolasek vojtapolasek added the Infrastructure Our content build system label Apr 11, 2025
@vojtapolasek vojtapolasek added this to the 0.1.77 milestone Apr 11, 2025
@jan-cerny jan-cerny self-assigned this Apr 11, 2025
@@ -99,6 +100,7 @@ print_help()
printf '\t%s\n' "-t, --thin, --no-thin: Build thin data streams for each rule. Do not build any of the guides, tables, etc (off by default)"
printf '\t%s\n' "-r, --rule-id: Rule ID: Build a thin data stream with the specified rule. Do not build any of the guides, tables, etc (off by default)"
printf '\t%s\n' "-d, --datastream-only, --no-datastream-only: Build the data stream only. Do not build any of the guides, tables, etc (off by default)"
printf '\t%s\n' "--render-test-scenarios: render Automatus test scenarios for specified product and put them into the build directory (off by default)"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please document this at docs/manual/developer/02_building_complianceascode.md at line 527.

@vojtapolasek
Copy link
Collaborator Author

@jan-cerny good catch, done.

Copy link
codeclimate bot commented Apr 16, 2025

Code Climate has analyzed commit c247b36 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 61.9% (0.0% change).

View more on Code Climate.

@jan-cerny jan-cerny merged commit 6d48cf0 into ComplianceAsCode:master Apr 16, 2025
109 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Infrastructure Our content build system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0