将tsg_master的调试符号上传至Sentry
This commit is contained in:
@@ -76,6 +76,7 @@ release_build_release:
|
|||||||
BUILD_TYPE: RelWithDebInfo
|
BUILD_TYPE: RelWithDebInfo
|
||||||
PACKAGE: 1
|
PACKAGE: 1
|
||||||
UPLOAD: 1
|
UPLOAD: 1
|
||||||
|
SYMBOL_TARGET: tsg_master
|
||||||
PULP3_REPO_NAME: tsg-stable-x86_64.el7
|
PULP3_REPO_NAME: tsg-stable-x86_64.el7
|
||||||
PULP3_DIST_NAME: tsg-stable-x86_64.el7
|
PULP3_DIST_NAME: tsg-stable-x86_64.el7
|
||||||
extends: .build_by_travis
|
extends: .build_by_travis
|
||||||
|
|||||||
11
ci/travis.sh
11
ci/travis.sh
@@ -57,8 +57,9 @@ if [ -n "${UPLOAD}" ]; then
|
|||||||
python3 rpm_upload_tools.py ${PULP3_REPO_NAME} ${PULP3_DIST_NAME} *.rpm
|
python3 rpm_upload_tools.py ${PULP3_REPO_NAME} ${PULP3_DIST_NAME} *.rpm
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#if [ -n "${UPLOAD_SYMBOL_FILES}" ]; then
|
if [ -n "${UPLOAD_SYMBOL_FILES}" ]; then
|
||||||
# rpm -i tfe*debuginfo*.rpm
|
rpm -i $SYMBOL_TARGET*debuginfo*.rpm
|
||||||
# cp /usr/lib/debug/opt/tsg/tfe/bin/tfe.debug /tmp/tfe.debuginfo.${CI_COMMIT_SHORT_SHA}
|
_symbol_file=`find /usr/lib/debug/ -name "$SYMBOL_TARGET*.so*.debug"`
|
||||||
# sentry-cli upload-dif -t elf /tmp/tfe.debuginfo.${CI_COMMIT_SHORT_SHA}
|
cp $_symbol_file ${_symbol_file}info.${CI_COMMIT_SHORT_SHA}
|
||||||
#fi
|
sentry-cli upload-dif -t elf ${_symbol_file}info.${CI_COMMIT_SHORT_SHA}
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user