WISE-PaaS DevOps

From ESS-WIKI
Jump to: navigation, search

[Introduction]

DevOps Cloud

DataBase

  • Product Table
ProductID ProductName isActive
1 UShop 1
2 RMM 1
3 ILPS 1


  • StageType Table
TypeID TypeName Description isActive
1 Prepare 准备
1
2 CodeAnalysis
对代码进行静态检查
1
3 Build
编译
1
4 Test
测试
1
5 Deploy
部署
1
6 Other 其他类别 1
  • Stage Table
StageID
StageName
TypeID
ProductID
Platform
SourceCode
EntryProgram
Parameters
isActive
1 C#代码检查
2 0 dockerimage
giturl
analysis.sh
{"paraName1":"","paraName2":""}
1
2 Java代码检查
2 0 dockerimage
giturl
analysis.sh
{"paraName1":"","paraName2":""}
1
3 Build
3 1 dockerimage
giturl
build.sh
{"paraName1":"","paraName2":""}
1
4 APITest
4 1 node(Linux)
giturl
apitest.py
{"paraName1":"value1","paraName2":"value4"}
1
5 UITest
4 1 node(windows)
giturl
uitest.exe
{"paraName1":"value1","paraName2":"value5"}
1


  • DevOpsPlan Table
DevOpsPlanID
PlanName
ProductID
isActive
1 UShopApi
1 1
2 UShopMsgPro
1 1
3 RMMApi
2 1
  • DevOps_Plan_Stage Table
StageIndex DevOpsPlanID
StageID
PreStageIDs
isSync Parameter
1 1 2 0 1 {"paraName1":"1","paraName2":"2"}
2 1 3 2 1 {"paraName1":"1","paraName2":"2"}
3 1 4 2,3 0 {"paraName1":"value1","paraName2":"value4"}
4 2 1 0 1
5 2 2 1 0
6 3 1 0 1
7 3 2 0 1
8 3 3 1 0
  • DevOpsBuild Table
BuildID BuildIndex
DevOpsPlanID
BuildStatus StartTime EndTime
1 1 1 pass

2 1 2 fail

3 1 3


4 2 2



  • DevOps_Build_Stage Table
BuildID StageIndex Status Detail StartTime EndTime
1 1 notrun {"url":"http://***"} 14000000
1 2 notrun



1 3 notrun



2 4 pass


2 5 fail


3 6 pass


3 7 pass


3 8 running


4 9 notrun


4 10 notrun


API-Spec

File:DevOps_API_SPEC.pdf

DevOps Prototyping

WISE-PaaS 2.0 Test Spec

Integration