Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/zephyr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ jobs:

- name: build
run: docker run -v "$(pwd)":/workdir
docker.io/zephyrprojectrtos/zephyr-build:latest
docker.io/zephyrprojectrtos/zephyr-build:v0.17.3

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

If we set the version, we need to update occasionally if docker image is updated.
It looks like zephyr's latest image is not stable. Why is so? Can they keep different tag until it get stabilized?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Very good question. I've asked the image maintainers on the #infrastructure channel athttps://zephyrproject.slack.com/archives/CGNR3LCHM about a more :stable version but there is none.

Quoting the same channel:

right now we might have a few updates as we are catching up after we merged the 2 dockers, but usually it should be less frequent

I believe we will NOT have to update for every single image release. For now this is just a build test so if it builds with a non-latest image then it is good enough and if it breaks then we update the image (hence the Zephyr SDK) "on-demand". We don't want to force developers to constantly update their toolchain either after all.

We already build Zephyr with the random, latest Zephyr commit of the day so maybe it's good to have one less moving part, should help point the finger when something outside of SOF breaks this.

./zephyr/docker-build.sh
6 changes: 0 additions & 6 deletions zephyr/docker-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,8 @@
set -e
set -x

# export http_proxy=...
# export https_proxy=...

unset ZEPHYR_BASE

sudo --preserve-env=http_proxy,https_proxy apt-get update
sudo --preserve-env=http_proxy,https_proxy apt-get -y install libssl-dev

# Make sure we're in the right place; chgrp -R below.
test -e ./scripts/xtensa-build-zephyr.sh

Expand Down