diff options
| author | luwenpeng <[email protected]> | 2022-02-11 12:31:17 +0800 |
|---|---|---|
| committer | luwenpeng <[email protected]> | 2022-02-11 12:31:17 +0800 |
| commit | 6fecd954272ba7b61a6dfeb97aa87d46746a4440 (patch) | |
| tree | 72e329cf7ab58b729476059e67d92c13ee10a336 | |
| parent | 0e1278184ce5b68f9d3a2dde3c44e946b8c6efd9 (diff) | |
TSG-xxx TFE运行CI时同时构建CentOS7/CentOS8运行环境的安装包 bugfix2v4.6.05-20220211
| -rw-r--r-- | .gitlab-ci.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a42b91e..9a48688 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -65,8 +65,9 @@ stages: script: - cd $CI_PROJECT_DIR/build/ - ls -ahl *.rpm + - echo $TARGET_SYS_TYPE - cp ~/rpm_upload_tools.py ./ - - python3 rpm_upload_tools.py ${PULP3_REPO_NAME} ${PULP3_DIST_NAME} *-pr-*.rpm + - python3 rpm_upload_tools.py ${PULP3_REPO_NAME} ${PULP3_DIST_NAME} *-pr-*${TARGET_SYS_TYPE}*.rpm - rm -rf *.rpm tags: - share @@ -172,6 +173,7 @@ envelope_rpm_for_centos7: upload_enveloped_rpm_for_centos7: image: $BUILD_IMAGE_CENTOS7 variables: + TARGET_SYS_TYPE: el7 PULP3_REPO_NAME: tfe-stable-x86_64.el7 PULP3_DIST_NAME: tfe-stable-x86_64.el7 extends: .upload_enveloped_rpm_script @@ -275,6 +277,7 @@ envelope_rpm_for_centos8: upload_enveloped_rpm_for_centos8: image: $BUILD_IMAGE_CENTOS8 variables: + TARGET_SYS_TYPE: el8 PULP3_REPO_NAME: tfe-stable-x86_64.el8 PULP3_DIST_NAME: tfe-stable-x86_64.el8 extends: .upload_enveloped_rpm_script
\ No newline at end of file |
