修改ci/cd上传yum错误
This commit is contained in:
@@ -46,10 +46,14 @@ make
|
|||||||
|
|
||||||
if [ -n "${PACKAGE}" ]; then
|
if [ -n "${PACKAGE}" ]; then
|
||||||
make package
|
make package
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -n "${UPLOAD}" ]; then
|
||||||
cp ~/rpm_upload_tools.py ./
|
cp ~/rpm_upload_tools.py ./
|
||||||
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 kni*debuginfo*.rpm
|
#rpm -i kni*debuginfo*.rpm
|
||||||
#cp /usr/lib/debug/opt/tsg/kni/bin/kni.debug /tmp/kni.debuginfo.${CI_COMMIT_SHORT_SHA}
|
#cp /usr/lib/debug/opt/tsg/kni/bin/kni.debug /tmp/kni.debuginfo.${CI_COMMIT_SHORT_SHA}
|
||||||
|
|||||||
Reference in New Issue
Block a user