Skip to content

Add tar.gz file of the build data streams#13321

Merged
jan-cerny merged 1 commit into
ComplianceAsCode:masterfrom
Mab879:add_tar_release_artifact
Apr 15, 2025
Merged

Add tar.gz file of the build data streams#13321
jan-cerny merged 1 commit into
ComplianceAsCode:masterfrom
Mab879:add_tar_release_artifact

Conversation

@Mab879
Copy link
Copy Markdown
Member

@Mab879 Mab879 commented Apr 14, 2025

Description:

This PR adds tar.gz file of the built data streams. These will be part of the release artifacts.

Something to think about is file naming. I'm open to suggestions.

After this change we will a tar.gz and .zip with the built content. Then we also also have a .tar.bz2 with the source. All of these files start with scap-security-guide-0.1.77. The only way to tell what is what (this is even true without this change) is by file size. The 100+ MB file is the built data streams and the smaller (~8.0 MB) is the source. Even today our release pages don't make that very clear.

Rationale:

Addresses #13305

Review Hints:

These might take while.

  1. rm -rf build/*
  2. cd build
  3. cmake -G Ninja ..
  4. ninja -j$(nproc) zipfile

@Mab879 Mab879 added the Infrastructure Our content build system label Apr 14, 2025
@Mab879 Mab879 added this to the 0.1.77 milestone Apr 14, 2025
@qlty-cloud-legacy
Copy link
Copy Markdown

Code Climate has analyzed commit 3e2b72e 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 self-assigned this Apr 15, 2025
Copy link
Copy Markdown
Collaborator

@jan-cerny jan-cerny left a comment

Choose a reason for hiding this comment

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

I have built files scap-security-guide-0.1.77.tar.gz and scap-security-guide-0.1.77.tar.gz.sha512 successfully using the instructions in the PR description. Also, I have verified their contents.

@jan-cerny jan-cerny merged commit 625968d into ComplianceAsCode:master Apr 15, 2025
@Mab879 Mab879 deleted the add_tar_release_artifact branch April 15, 2025 12:01
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