summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorliuxueli <[email protected]>2019-12-23 15:30:08 +0800
committerliuxueli <[email protected]>2019-12-23 15:30:08 +0800
commit7e8a14ed289e4e86a5a2819f29e4e3171329c7ce (patch)
tree61d261528809fde15e7e3cedddacb1aab6efb983
parentcc058217e61551f9bb6f155d9f337018dd5c1cb3 (diff)
编译与功能验证分两个阶段完成
-rw-r--r--.gitlab-ci.yml14
1 files changed, 13 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a112240..25e8d80 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -9,6 +9,7 @@ variables:
stages:
- build
+ - fvt
- package
- release
@@ -28,8 +29,11 @@ stages:
- cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE
- make
- make package
- - rpm -ivh *.rpm
+
+.fvt
+ - rpm -ivh ./build/*.rpm
- sed -i 's/LOG_LEVEL=30/LOG_LEVEL=10/g' /home/mesasoft/sapp_run/conf/radius/radius.conf
+ - sed -i 's/.\/plug\/business\/gtest_sapp\/gtest_sapp.inf/#.\/plug\/business\/gtest_sapp\/gtest_sapp.inf/g' /home/mesasoft/sapp_run/plug/conflist.inf
- cd /home/mesasoft/
- git clone https://$USER_NAME:[email protected]/tango/fvt.git
- cd fvt/
@@ -55,6 +59,14 @@ build:
except:
- tags
+fvt:
+ stage: fvt
+ extends: .fvt
+ tags:
+ - share
+ except:
+ - tags
+
ntc_radius_plug-release-package:
stage: package
extends: .package_ntc_radius_plug