Skip to content
Open
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
19 changes: 19 additions & 0 deletions .github/script/seekdb/scripts/mysqltest_for_seekdb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,24 @@ EOF
fi
}

function copy_obshell_to_bin {
local bin_dir=$1
local obshell_src=""
for cand in \
"$HOME/seekdb/tools/deploy/bin/obshell" \
"$DEP_PATH/home/admin/oceanbase/bin/obshell"; do
if [[ -x "$cand" ]]; then
obshell_src="$cand"
break
fi
done
if [[ -n "$obshell_src" ]]; then
cp -f "$obshell_src" "$bin_dir/obshell" && chmod +x "$bin_dir/obshell"
else
echo "[WARN] obshell not found in deps, skip packaging obshell into mirror"
fi
}

function obd_prepare_bin {
cd $HOME
mkdir -p $DOWNLOAD_DIR/{bin,etc,admin} || return 1
Expand Down Expand Up @@ -361,6 +379,7 @@ function obd_prepare_bin {
then
cd $HOME/seekdb/tools/deploy && [[ -f copy.sh ]] && sh copy.sh
fi
copy_obshell_to_bin "$DOWNLOAD_DIR/bin"
if [[ -f "$HOME/seekdb/tools/deploy/obd/.observer_obd_plugin_version" ]]
then
obs_version=$(cat $HOME/seekdb/tools/deploy/obd/.observer_obd_plugin_version)
Expand Down
2 changes: 1 addition & 1 deletion deps/init/oceanbase.el9.x86_64.deps
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ obshell-4.4.1.1-32026031914.el8.x86_64.rpm target=community
#obshell-4.5.0.0-12026050816.el8.x86_64.rpm target=community

[test-utils]
ob-deploy-4.1.0-2.el8.x86_64.rpm target=community
ob-deploy-4.4.0-5.el8.x86_64.rpm target=community
obclient-2.2.2-1.el8.x86_64.rpm target=community
libobclient-2.2.2-3.el8.x86_64.rpm target=community
Loading