Skip to content

Conversation

@jan-cerny
Copy link
Collaborator

Description:

Remove XSLT templates from the project. Replace them by new scripts and Jinja templates.

For more details, please read commit messages of all commits.

Rationale:

  • Stop using legacy XSLT technology
  • Remove duplicate code
  • Simplify creating new products

Review Hints:

Build a product and review generated tables in the /build/tables directory. For example, for RHEL 8, see

  • table-rhel8-stig-testinfo.html
  • table-rhel8-cces.html
  • table-rhel8-stig.html

Move some functions from gen_cce_table.py to template_renderer.py
so that they can be reused in other table generators in future.
Generate testinfo tables for STIG profiles by using Jinja template
instead of using XSLT xccdf2table-profileccirefs.xslt to generate
them.
This commit adds a new script create_unlinked_stig_xccdf.py
that is used to generate unlinked-stig-xccdf.xml instead of
a XSLT template.
Instead of getting the CIS URI from the constants.xslt file
in the product directory, we will load the CIS URI directly from
the built data stream from the reference element in Benchmark element.
This will allow us to remove the constants.xslt file in future.
@jan-cerny jan-cerny added this to the 0.1.80 milestone Dec 30, 2025
@jan-cerny jan-cerny added the Infrastructure Our content build system label Dec 30, 2025
@github-actions
Copy link

github-actions bot commented Dec 30, 2025

ATEX Test Results

Test artifacts have been submitted to Testing Farm.

Results: View Test Results
Workflow Run: View Workflow Details

This comment was automatically generated by the ATEX workflow.

@openshift-ci
Copy link

openshift-ci bot commented Dec 30, 2025

@jan-cerny: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/4.12-images 358f24f link true /test 4.12-images
ci/prow/images 358f24f link true /test images
ci/prow/4.17-images 358f24f link true /test 4.17-images
ci/prow/4.16-images 358f24f link true /test 4.16-images
ci/prow/e2e-aws-openshift-platform-compliance 358f24f link true /test e2e-aws-openshift-platform-compliance
ci/prow/e2e-aws-openshift-node-compliance 358f24f link true /test e2e-aws-openshift-node-compliance
ci/prow/4.18-images 358f24f link true /test 4.18-images
ci/prow/4.14-images 358f24f link true /test 4.14-images
ci/prow/4.19-images 358f24f link true /test 4.19-images

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

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.

1 participant