From 1a3955dbe10bdcd0568972f40ee91979b66b65a5 Mon Sep 17 00:00:00 2001 From: fengweihao Date: Tue, 22 Feb 2022 17:01:19 +0800 Subject: [PATCH] =?UTF-8?q?bugfix:=20=E4=BF=AE=E5=A4=8Dgitlab=E9=94=99?= =?UTF-8?q?=E8=AF=AF,UPLOAD=E5=AE=89=E8=A3=85=E5=8C=85=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 88 ++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 82 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 34a997a..134a513 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -59,11 +59,48 @@ branch_build_release_for_centos7: - /^release-.*$/i - tags -release_build_debug_for_centos7: +develop_build_debug_for_centos7: + extends: .build_by_travis_for_centos7 variables: - UPLOAD_SYMBOL_FILES: 1 + TESTING_VERSION_BUILD: 1 + UPLOAD: 1 BUILD_TYPE: Debug PACKAGE: 1 + SYMBOL_TARGET: certstore + PULP3_REPO_NAME: tsg-testing-x86_64.el7 + PULP3_DIST_NAME: tsg-testing-x86_64.el7 + artifacts: + name: "certstore-develop-$CI_COMMIT_REF_NAME-debug" + paths: + - build/*.rpm + only: + - /^develop-.*$/i + - /^master-.*$/i + +develop_build_release_for_centos7: + extends: .build_by_travis_for_centos7 + variables: + TESTING_VERSION_BUILD: 1 + UPLOAD: 1 + BUILD_TYPE: RelWithDebInfo + PACKAGE: 1 + SYMBOL_TARGET: certstore + PULP3_REPO_NAME: tsg-testing-x86_64.el7 + PULP3_DIST_NAME: tsg-testing-x86_64.el7 + artifacts: + name: "certstore-develop-$CI_COMMIT_REF_NAME-release" + paths: + - build/*.rpm + only: + - /^develop-.*$/i + - /^master-.*$/i + +release_build_debug_for_centos7: + variables: + UPLOAD: 1 + BUILD_TYPE: Debug + PACKAGE: 1 + SYMBOL_TARGET: certstore PULP3_REPO_NAME: tsg-stable-x86_64.el7 PULP3_DIST_NAME: tsg-stable-x86_64.el7 extends: .build_by_travis_for_centos7 @@ -77,8 +114,9 @@ release_build_debug_for_centos7: release_build_release_for_centos7: variables: BUILD_TYPE: RelWithDebInfo - UPLOAD_SYMBOL_FILES: 1 + UPLOAD: 1 PACKAGE: 1 + SYMBOL_TARGET: certstore PULP3_REPO_NAME: tsg-stable-x86_64.el7 PULP3_DIST_NAME: tsg-stable-x86_64.el7 extends: .build_by_travis_for_centos7 @@ -110,11 +148,48 @@ branch_build_release_for_centos8: - /^release-.*$/i - tags -release_build_debug_for_centos8: +develop_build_debug_for_centos8: + extends: .build_by_travis_for_centos8 variables: - UPLOAD_SYMBOL_FILES: 1 + TESTING_VERSION_BUILD: 1 + UPLOAD: 1 BUILD_TYPE: Debug PACKAGE: 1 + SYMBOL_TARGET: certstore + PULP3_REPO_NAME: tsg-testing-x86_64.el8 + PULP3_DIST_NAME: tsg-testing-x86_64.el8 + artifacts: + name: "certstore-develop-$CI_COMMIT_REF_NAME-debug" + paths: + - build/*.rpm + only: + - /^develop-.*$/i + - /^release-.*$/i + +develop_build_release_for_centos8: + extends: .build_by_travis_for_centos8 + variables: + TESTING_VERSION_BUILD: 1 + UPLOAD: 1 + BUILD_TYPE: RelWithDebInfo + PACKAGE: 1 + SYMBOL_TARGET: certstore + PULP3_REPO_NAME: tsg-testing-x86_64.el8 + PULP3_DIST_NAME: tsg-testing-x86_64.el8 + artifacts: + name: "certstore-develop-$CI_COMMIT_REF_NAME-release" + paths: + - build/*.rpm + only: + - /^develop-.*$/i + - /^release-.*$/i + +release_build_debug_for_centos8: + variables: + UPLOAD: 1 + BUILD_TYPE: Debug + PACKAGE: 1 + SYMBOL_TARGET: certstore PULP3_REPO_NAME: tsg-stable-x86_64.el8 PULP3_DIST_NAME: tsg-stable-x86_64.el8 extends: .build_by_travis_for_centos8 @@ -128,8 +203,9 @@ release_build_debug_for_centos8: release_build_release_for_centos8: variables: BUILD_TYPE: RelWithDebInfo - UPLOAD_SYMBOL_FILES: 1 + UPLOAD: 1 PACKAGE: 1 + SYMBOL_TARGET: certstore PULP3_REPO_NAME: tsg-stable-x86_64.el8 PULP3_DIST_NAME: tsg-stable-x86_64.el8 extends: .build_by_travis_for_centos8