Difference between revisions of "WISE-PaaS DevOps"
From ESS-WIKI
(One intermediate revision by the same user not shown) | |||
Line 164: | Line 164: | ||
{| border="1" cellspacing="1" cellpadding="1" style="width:500px;" | {| border="1" cellspacing="1" cellpadding="1" style="width:500px;" | ||
|- | |- | ||
+ | ! scope="col" | StageIndex | ||
! scope="col" | DevOpsPlanID<br/> | ! scope="col" | DevOpsPlanID<br/> | ||
! scope="col" | StageID<br/> | ! scope="col" | StageID<br/> | ||
Line 170: | Line 171: | ||
! scope="col" | Parameter<br/> | ! scope="col" | Parameter<br/> | ||
|- | |- | ||
+ | | 1 | ||
| 1 | | 1 | ||
| 2 | | 2 | ||
Line 176: | Line 178: | ||
| {"paraName1":"1","paraName2":"2"}<br/> | | {"paraName1":"1","paraName2":"2"}<br/> | ||
|- | |- | ||
+ | | 2 | ||
| 1 | | 1 | ||
| 3 | | 3 | ||
Line 182: | Line 185: | ||
| {"paraName1":"1","paraName2":"2"}<br/> | | {"paraName1":"1","paraName2":"2"}<br/> | ||
|- | |- | ||
+ | | 3 | ||
| 1 | | 1 | ||
| 4 | | 4 | ||
Line 188: | Line 192: | ||
| {"paraName1":"value1","paraName2":"value4"}<br/> | | {"paraName1":"value1","paraName2":"value4"}<br/> | ||
|- | |- | ||
+ | | 4 | ||
| 2 | | 2 | ||
| 1 | | 1 | ||
Line 194: | Line 199: | ||
| <br/> | | <br/> | ||
|- | |- | ||
+ | | 5 | ||
| 2 | | 2 | ||
| 2 | | 2 | ||
Line 200: | Line 206: | ||
| <br/> | | <br/> | ||
|- | |- | ||
+ | | 6 | ||
| 3 | | 3 | ||
| 1 | | 1 | ||
Line 206: | Line 213: | ||
| <br/> | | <br/> | ||
|- | |- | ||
+ | | 7 | ||
| 3 | | 3 | ||
| 2 | | 2 | ||
Line 212: | Line 220: | ||
| <br/> | | <br/> | ||
|- | |- | ||
+ | | 8 | ||
| 3 | | 3 | ||
| 3 | | 3 | ||
Line 266: | Line 275: | ||
|- | |- | ||
! scope="col" | BuildID | ! scope="col" | BuildID | ||
− | ! scope="col" | | + | ! scope="col" | StageIndex |
− | |||
! scope="col" | Status | ! scope="col" | Status | ||
! scope="col" | Detail | ! scope="col" | Detail | ||
Line 274: | Line 282: | ||
|- | |- | ||
| 1 | | 1 | ||
− | | | + | | 1 |
− | |||
| notrun | | notrun | ||
| {"url":"[http://*** http://***]"} | | {"url":"[http://*** http://***]"} | ||
Line 282: | Line 289: | ||
|- | |- | ||
| 1 | | 1 | ||
− | | | + | | 2 |
− | |||
| notrun<br/> | | notrun<br/> | ||
| <br/> | | <br/> | ||
Line 290: | Line 296: | ||
|- | |- | ||
| 1 | | 1 | ||
− | | | + | | 3 |
− | |||
| notrun<br/> | | notrun<br/> | ||
| <br/> | | <br/> | ||
Line 298: | Line 303: | ||
|- | |- | ||
| 2 | | 2 | ||
− | | | + | | 4 |
− | |||
| pass | | pass | ||
| <br/> | | <br/> | ||
Line 306: | Line 310: | ||
|- | |- | ||
| 2 | | 2 | ||
− | | | + | | 5 |
− | |||
| fail | | fail | ||
| <br/> | | <br/> | ||
Line 314: | Line 317: | ||
|- | |- | ||
| 3 | | 3 | ||
− | | | + | | 6 |
− | |||
| pass | | pass | ||
| <br/> | | <br/> | ||
Line 322: | Line 324: | ||
|- | |- | ||
| 3 | | 3 | ||
− | | | + | | 7 |
− | |||
| pass | | pass | ||
| <br/> | | <br/> | ||
Line 330: | Line 331: | ||
|- | |- | ||
| 3 | | 3 | ||
− | | | + | | 8 |
− | |||
| running | | running | ||
| <br/> | | <br/> | ||
Line 338: | Line 338: | ||
|- | |- | ||
| 4 | | 4 | ||
− | | | + | | 9 |
− | |||
| notrun | | notrun | ||
| <br/> | | <br/> | ||
Line 346: | Line 345: | ||
|- | |- | ||
| 4 | | 4 | ||
− | | | + | | 10 |
− | |||
| notrun | | notrun | ||
| <br/> | | <br/> |
Latest revision as of 03:55, 19 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
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 | |
|
|