-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#70544] use the same version of renode as the dashboards
- Loading branch information
1 parent
1ba810d
commit 6f9d4d5
Showing
4 changed files
with
25 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
|
||
if [[ "$DASHBOARD_VARIANT" == "zephyr" ]]; then | ||
export GCP_SIM_BASE="https://zephyr-dashboard.renode.io/zephyr_sim" | ||
export DEMO_NAME=hello_world | ||
elif [[ "$DASHBOARD_VARIANT" == "uboot" ]]; then | ||
export GCP_SIM_BASE="https://u-boot-dashboard.renode.io/uboot_sim" | ||
export DEMO_NAME=uboot | ||
else | ||
exit 1 | ||
fi | ||
|
||
export LATEST_SIM=$(curl --fail -sS -G "$GCP_SIM_BASE"/latest) | ||
export LATEST_SIM_RENODE=$(curl --fail -sS -G "$GCP_SIM_BASE"/"$LATEST_SIM"/latest) | ||
|
||
if [ -z "$RENODE_VERSION" ]; then | ||
export RENODE_VERSION="$LATEST_SIM_RENODE" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters