fix docker telemetry bugs

This commit is contained in:
LINxiansheng 2024-03-06 02:15:05 +00:00 committed by ob-robot
parent 8db7291d3f
commit b9128bced0
2 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ cd "${CWD}"
function fast_boot_docker_build() {
rm -rf boot
cp -r step_1_boot boot
docker build $BUILD_ARG --build-arg STEP=1 -t raw_observer .
docker build --no-cache $BUILD_ARG --build-arg STEP=1 -t raw_observer .
if [ $? == 0 ]; then
echo "================== build prepare docker ok ==============="
else
@ -39,7 +39,7 @@ function fast_boot_docker_build() {
cd "${CWD}"
cp -r step_2_boot/* boot
docker build $BUILD_ARG --build-arg STEP=2 -t oceanbase-ce .
docker build --no-cache $BUILD_ARG --build-arg STEP=2 -t oceanbase-ce .
if [ $? == 0 ]; then
echo "================== docker build ok ==============="
else

View File

@ -3,7 +3,7 @@ CWD=$(cd `dirname $0`;pwd)
cd "${CWD}"
source _env
export HOST_IP_MODE=1
export ENV_TELEMETRY_REPORTER="docker_${OB_CLUSTER_NAME}"
export TELEMETRY_REPORTER="docker_${OB_CLUSTER_NAME}"
STAMP="$(date +%s)"
STEP=1