summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorliuxueli <[email protected]>2020-07-01 09:33:35 +0800
committerliuxueli <[email protected]>2020-07-01 09:33:35 +0800
commit7543d9fbc0e9012bc8b0104ee44620e13f8df8c8 (patch)
tree52ad6e6629a70488eb2768a538fe0516ff23c1e6 /ci
parent0a9a3a98cf7b0522febc8af06d573708f2c39ad4 (diff)
将ssl的调试符号上传至Sentryv1.0.1
调整preInstall和preUninstall的位置
Diffstat (limited to 'ci')
-rw-r--r--ci/travis.sh11
1 files changed, 5 insertions, 6 deletions
diff --git a/ci/travis.sh b/ci/travis.sh
index 40a2780..ccfe6b2 100644
--- a/ci/travis.sh
+++ b/ci/travis.sh
@@ -55,10 +55,9 @@ fi
if [ -n "${UPLOAD}" ]; then
cp ~/rpm_upload_tools.py ./
python3 rpm_upload_tools.py ${PULP3_REPO_NAME} ${PULP3_DIST_NAME} *.rpm
-fi
-#if [ -n "${UPLOAD_SYMBOL_FILES}" ]; then
-# rpm -i tfe*debuginfo*.rpm
-# cp /usr/lib/debug/opt/tsg/tfe/bin/tfe.debug /tmp/tfe.debuginfo.${CI_COMMIT_SHORT_SHA}
-# sentry-cli upload-dif -t elf /tmp/tfe.debuginfo.${CI_COMMIT_SHORT_SHA}
-#fi
+ 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