Difference between revisions of "WISE-PaaS DevOps"
From ESS-WIKI
| (18 intermediate revisions by 2 users not shown) | |||
| Line 3: | Line 3: | ||
== DevOps Cloud == | == DevOps Cloud == | ||
| − | === <span style="color:#FF0000;">Product Table</span> | + | === DataBase === |
| + | |||
| + | *<span style="color:#FF0000;">Product Table</span> | ||
{| border="1" cellspacing="1" cellpadding="1" style="width:100px;" | {| border="1" cellspacing="1" cellpadding="1" style="width:100px;" | ||
| Line 9: | Line 11: | ||
! scope="col" | ProductID | ! scope="col" | ProductID | ||
! scope="col" | ProductName | ! scope="col" | ProductName | ||
| + | ! scope="col" | isActive | ||
|- | |- | ||
| 1 | | 1 | ||
| UShop | | UShop | ||
| + | | 1 | ||
|- | |- | ||
| 2 | | 2 | ||
| RMM | | RMM | ||
| + | | 1 | ||
|- | |- | ||
| 3 | | 3 | ||
| ILPS | | ILPS | ||
| + | | 1 | ||
|} | |} | ||
| − | + | *<span style="color:#FF0000;">StageType Table</span> | |
{| border="1" cellspacing="1" cellpadding="1" style="width:500px;" | {| border="1" cellspacing="1" cellpadding="1" style="width:500px;" | ||
| Line 57: | Line 63: | ||
|- | |- | ||
| 6 | | 6 | ||
| − | | | + | | Other |
| − | | | + | | 其他类别 |
| 1 | | 1 | ||
|} | |} | ||
| − | + | *<span style="color:#FF0000;">Stage Table</span> | |
{| border="1" cellspacing="1" cellpadding="1" style="width:500px;" | {| border="1" cellspacing="1" cellpadding="1" style="width:500px;" | ||
| Line 69: | Line 75: | ||
! scope="col" | StageName<br/> | ! scope="col" | StageName<br/> | ||
! scope="col" | TypeID<br/> | ! scope="col" | TypeID<br/> | ||
| − | ! scope="col" | | + | ! scope="col" | ProductID<br/> |
! scope="col" | Platform<br/> | ! scope="col" | Platform<br/> | ||
! scope="col" | SourceCode<br/> | ! scope="col" | SourceCode<br/> | ||
| Line 124: | Line 130: | ||
| uitest.exe<br/> | | uitest.exe<br/> | ||
| {"paraName1":"value1","paraName2":"value5"}<br/> | | {"paraName1":"value1","paraName2":"value5"}<br/> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| 1 | | 1 | ||
|} | |} | ||
| Line 139: | Line 135: | ||
| − | + | *<span style="color:#FF0000;">DevOpsPlan Table</span> | |
{| 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" | StageIndex | ||
| + | ! scope="col" | DevOpsPlanID<br/> | ||
! scope="col" | StageID<br/> | ! scope="col" | StageID<br/> | ||
! scope="col" | PreStageIDs<br/> | ! scope="col" | PreStageIDs<br/> | ||
| Line 153: | Line 172: | ||
|- | |- | ||
| 1 | | 1 | ||
| − | |||
| − | |||
| 1 | | 1 | ||
| 2 | | 2 | ||
| Line 162: | Line 179: | ||
|- | |- | ||
| 2 | | 2 | ||
| − | |||
| − | |||
| 1 | | 1 | ||
| 3 | | 3 | ||
| Line 171: | Line 186: | ||
|- | |- | ||
| 3 | | 3 | ||
| − | |||
| − | |||
| 1 | | 1 | ||
| 4 | | 4 | ||
| Line 181: | Line 194: | ||
| 4 | | 4 | ||
| 2 | | 2 | ||
| − | |||
| − | |||
| 1 | | 1 | ||
| 0 | | 0 | ||
| Line 190: | Line 201: | ||
| 5 | | 5 | ||
| 2 | | 2 | ||
| − | |||
| − | |||
| 2 | | 2 | ||
| 1 | | 1 | ||
| Line 199: | Line 208: | ||
| 6 | | 6 | ||
| 3 | | 3 | ||
| − | |||
| − | |||
| 1 | | 1 | ||
| 0 | | 0 | ||
| Line 208: | Line 215: | ||
| 7 | | 7 | ||
| 3 | | 3 | ||
| − | |||
| − | |||
| 2 | | 2 | ||
| 0 | | 0 | ||
| Line 217: | Line 222: | ||
| 8 | | 8 | ||
| 3 | | 3 | ||
| − | |||
| − | |||
| 3 | | 3 | ||
| 1 | | 1 | ||
| Line 225: | Line 228: | ||
|} | |} | ||
| − | + | *<span style="color:#FF0000;">DevOpsBuild Table</span> | |
{| border="1" cellspacing="1" cellpadding="1" style="width:500px;" | {| border="1" cellspacing="1" cellpadding="1" style="width:500px;" | ||
|- | |- | ||
! scope="col" | BuildID | ! scope="col" | BuildID | ||
| − | ! scope="col" | BuildIndex | + | ! scope="col" | BuildIndex<br/> |
| − | ! scope="col" | DevOpsPlanID | + | ! scope="col" | DevOpsPlanID<br/> |
| − | ! scope="col" | | + | ! scope="col" | BuildStatus |
| − | ! scope="col" | | + | ! scope="col" | StartTime |
| − | ! scope="col" | | + | ! scope="col" | EndTime |
| − | |||
|- | |- | ||
| 1 | | 1 | ||
| 1 | | 1 | ||
| 1 | | 1 | ||
| − | | | + | | pass |
| − | | | + | | <br/> |
| − | | | + | | <br/> |
| − | |||
|- | |- | ||
| 2 | | 2 | ||
| 1 | | 1 | ||
| + | | 2 | ||
| + | | fail | ||
| + | | <br/> | ||
| + | | <br/> | ||
| + | |- | ||
| + | | 3 | ||
| 1 | | 1 | ||
| 3 | | 3 | ||
| − | |||
| <br/> | | <br/> | ||
| <br/> | | <br/> | ||
| + | | <br/> | ||
| + | |- | ||
| + | | 4 | ||
| + | | 2 | ||
| + | | 2 | ||
| + | | <br/> | ||
| + | | <br/> | ||
| + | | <br/> | ||
| + | |} | ||
| + | |||
| + | |||
| + | |||
| + | *<span style="color:#FF0000;">DevOps_Build_Stage Table</span> | ||
| + | |||
| + | {| border="1" cellspacing="1" cellpadding="1" style="width:500px;" | ||
| + | |- | ||
| + | ! scope="col" | BuildID | ||
| + | ! scope="col" | StageIndex | ||
| + | ! scope="col" | Status | ||
| + | ! scope="col" | Detail | ||
| + | ! scope="col" | StartTime | ||
| + | ! scope="col" | EndTime | ||
|- | |- | ||
| − | |||
| 1 | | 1 | ||
| 1 | | 1 | ||
| − | | | + | | notrun |
| + | | {"url":"[http://*** http://***]"} | ||
| + | | 14000000 | ||
| + | | <br/> | ||
| + | |- | ||
| + | | 1 | ||
| + | | 2 | ||
| notrun<br/> | | notrun<br/> | ||
| + | | <br/> | ||
| <br/> | | <br/> | ||
| <br/> | | <br/> | ||
|- | |- | ||
| − | |||
| 1 | | 1 | ||
| + | | 3 | ||
| + | | notrun<br/> | ||
| + | | <br/> | ||
| + | | <br/> | ||
| + | | <br/> | ||
| + | |- | ||
| 2 | | 2 | ||
| − | | | + | | 4 |
| pass | | pass | ||
| + | | <br/> | ||
| <br/> | | <br/> | ||
| <br/> | | <br/> | ||
|- | |- | ||
| + | | 2 | ||
| 5 | | 5 | ||
| − | |||
| − | |||
| − | |||
| fail | | fail | ||
| + | | <br/> | ||
| <br/> | | <br/> | ||
| <br/> | | <br/> | ||
|- | |- | ||
| + | | 3 | ||
| 6 | | 6 | ||
| − | |||
| − | |||
| − | |||
| pass | | pass | ||
| + | | <br/> | ||
| <br/> | | <br/> | ||
| <br/> | | <br/> | ||
|- | |- | ||
| + | | 3 | ||
| 7 | | 7 | ||
| − | |||
| − | |||
| − | |||
| pass | | pass | ||
| + | | <br/> | ||
| <br/> | | <br/> | ||
| <br/> | | <br/> | ||
|- | |- | ||
| + | | 3 | ||
| 8 | | 8 | ||
| − | |||
| − | |||
| − | |||
| running | | running | ||
| + | | <br/> | ||
| <br/> | | <br/> | ||
| <br/> | | <br/> | ||
|- | |- | ||
| + | | 4 | ||
| 9 | | 9 | ||
| − | |||
| − | |||
| − | |||
| notrun | | notrun | ||
| + | | <br/> | ||
| <br/> | | <br/> | ||
| <br/> | | <br/> | ||
|- | |- | ||
| + | | 4 | ||
| 10 | | 10 | ||
| − | |||
| − | |||
| − | |||
| notrun | | notrun | ||
| + | | <br/> | ||
| <br/> | | <br/> | ||
| <br/> | | <br/> | ||
|} | |} | ||
| + | |||
| + | === API-Spec === | ||
| + | |||
| + | [[:File:DevOps_API_SPEC.pdf]] | ||
== DevOps Prototyping == | == DevOps Prototyping == | ||
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 | |
|
|