From 2365b08cd23f6570fed70b4cdcbe6ddbb716104d Mon Sep 17 00:00:00 2001 From: fumingwei Date: Fri, 16 Oct 2020 19:17:43 +0800 Subject: 1、修改centry 上传 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 2 ++ ci/travis.sh | 12 +++++++----- conf/kni/kni.conf | 4 ++-- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index af4318b..31ec891 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -113,6 +113,8 @@ release_build_release: UPLOAD_SYMBOL_FILES: 1 PACKAGE: 1 UPLOAD: 1 + UPLOAD_SYMBOL_FILES: 1 + SYMBOL_TARGET: kni PULP3_REPO_NAME: tsg-stable-x86_64.el7 PULP3_DIST_NAME: tsg-stable-x86_64.el7 extends: .build_by_travis diff --git a/ci/travis.sh b/ci/travis.sh index 6f6804b..2505787 100644 --- a/ci/travis.sh +++ b/ci/travis.sh @@ -63,8 +63,10 @@ if [ -n "${UPLOAD}" ]; then fi -#if [ -n "${UPLOAD_SYMBOL_FILES}" ]; then - #rpm -i kni*debuginfo*.rpm - #cp /usr/lib/debug/opt/tsg/kni/bin/kni.debug /tmp/kni.debuginfo.${CI_COMMIT_SHORT_SHA} - #sentry-cli upload-dif -t elf /tmp/kni.debuginfo.${CI_COMMIT_SHORT_SHA} -#fi +if [ -n "${UPLOAD_SYMBOL_FILES}" ]; then + rpm -i $SYMBOL_TARGET*debuginfo*.rpm + _symbol_file=`find /usr/lib/debug/ -name "$SYMBOL_TARGET*.so*.debug"` + cp $_symbol_file ${_symbol_file}info.${CI_COMMIT_SHORT_SHA} + sentry-cli upload-dif -t elf ${_symbol_file}info.${CI_COMMIT_SHORT_SHA} +fi + diff --git a/conf/kni/kni.conf b/conf/kni/kni.conf index a32dbbb..802b659 100644 --- a/conf/kni/kni.conf +++ b/conf/kni/kni.conf @@ -66,8 +66,8 @@ mho_eliminate_type = LRU [field_stat] remote_switch = 1 -remote_ip = 192.168.100.1 -remote_port = 8125 +remote_ip = 127.0.0.1 +remote_port = 58100 local_path = ./fs2_kni.status stat_cycle = 1 print_mode = 1 -- cgit v1.2.3