feature:将os上传仓库由pulp改为gohttpserver+syncthing搭建的仓库
This commit is contained in:
@@ -4,6 +4,8 @@ ls -halt $CI_PROJECT_DIR
|
||||
ls -halt $CI_PROJECT_DIR/images/
|
||||
cat $CI_PROJECT_DIR/images/*.sha256sum.txt
|
||||
if [ -n "${UPLOAD_TO_FILE_REPO}" ]; then
|
||||
python3 ~/file_upload_tools.py ${PULP3_FILE_REPO_NAME} ${PULP3_FILE_DIST_NAME} ./images/*.bin
|
||||
python3 ~/file_upload_tools.py ${PULP3_FILE_REPO_NAME} ${PULP3_FILE_DIST_NAME} ./images/*.sha256sum.txt
|
||||
#python3 ~/file_upload_tools.py ${PULP3_FILE_REPO_NAME} ${PULP3_FILE_DIST_NAME} ./images/*.bin
|
||||
#python3 ~/file_upload_tools.py ${PULP3_FILE_REPO_NAME} ${PULP3_FILE_DIST_NAME} ./images/*.sha256sum.txt
|
||||
python3 ~/file_upload_tools_to_share_repo.py ${FILE_REPO_PATH} ./images/*.bin
|
||||
python3 ~/file_upload_tools_to_share_repo.py ${FILE_REPO_PATH} ./images/*.sha256sum.txt
|
||||
fi
|
||||
Reference in New Issue
Block a user