summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfengweihao <[email protected]>2020-09-23 15:41:14 +0800
committerfengweihao <[email protected]>2020-09-23 15:41:14 +0800
commit7f5d774d3a5cba9315b4ec3dec4b551e6e83d3a7 (patch)
treefc2500329bdd0bc338bd63095c9687f408b4b25d
parent82f01d09cf8f083c39a24f71e8293d2a654a7816 (diff)
Revert "CI构建修改"
This reverts commit 82f01d09cf8f083c39a24f71e8293d2a654a7816.
-rw-r--r--.gitlab-ci.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 07daca3..9b94295 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -69,12 +69,30 @@ develop_build_release:
- /^develop.*$/i
- /^master.*$/i
+
release_build_release:
stage: build
variables:
BUILD_TYPE: RelWithDebInfo
PACKAGE: 1
UPLOAD: 1
+ PULP3_REPO_NAME: tsg-stable-x86_64.el7
+ PULP3_DIST_NAME: tsg-stable-x86_64.el7
+ extends: .build_by_travis
+ artifacts:
+ name: "verify-policy-$CI_COMMIT_REF_NAME-release"
+ paths:
+ - build/*.rpm
+ only:
+ - tags
+
+release_build_release_devel:
+ stage: build
+ variables:
+ BUILD_TYPE: RelWithDebInfo
+ ENABLE_DEVEL_SWITCH: "ON"
+ PACKAGE: 1
+ UPLOAD: 1
SYMBOL_TARGET: verify-policy
PULP3_REPO_NAME: tsg-stable-x86_64.el7
PULP3_DIST_NAME: tsg-stable-x86_64.el7