-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[Telink] Update Docker image (Zephyr 3.3 & 3.7 support) #37852
Conversation
PR #37852: Size comparison from bb1f2db to a0bf858 Full report (85 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
@@ -39,6 +40,8 @@ COPY --from=psoc6 /opt/Tools/ModusToolbox /opt/Tools/ModusToolbox | |||
|
|||
COPY --from=telink /opt/telink/zephyrproject /opt/telink/zephyrproject | |||
COPY --from=telink /opt/telink/zephyr-sdk-0.17.0 /opt/telink/zephyr-sdk-0.17.0 | |||
COPY --from=telink-zephyr_3_3 /opt/telink/zephyrproject /opt/telink/zephyrproject | |||
COPY --from=telink-zephyr_3_3 /opt/telink/zephyr-sdk-0.17.0 /opt/telink/zephyr-sdk-0.17.0 |
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.
is this not the same as line 41/42? How do we merge these?
Maybe paths should be different in both images
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.
is this not the same as line 41/42? How do we merge these?
Maybe paths should be different in both images
paths of zephyr-sdk and zephyr are the same in both Dockers (versions)
zephyr-sdk-0.17.0 - is fully same for both versions
zephyrproject - is different (but with same path) with different versions of Zephyr
Generally I'm not sure if we need to add this lines, but I see COPY --from=telink
which mean image_name and as a result I made a copy for other image.
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 understood mistake and will rework this part
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.
@andy31415
The best approach is to avoid including the old Zephyr 3.3 version in the VSCode image (I removed in last commit change).
This version will be used for about one more year by some customers, but Telink and most customers typically use a local Zephyr setup instead of Docker or VSCode builds.
It's better to maintain consistent paths in both Telink Docker images for both Zephyr versions.
We need this Docker images for GitHub CI builds only.
PR #37852: Size comparison from bb1f2db to d494dd3 Full report (85 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
…#37852) * [Telink] Update Docker image (Zephyr 3.3 & 3.7 support) * [Telink] Remove Telink Zephyr 3.3 from chip-build-vscode
Change overview
Changes of N22 binary:
(latest hash 4d7b3e5962b9d34e28f7b24981ebac7e969b1115)
Testing
Tested manually.
Steps: