-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
CI: Optimize packaging in workflow #17275
Conversation
CI InformationTo view the history of this post, clich the 'edited' button above Inputs:Sources:sdk-nrf: PR head: 13fb6009ec94d838f1a112b10c9d59c1e2a61194 more detailssdk-nrf:
Github labels
List of changed files detected by CI (1)
Outputs:ToolchainVersion: Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped;
|
52dd29d
to
6169567
Compare
.github/workflows/src-mirror.yml
Outdated
|
||
- name: Create tar and compress workspace | ||
run: | | ||
tar cvfz src.tar.gz -C ./workspace/ . |
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.
can we switch to 7z so it can be unzipped on all platforms?
.github/workflows/src-mirror.yml
Outdated
@@ -13,10 +13,17 @@ jobs: | |||
with: | |||
git-fetch-depth: 0 | |||
path: workspace/nrf | |||
west-update-args: '--narrow -o=--depth=1 --group-filter=+babblesim,+sidewalk,+optional' |
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.
+optional is default so it can be dropped.
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.
I think we should remove --narrow -o=--depth=1
users might need other refs and history.
.github/workflows/src-mirror.yml
Outdated
@@ -13,10 +13,17 @@ jobs: | |||
with: | |||
git-fetch-depth: 0 | |||
path: workspace/nrf | |||
west-update-args: '--narrow -o=--depth=1 --group-filter=+babblesim,+sidewalk,+optional' |
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.
I think we should remove --narrow -o=--depth=1
users might need other refs and history.
19ef51b
to
1ba9f89
Compare
Add garbage collector and compress package before sending to Artifactory Switched from tar gzip to 7z Signed-off-by: Jakub Ciesla <[email protected]>
efd03e4
to
13fb600
Compare
Add garbage collector and compress package before sending to Artifactory