diff options
| author | fumingwei <[email protected]> | 2020-10-16 19:17:43 +0800 |
|---|---|---|
| committer | fumingwei <[email protected]> | 2020-10-16 19:17:43 +0800 |
| commit | 2365b08cd23f6570fed70b4cdcbe6ddbb716104d (patch) | |
| tree | cfe6c90f791075f572e46d843b48f46bd5a20a9c | |
| parent | 8124fe485f17a3b75f28415a141ab6af4c5bc143 (diff) | |
1、修改centry 上传
| -rw-r--r-- | .gitlab-ci.yml | 2 | ||||
| -rw-r--r-- | ci/travis.sh | 12 | ||||
| -rw-r--r-- | 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 |
