Commit 88546d17 authored by Zhang Xiaoli's avatar Zhang Xiaoli
Browse files

国台beta单核测试相关更新

parent 63aa0788
......@@ -6,7 +6,6 @@ build:
dist: build
#docker save $(IMAGE_NAME) | zstdmt | pv | ssh c0 'zstd -d | docker load'
docker save $(IMAGE_NAME) > $(IMAGE_PATH)/msc-l1-sls.tar
ssh c0 docker load -i $(IMAGE_PATH)/msc-l1-sls.tar
push:
docker push $(IMAGE_NAME)
......
# 在beta进行单核测试
## cpu
--cpuset-cpus="1"
- taskid 48060
- messagetxt 10609200000664-10
--cpuset-cpus="2"
- taskid 48097
- messagetxt 10609200000512-01
docker run -d --network=host --rm -e JOB_NAME=msc-l1-sls -e MAX_SLEEP_COUNT=20 -e TEXT_TRANC_MODE=TAIL -e LOCAL_IP_INDEX=1 -e SINK_JOB=msc-l1-sls-extraction-zero -e CSST_DFS_APP_TOKEN=test -e CCDS_SERVER_URL=http://10.3.10.28:29000 -e CLUSTER=csst-nao -e JOB_ID=79 -e GRPC_SERVER=10.3.10.28 -e OUTPUT_TEXT_SIZE=100000 -e CSST_DFS_API_MODE=cluster -e CSST_DFS_GATEWAY=10.3.10.28:30880 -e CSST_DFS_APP_ID=test -v /nfsdata/share/pipeline-inttest/aux:/pipeline/aux:ro -v /nfsdata/share/dfs/dfs_root:/dfs_root:ro -v /nfsdata/share/dfs/ccds_root:/ccds_root:ro -v /nfsdata/share/pipeline-inttest/ast_temp:/pipeline/temp:rw -v /etc/localtime:/etc/localtime:ro -v /:/local -v /share/scalebox/mydata/:/data cnic/csst-msc-l1-sls
\ No newline at end of file
......@@ -23,8 +23,13 @@ if test -f "$timefile"; then
mv /pipeline/output/timestamps.txt /work/timestamps.txt
fi
rm -rf /pipeline/input/* /pipeline/output/*
if [ $exit_code -eq 0 ]; then
echo "finish sls, start sink-job."
scalebox task add --sink-job msc-l1-sls-extraction-zero $1
else
echo "finish sls, exit_code: $exit_code"
fi
echo finish sls.
rm -rf /pipeline/input/* /pipeline/output/*
exit $exit_code
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment