Skip to content
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

Merged
merged 1 commit into from
Oct 4, 2024

Conversation

jaci-nordic
Copy link
Contributor

Add garbage collector and compress package before sending to Artifactory

@jaci-nordic jaci-nordic requested a review from a team as a code owner September 11, 2024 11:29
@github-actions github-actions bot added the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label Sep 11, 2024
@jaci-nordic jaci-nordic marked this pull request as draft September 11, 2024 11:29
@NordicBuilder
Copy link
Contributor

NordicBuilder commented Sep 11, 2024

CI Information

To view the history of this post, clich the 'edited' button above
Build number: 24

Inputs:

Sources:

sdk-nrf: PR head: 13fb6009ec94d838f1a112b10c9d59c1e2a61194

more details

sdk-nrf:

PR head: 13fb6009ec94d838f1a112b10c9d59c1e2a61194
merge base: 125d58f5201b5976e7f3f414552342d79588d6b6
target head (main): cdbb02a59f05aab6b67cf0cb00b53339d7c290b0
Diff

Github labels

Enabled Name Description
ci-disabled Disable the ci execution
ci-all-test Run all of ci, no test spec filtering will be done
ci-force-downstream Force execution of downstream even if twister fails
ci-run-twister Force run twister
ci-run-zephyr-twister Force run zephyr twister
List of changed files detected by CI (1)
.github
│  ├── workflows
│  │  │ src-mirror.yml

Outputs:

Toolchain

Version:
Build docker image:

Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped; ⚠️ Quarantine

  • ◻️ Toolchain
  • ◻️ Build twister
  • ◻️ Integration tests
Disabled integration tests
    • desktop52_verification
    • doc-internal
    • test_ble_nrf_config
    • test-fw-nrfconnect-apps
    • test-fw-nrfconnect-ble_mesh
    • test-fw-nrfconnect-ble_samples
    • test-fw-nrfconnect-boot
    • test-fw-nrfconnect-chip
    • test-fw-nrfconnect-fem
    • test-fw-nrfconnect-nfc
    • test-fw-nrfconnect-nrf-iot_cloud
    • test-fw-nrfconnect-nrf-iot_libmodem-nrf
    • test-fw-nrfconnect-nrf-iot_lwm2m
    • test-fw-nrfconnect-nrf-iot_mosh
    • test-fw-nrfconnect-nrf-iot_nrf_provisioning
    • test-fw-nrfconnect-nrf-iot_positioning
    • test-fw-nrfconnect-nrf-iot_samples
    • test-fw-nrfconnect-nrf-iot_serial_lte_modem
    • test-fw-nrfconnect-nrf-iot_thingy91
    • test-fw-nrfconnect-nrf-iot_zephyr_lwm2m
    • test-fw-nrfconnect-nrf_crypto
    • test-fw-nrfconnect-proprietary_esb
    • test-fw-nrfconnect-ps
    • test-fw-nrfconnect-rpc
    • test-fw-nrfconnect-rs
    • test-fw-nrfconnect-tfm
    • test-fw-nrfconnect-thread
    • test-fw-nrfconnect-zigbee
    • test-low-level
    • test-sdk-audio
    • test-sdk-dfu
    • test-sdk-find-my
    • test-sdk-mcuboot
    • test-sdk-pmic-samples
    • test-sdk-sidewalk
    • test-sdk-wifi

Note: This message is automatically posted and updated by the CI

@jaci-nordic jaci-nordic marked this pull request as ready for review September 11, 2024 12:03
@jaci-nordic jaci-nordic marked this pull request as draft September 12, 2024 13:05
@jaci-nordic jaci-nordic force-pushed the NCSDK-29032 branch 3 times, most recently from 52dd29d to 6169567 Compare September 13, 2024 10:31

- name: Create tar and compress workspace
run: |
tar cvfz src.tar.gz -C ./workspace/ .
Copy link
Contributor

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?

@@ -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'
Copy link
Contributor

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.

Copy link
Contributor

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.

@@ -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'
Copy link
Contributor

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.

@DatGizmo DatGizmo force-pushed the NCSDK-29032 branch 3 times, most recently from 19ef51b to 1ba9f89 Compare September 20, 2024 11:59
@DatGizmo DatGizmo added CI-disable Disable CI for this PR and removed CI-disable Disable CI for this PR labels Sep 20, 2024
Add garbage collector and compress package before sending to Artifactory
Switched from tar gzip to 7z

Signed-off-by: Jakub Ciesla <[email protected]>
@DatGizmo DatGizmo marked this pull request as ready for review September 26, 2024 13:04
@DatGizmo DatGizmo self-requested a review October 3, 2024 09:23
@thst-nordic thst-nordic merged commit c0ec766 into nrfconnect:main Oct 4, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants