Skip to content

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 <milosz.wasilewski@oss.qualcomm.com>
@mwasilew
Copy link
Contributor Author

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

Copy link
Contributor

@smuppand smuppand left a comment

Choose a reason for hiding this comment

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

LGTM

@smuppand smuppand merged commit 72c68ac into qualcomm-linux:main Jul 21, 2025
5 of 7 checks passed
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