-
Notifications
You must be signed in to change notification settings - Fork 17
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
base: main
Are you sure you want to change the base?
Conversation
|
||
on: | ||
push: | ||
tags: |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
.github/workflows/zstd.yml
Outdated
- 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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
@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]>
@smuppand I implemented your suggestions. I didn't test this. Please review and make changes if needed. |
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.