Difference between revisions of "WISE-PaaS DevOps"
From ESS-WIKI
Line 139: | Line 139: | ||
{| border="1" cellspacing="1" cellpadding="1" style="width:500px;" | {| border="1" cellspacing="1" cellpadding="1" style="width:500px;" | ||
|- | |- | ||
− | |||
! scope="col" | DevOpsPlanID<br/> | ! scope="col" | DevOpsPlanID<br/> | ||
! scope="col" | PlanName<br/> | ! scope="col" | PlanName<br/> | ||
! scope="col" | ProductID<br/> | ! scope="col" | ProductID<br/> | ||
+ | ! scope="col" | isActive<br/> | ||
+ | |- | ||
+ | | 1 | ||
+ | | UShopApi<br/> | ||
+ | | 1 | ||
+ | | 1 | ||
+ | |- | ||
+ | | 2 | ||
+ | | UShopMsgPro<br/> | ||
+ | | 1 | ||
+ | | 1 | ||
+ | |- | ||
+ | | 3 | ||
+ | | RMMApi<br/> | ||
+ | | 2 | ||
+ | | 1 | ||
+ | |} | ||
+ | |||
+ | *<span style="color:#FF0000;">DevOps_Plan_Stage Table</span> | ||
+ | |||
+ | {| border="1" cellspacing="1" cellpadding="1" style="width:500px;" | ||
+ | |- | ||
+ | ! scope="col" | ID | ||
+ | ! scope="col" | DevOpsPlanID<br/> | ||
! scope="col" | StageID<br/> | ! scope="col" | StageID<br/> | ||
! scope="col" | PreStageIDs<br/> | ! scope="col" | PreStageIDs<br/> | ||
! scope="col" | isSync | ! scope="col" | isSync | ||
! scope="col" | Parameter<br/> | ! scope="col" | Parameter<br/> | ||
− | |||
|- | |- | ||
| 1 | | 1 | ||
− | |||
− | |||
| 1 | | 1 | ||
| 2 | | 2 | ||
Line 157: | Line 177: | ||
| 1 | | 1 | ||
| {"paraName1":"1","paraName2":"2"}<br/> | | {"paraName1":"1","paraName2":"2"}<br/> | ||
− | |||
|- | |- | ||
| 2 | | 2 | ||
− | |||
− | |||
| 1 | | 1 | ||
| 3 | | 3 | ||
Line 167: | Line 184: | ||
| 1 | | 1 | ||
| {"paraName1":"1","paraName2":"2"}<br/> | | {"paraName1":"1","paraName2":"2"}<br/> | ||
− | |||
|- | |- | ||
| 3 | | 3 | ||
− | |||
− | |||
| 1 | | 1 | ||
| 4 | | 4 | ||
Line 177: | Line 191: | ||
| 0 | | 0 | ||
| {"paraName1":"value1","paraName2":"value4"}<br/> | | {"paraName1":"value1","paraName2":"value4"}<br/> | ||
− | |||
|- | |- | ||
| 4 | | 4 | ||
| 2 | | 2 | ||
− | |||
− | |||
| 1 | | 1 | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
− | |||
| <br/> | | <br/> | ||
|- | |- | ||
| 5 | | 5 | ||
| 2 | | 2 | ||
− | |||
− | |||
| 2 | | 2 | ||
| 1 | | 1 | ||
| 0 | | 0 | ||
− | |||
| <br/> | | <br/> | ||
|- | |- | ||
| 6 | | 6 | ||
| 3 | | 3 | ||
− | |||
− | |||
| 1 | | 1 | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
− | |||
| <br/> | | <br/> | ||
|- | |- | ||
| 7 | | 7 | ||
| 3 | | 3 | ||
− | |||
− | |||
| 2 | | 2 | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
− | |||
| <br/> | | <br/> | ||
|- | |- | ||
| 8 | | 8 | ||
| 3 | | 3 | ||
− | |||
− | |||
| 3 | | 3 | ||
| 1 | | 1 | ||
| 0 | | 0 | ||
− | |||
| <br/> | | <br/> | ||
|} | |} | ||
Line 272: | Line 270: | ||
− | *<span style="color:#FF0000;"> | + | *<span style="color:#FF0000;">DevOps_Build_Stage Table</span> |
{| border="1" cellspacing="1" cellpadding="1" style="width:500px;" | {| border="1" cellspacing="1" cellpadding="1" style="width:500px;" |
Revision as of 03:56, 18 April 2017
[Introduction]
Contents
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
ID | 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
ID | BuildID | StageName | Status | Detail | StartTime | EndTime |
---|---|---|---|---|---|---|
1 | 1 | Java代码检查 |
notrun | {"url":"http://***"} | 14000000 | |
2 | 1 | Build |
notrun |
|
|
|
3 | 1 | APITest |
notrun |
|
|
|
4 | 2 | C#代码检查 |
pass | |
|
|
5 | 2 | Java代码检查 |
fail | |
|
|
6 | 3 | C#代码检查 |
pass | |
|
|
7 | 3 | Java代码检查 |
pass | |
|
|
8 | 3 | Build |
running | |
|
|
9 | 4 | C#代码检查 |
notrun | |
|
|
10 | 4 | Java代码检查 |
notrun | |
|
|