Difference between revisions of "WISE-PaaS DevOps"
From ESS-WIKI
(31 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | + | [Introduction] | |
+ | == DevOps Cloud == | ||
+ | === DataBase === | ||
− | == | + | *<span style="color:#FF0000;">Product Table</span> |
+ | |||
+ | {| border="1" cellspacing="1" cellpadding="1" style="width:100px;" | ||
+ | |- | ||
+ | ! scope="col" | ProductID | ||
+ | ! scope="col" | ProductName | ||
+ | ! scope="col" | isActive | ||
+ | |- | ||
+ | | 1 | ||
+ | | UShop | ||
+ | | 1 | ||
+ | |- | ||
+ | | 2 | ||
+ | | RMM | ||
+ | | 1 | ||
+ | |- | ||
+ | | 3 | ||
+ | | ILPS | ||
+ | | 1 | ||
+ | |} | ||
+ | |||
+ | |||
+ | |||
+ | *<span style="color:#FF0000;">StageType Table</span> | ||
+ | |||
+ | {| border="1" cellspacing="1" cellpadding="1" style="width:500px;" | ||
+ | |- | ||
+ | ! scope="col" | TypeID | ||
+ | ! scope="col" | TypeName | ||
+ | ! scope="col" | Description | ||
+ | ! scope="col" | isActive | ||
+ | |- | ||
+ | | 1 | ||
+ | | Prepare | ||
+ | | 准备<br/> | ||
+ | | 1 | ||
+ | |- | ||
+ | | 2 | ||
+ | | CodeAnalysis<br/> | ||
+ | | 对代码进行静态检查<br/> | ||
+ | | 1 | ||
+ | |- | ||
+ | | 3 | ||
+ | | Build<br/> | ||
+ | | 编译<br/> | ||
+ | | 1 | ||
+ | |- | ||
+ | | 4 | ||
+ | | Test<br/> | ||
+ | | 测试<br/> | ||
+ | | 1 | ||
+ | |- | ||
+ | | 5 | ||
+ | | Deploy<br/> | ||
+ | | 部署<br/> | ||
+ | | 1 | ||
+ | |- | ||
+ | | 6 | ||
+ | | Other | ||
+ | | 其他类别 | ||
+ | | 1 | ||
+ | |} | ||
+ | |||
+ | *<span style="color:#FF0000;">Stage Table</span> | ||
+ | |||
+ | {| border="1" cellspacing="1" cellpadding="1" style="width:500px;" | ||
+ | |- | ||
+ | ! scope="col" | StageID<br/> | ||
+ | ! scope="col" | StageName<br/> | ||
+ | ! scope="col" | TypeID<br/> | ||
+ | ! scope="col" | ProductID<br/> | ||
+ | ! scope="col" | Platform<br/> | ||
+ | ! scope="col" | SourceCode<br/> | ||
+ | ! scope="col" | EntryProgram<br/> | ||
+ | ! scope="col" | Parameters<br/> | ||
+ | ! scope="col" | isActive | ||
+ | |- | ||
+ | | 1 | ||
+ | | C#代码检查<br/> | ||
+ | | 2 | ||
+ | | 0 | ||
+ | | dockerimage<br/> | ||
+ | | giturl<br/> | ||
+ | | analysis.sh<br/> | ||
+ | | {"paraName1":"","paraName2":""}<br/> | ||
+ | | 1 | ||
+ | |- | ||
+ | | 2 | ||
+ | | Java代码检查<br/> | ||
+ | | 2 | ||
+ | | 0 | ||
+ | | dockerimage<br/> | ||
+ | | giturl<br/> | ||
+ | | analysis.sh<br/> | ||
+ | | {"paraName1":"","paraName2":""}<br/> | ||
+ | | 1 | ||
+ | |- | ||
+ | | 3 | ||
+ | | Build<br/> | ||
+ | | 3 | ||
+ | | 1 | ||
+ | | dockerimage<br/> | ||
+ | | giturl<br/> | ||
+ | | build.sh<br/> | ||
+ | | {"paraName1":"","paraName2":""}<br/> | ||
+ | | 1 | ||
+ | |- | ||
+ | | 4 | ||
+ | | APITest<br/> | ||
+ | | 4 | ||
+ | | 1 | ||
+ | | node(Linux)<br/> | ||
+ | | giturl<br/> | ||
+ | | apitest.py<br/> | ||
+ | | {"paraName1":"value1","paraName2":"value4"}<br/> | ||
+ | | 1 | ||
+ | |- | ||
+ | | 5 | ||
+ | | UITest<br/> | ||
+ | | 4 | ||
+ | | 1 | ||
+ | | node(windows)<br/> | ||
+ | | giturl<br/> | ||
+ | | uitest.exe<br/> | ||
+ | | {"paraName1":"value1","paraName2":"value5"}<br/> | ||
+ | | 1 | ||
+ | |} | ||
+ | |||
+ | |||
+ | |||
+ | *<span style="color:#FF0000;">DevOpsPlan Table</span> | ||
+ | |||
+ | {| border="1" cellspacing="1" cellpadding="1" style="width:500px;" | ||
+ | |- | ||
+ | ! scope="col" | DevOpsPlanID<br/> | ||
+ | ! scope="col" | PlanName<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" | PreStageIDs<br/> | ||
+ | ! scope="col" | isSync | ||
+ | ! scope="col" | Parameter<br/> | ||
+ | |- | ||
+ | | 1 | ||
+ | | 1 | ||
+ | | 2 | ||
+ | | 0 | ||
+ | | 1 | ||
+ | | {"paraName1":"1","paraName2":"2"}<br/> | ||
+ | |- | ||
+ | | 2 | ||
+ | | 1 | ||
+ | | 3 | ||
+ | | 2 | ||
+ | | 1 | ||
+ | | {"paraName1":"1","paraName2":"2"}<br/> | ||
+ | |- | ||
+ | | 3 | ||
+ | | 1 | ||
+ | | 4 | ||
+ | | 2,3 | ||
+ | | 0 | ||
+ | | {"paraName1":"value1","paraName2":"value4"}<br/> | ||
+ | |- | ||
+ | | 4 | ||
+ | | 2 | ||
+ | | 1 | ||
+ | | 0 | ||
+ | | 1 | ||
+ | | <br/> | ||
+ | |- | ||
+ | | 5 | ||
+ | | 2 | ||
+ | | 2 | ||
+ | | 1 | ||
+ | | 0 | ||
+ | | <br/> | ||
+ | |- | ||
+ | | 6 | ||
+ | | 3 | ||
+ | | 1 | ||
+ | | 0 | ||
+ | | 1 | ||
+ | | <br/> | ||
+ | |- | ||
+ | | 7 | ||
+ | | 3 | ||
+ | | 2 | ||
+ | | 0 | ||
+ | | 1 | ||
+ | | <br/> | ||
+ | |- | ||
+ | | 8 | ||
+ | | 3 | ||
+ | | 3 | ||
+ | | 1 | ||
+ | | 0 | ||
+ | | <br/> | ||
+ | |} | ||
+ | |||
+ | *<span style="color:#FF0000;">DevOpsBuild Table</span> | ||
+ | |||
+ | {| border="1" cellspacing="1" cellpadding="1" style="width:500px;" | ||
+ | |- | ||
+ | ! scope="col" | BuildID | ||
+ | ! scope="col" | BuildIndex<br/> | ||
+ | ! scope="col" | DevOpsPlanID<br/> | ||
+ | ! scope="col" | BuildStatus | ||
+ | ! scope="col" | StartTime | ||
+ | ! scope="col" | EndTime | ||
+ | |- | ||
+ | | 1 | ||
+ | | 1 | ||
+ | | 1 | ||
+ | | pass | ||
+ | | <br/> | ||
+ | | <br/> | ||
+ | |- | ||
+ | | 2 | ||
+ | | 1 | ||
+ | | 2 | ||
+ | | fail | ||
+ | | <br/> | ||
+ | | <br/> | ||
+ | |- | ||
+ | | 3 | ||
+ | | 1 | ||
+ | | 3 | ||
+ | | <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 | ||
+ | | notrun | ||
+ | | {"url":"[http://*** http://***]"} | ||
+ | | 14000000 | ||
+ | | <br/> | ||
+ | |- | ||
+ | | 1 | ||
+ | | 2 | ||
+ | | notrun<br/> | ||
+ | | <br/> | ||
+ | | <br/> | ||
+ | | <br/> | ||
+ | |- | ||
+ | | 1 | ||
+ | | 3 | ||
+ | | notrun<br/> | ||
+ | | <br/> | ||
+ | | <br/> | ||
+ | | <br/> | ||
+ | |- | ||
+ | | 2 | ||
+ | | 4 | ||
+ | | pass | ||
+ | | <br/> | ||
+ | | <br/> | ||
+ | | <br/> | ||
+ | |- | ||
+ | | 2 | ||
+ | | 5 | ||
+ | | fail | ||
+ | | <br/> | ||
+ | | <br/> | ||
+ | | <br/> | ||
+ | |- | ||
+ | | 3 | ||
+ | | 6 | ||
+ | | pass | ||
+ | | <br/> | ||
+ | | <br/> | ||
+ | | <br/> | ||
+ | |- | ||
+ | | 3 | ||
+ | | 7 | ||
+ | | pass | ||
+ | | <br/> | ||
+ | | <br/> | ||
+ | | <br/> | ||
+ | |- | ||
+ | | 3 | ||
+ | | 8 | ||
+ | | running | ||
+ | | <br/> | ||
+ | | <br/> | ||
+ | | <br/> | ||
+ | |- | ||
+ | | 4 | ||
+ | | 9 | ||
+ | | notrun | ||
+ | | <br/> | ||
+ | | <br/> | ||
+ | | <br/> | ||
+ | |- | ||
+ | | 4 | ||
+ | | 10 | ||
+ | | notrun | ||
+ | | <br/> | ||
+ | | <br/> | ||
+ | | <br/> | ||
+ | |} | ||
+ | |||
+ | === API-Spec === | ||
+ | |||
+ | [[:File:DevOps_API_SPEC.pdf]] | ||
+ | |||
+ | == DevOps Prototyping == | ||
+ | |||
+ | == [[WISE-PaaS_2.0_Test|WISE-PaaS 2.0 Test Spec]] == | ||
+ | |||
+ | == Integration == |
Latest revision as of 04: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 | |
|
|