You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo "☑️🖥️ this example is working with ARM64 but requires emulation"
8351
+
return
8352
+
fi
8353
+
8354
+
echo "✅🖥️ this example should work natively with ARM64"
8355
+
fi
8356
+
set -e
8357
+
}
8358
+
8318
8359
# src/lib/colors.sh
8319
8360
print_in_color() {
8320
8361
local color="$1"
@@ -10424,6 +10465,7 @@ function bootstrap_ccloud_environment () {
10424
10465
export WARMUP_TIME=15
10425
10466
export QUIET=true
10426
10467
10468
+
log "💡 if you notice that the playground is using unexpected ccloud details, use <playground cleanup-cloud-details> to remove all caching and re-launch the example"
10427
10469
check_if_continue
10428
10470
else
10429
10471
#
@@ -10446,6 +10488,8 @@ function bootstrap_ccloud_environment () {
10446
10488
log "🌤 CLUSTER_CLOUD is set with $CLUSTER_CLOUD"
10447
10489
log "🗺 CLUSTER_REGION is set with $CLUSTER_REGION"
10448
10490
10491
+
log "💡 if you notice that the playground is using unexpected ccloud details, use <playground cleanup-cloud-details> to remove all caching and re-launch the example"
10492
+
10449
10493
for row in $(confluent kafka cluster list --output json | jq -r '.[] | @base64'); do
preview="${ccloud_preview}\n${missing_env}\n🚀 number of examples ran so far: $(get_cli_metric nb_runs)\n\n⛳ flag list:\n$flag_string\n"
15427
+
arm64_support=$(arm64_support)
15428
+
15429
+
if [[ "$arm64_support" == *"❌"* ]]
15430
+
then
15431
+
unset 'options[0]'
15432
+
options[1]="❌🖥️ this example is not working with ARM64 !"
15433
+
fi
15434
+
preview="${ccloud_preview}\n${missing_env}\n${arm64_support}\n🚀 number of examples ran so far: $(get_cli_metric nb_runs)\n\n⛳ flag list:\n$flag_string\n"
15384
15435
res=$(printf '%s\n' "${options[@]}" | fzf --multi --margin=1%,1%,1%,1% $fzf_option_rounded --info=inline --cycle --prompt="🚀" --header="select option(s) for $example (use tab to select more than one)" --color="bg:-1,bg+:-1,info:#BDBB72,border:#FFFFFF,spinner:0,hl:#beb665,fg:#00f7f7,header:#5CC9F5,fg+:#beb665,pointer:#E12672,marker:#5CC9F5,prompt:#98BEDE" $fzf_option_wrap $fzf_option_pointer --preview "echo -e \"$preview\"")
Copy file name to clipboardExpand all lines: scripts/cli/src/commands/run.sh
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -944,7 +944,14 @@ then
944
944
IFS=$'\n' flag_string="${array_flag_list[*]}"
945
945
IFS=$oldifs
946
946
947
-
preview="${ccloud_preview}\n${missing_env}\n🚀 number of examples ran so far: $(get_cli_metric nb_runs)\n\n⛳ flag list:\n$flag_string\n"
947
+
arm64_support=$(arm64_support)
948
+
949
+
if [[ "$arm64_support"==*"❌"* ]]
950
+
then
951
+
unset'options[0]'
952
+
options[1]="❌🖥️ this example is not working with ARM64 !"
953
+
fi
954
+
preview="${ccloud_preview}\n${missing_env}\n${arm64_support}\n🚀 number of examples ran so far: $(get_cli_metric nb_runs)\n\n⛳ flag list:\n$flag_string\n"
948
955
res=$(printf '%s\n'"${options[@]}"| fzf --multi --margin=1%,1%,1%,1% $fzf_option_rounded --info=inline --cycle --prompt="🚀" --header="select option(s) for $example (use tab to select more than one)" --color="bg:-1,bg+:-1,info:#BDBB72,border:#FFFFFF,spinner:0,hl:#beb665,fg:#00f7f7,header:#5CC9F5,fg+:#beb665,pointer:#E12672,marker:#5CC9F5,prompt:#98BEDE"$fzf_option_wrap$fzf_option_pointer --preview "echo -e \"$preview\"")
0 commit comments