diff options
| author | fumingwei <[email protected]> | 2020-07-21 19:04:08 +0800 |
|---|---|---|
| committer | fumingwei <[email protected]> | 2020-07-21 19:04:08 +0800 |
| commit | 39823d5b663bdef960af55e3e884ec7b6190dae3 (patch) | |
| tree | b6c5c9fb809e80ee070924b7856f93624b8d27d6 /ci/travis.sh | |
| parent | 8364667a798b98ac20139ac2b0532384d47933ac (diff) | |
修改gitlab ci/cd,将流程分为tar(打包)和upload(上传) 两步two-job
Diffstat (limited to 'ci/travis.sh')
| -rw-r--r-- | ci/travis.sh | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/ci/travis.sh b/ci/travis.sh index 8976be1..4eb1bf3 100644 --- a/ci/travis.sh +++ b/ci/travis.sh @@ -1,14 +1,8 @@ #!/usr/bin/env sh -mkdir build || true -cat ./customize.yml >> ./build_config/group_vars/local.yml -cat ./customize.yml >> ./install_config/group_vars/all.yml - -ansible-playbook -i ./build_config -e tarname=tsg-scripts-${VER_NAME}.tar.gz buildPackage.yml - -ls -halt ./build/tsg-scripts-${VER_NAME}.tar.gz - -cd build +cd /tmp/padding_for_PACK_TAR_BUILD_DIRS_PREFIX/tsg/tsg-scripts/build cp ~/file_upload_tools.py ./ +python3 file_upload_tools.py ${PULP3_FILE_REPO_NAME} ${PULP3_FILE_DIST_NAME} *.tar.gz -python3 file_upload_tools.py ${PULP3_REPO_NAME} ${PULP3_DIST_NAME} *.tar.gz
\ No newline at end of file +cd / +rm -rf /tmp/padding_for_PACK_TAR_BUILD_DIRS_PREFIX/tsg/tsg-scripts/build |
