Skip to content

Add zstd archive to tagged releases #105

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mwasilew
Copy link
Contributor

@mwasilew mwasilew commented Jul 2, 2025

zstd archive helps with running tests on space constrained systems. It's already supported in LAVA and tuxlava (template renderer). This patch will make it possible to use qcom-linux-testkit in tuxlava.

@mwasilew mwasilew requested a review from smuppand July 2, 2025 14:10

on:
push:
tags:
Copy link
Contributor

Choose a reason for hiding this comment

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

It should either track all tags or specific patterns?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed

- name: Create zstd archive without prefix
run: |
cd ..
tar --exclude='./qcom-linux-testkit/.git' -I zstd -cf ${{ steps.version.outputs.tag_name }}.tar.zst qcom-linux-testkit
Copy link
Contributor

Choose a reason for hiding this comment

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

Avoid archiving the working directory, instead use a clean git archive.

-I zstd its better to control compression level? but if we adopt git archive, this becomes simpler.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

@mwasilew
Copy link
Contributor Author

@smuppand what is the tag format you'll be using?

@smuppand
Copy link
Contributor

@smuppand what is the tag format you'll be using?

We can follow SemVer tags.

Git tag: v1.1.0

Archive filename: qcom-testkit-v1.1.0.zst

zstd archive helps with running tests on space constrained systems. It's
already supported in LAVA and tuxlava (template renderer). This patch
will make it possible to use qcom-linux-testkit in tuxlava.

Signed-off-by: Milosz Wasilewski <[email protected]>
@mwasilew
Copy link
Contributor Author

@smuppand I implemented your suggestions. I didn't test this. Please review and make changes if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants