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

[SKIP SOF-TEST] .github/zephyr: de-hardcode the name of the zephyr remote #8369

Merged
merged 2 commits into from
Oct 23, 2023
Merged
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
6 changes: 3 additions & 3 deletions .github/workflows/zephyr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ jobs:
- name: west clones

run: pip3 install west && cd workspace/sof/ && west init -l &&
west update --narrow --fetch-opt=--filter=tree:0
time west update --narrow --fetch-opt=--filter=tree:0

- name: select zephyr revision
run: |
Expand All @@ -149,7 +149,7 @@ jobs:
sed -e "s#=sof_zephyr_revision_override=#${rem_rev}#" \
sof-ci-jenkins/zephyr-override-template.yml > test-zephyr-main.yml
)
west update --narrow --fetch-opt=--filter=tree:0
time west update --narrow --fetch-opt=--filter=tree:0
fi

# Because we used git tricks to speed things up, we now have two git
Expand All @@ -167,7 +167,7 @@ jobs:
# both issues in no time.

cd zephyr
git fetch --filter=tree:0 zephyrproject "$rem_rev":_branch_placeholder
time git fetch --filter=tree:0 "$(git remote |head -n1)" "$rem_rev":_branch_placeholder
git branch -D _branch_placeholder

set -x
Expand Down