Skip to content

Commit

Permalink
Improving RETORCH tool to provide Jenkinsfiles in generic projects
Browse files Browse the repository at this point in the history
  • Loading branch information
augustocristian committed Dec 10, 2023
1 parent a844667 commit bbda6e3
Show file tree
Hide file tree
Showing 41 changed files with 765 additions and 298 deletions.
239 changes: 121 additions & 118 deletions Jenkinsfile

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions retorchfiles/configurations/retorch-ciinfo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"agentCIName": "xretorch-agent",
"sut-wait-html": "<title>FullTeaching</title>",
"sut-location": "$WORKSPACE",
"docker-frontend-name": "https://full-teaching-",
"docker-frontend-port": "5000",
"external-binded-port": ""

}
28 changes: 28 additions & 0 deletions retorchfiles/configurations/retorch-info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"OpenViduMock": {
"dockerImageResource": [
{
"placeHolderId": "OpenViduImage",
"imageName": "eexit/mirror-http-server"
},
{
"placeHolderId": "mysqlImage",
"imageName": "mysql:5.7.21"
}
],
"testsBasePath": "./"
},
"generic": {
"dockerImageResource": [
{
"placeHolderId": "OpenViduImage",
"imageName": "openvidu/openvidu-server-kms:1.7.0"
},
{
"placeHolderId": "mysqlImage",
"imageName": "mysql:5.7.21"
}
],
"testsBasePath": "./"
}
}
17 changes: 17 additions & 0 deletions retorchfiles/envfiles/tjobc.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
testsBasePath=./
tjobname=tjobc
frontend_port=5000
retorchportj=5009
retorchportk=5010
retorchporth=5007
mysqlImage=mysql:5.7.21
retorchporti=5008
retorchportf=5005
retorchportg=5006
retorchportd=5003
retorchporte=5004
retorchportb=5001
retorchportc=5002
retorchporta=5000
OpenViduImage=eexit/mirror-http-server

17 changes: 17 additions & 0 deletions retorchfiles/envfiles/tjobd.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
testsBasePath=./
tjobname=tjobd
frontend_port=5000
retorchportj=5020
retorchportk=5021
retorchporth=5018
mysqlImage=mysql:5.7.21
retorchporti=5019
retorchportf=5016
retorchportg=5017
retorchportd=5014
retorchporte=5015
retorchportb=5012
retorchportc=5013
retorchporta=5011
OpenViduImage=eexit/mirror-http-server

17 changes: 17 additions & 0 deletions retorchfiles/envfiles/tjobe.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
testsBasePath=./
tjobname=tjobe
frontend_port=5000
retorchportj=5031
retorchportk=5032
retorchporth=5029
mysqlImage=mysql:5.7.21
retorchporti=5030
retorchportf=5027
retorchportg=5028
retorchportd=5025
retorchporte=5026
retorchportb=5023
retorchportc=5024
retorchporta=5022
OpenViduImage=openvidu/openvidu-server-kms:1.7.0

17 changes: 17 additions & 0 deletions retorchfiles/envfiles/tjobf.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
testsBasePath=./
tjobname=tjobf
frontend_port=5000
retorchportj=5042
retorchportk=5043
retorchporth=5040
mysqlImage=mysql:5.7.21
retorchporti=5041
retorchportf=5038
retorchportg=5039
retorchportd=5036
retorchporte=5037
retorchportb=5034
retorchportc=5035
retorchporta=5033
OpenViduImage=eexit/mirror-http-server

17 changes: 17 additions & 0 deletions retorchfiles/envfiles/tjobg.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
testsBasePath=./
tjobname=tjobg
frontend_port=5000
retorchportj=5053
retorchportk=5054
retorchporth=5051
mysqlImage=mysql:5.7.21
retorchporti=5052
retorchportf=5049
retorchportg=5050
retorchportd=5047
retorchporte=5048
retorchportb=5045
retorchportc=5046
retorchporta=5044
OpenViduImage=eexit/mirror-http-server

17 changes: 17 additions & 0 deletions retorchfiles/envfiles/tjobh.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
testsBasePath=./
tjobname=tjobh
frontend_port=5000
retorchportj=5064
retorchportk=5065
retorchporth=5062
mysqlImage=mysql:5.7.21
retorchporti=5063
retorchportf=5060
retorchportg=5061
retorchportd=5058
retorchporte=5059
retorchportb=5056
retorchportc=5057
retorchporta=5055
OpenViduImage=eexit/mirror-http-server

17 changes: 17 additions & 0 deletions retorchfiles/envfiles/tjobi.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
testsBasePath=./
tjobname=tjobi
frontend_port=5000
retorchportj=5075
retorchportk=5076
retorchporth=5073
mysqlImage=mysql:5.7.21
retorchporti=5074
retorchportf=5071
retorchportg=5072
retorchportd=5069
retorchporte=5070
retorchportb=5067
retorchportc=5068
retorchporta=5066
OpenViduImage=eexit/mirror-http-server

17 changes: 17 additions & 0 deletions retorchfiles/envfiles/tjobj.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
testsBasePath=./
tjobname=tjobj
frontend_port=5000
retorchportj=5086
retorchportk=5087
retorchporth=5084
mysqlImage=mysql:5.7.21
retorchporti=5085
retorchportf=5082
retorchportg=5083
retorchportd=5080
retorchporte=5081
retorchportb=5078
retorchportc=5079
retorchporta=5077
OpenViduImage=eexit/mirror-http-server

17 changes: 17 additions & 0 deletions retorchfiles/envfiles/tjobk.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
testsBasePath=./
tjobname=tjobk
frontend_port=5000
retorchportj=5097
retorchportk=5098
retorchporth=5095
mysqlImage=mysql:5.7.21
retorchporti=5096
retorchportf=5093
retorchportg=5094
retorchportd=5091
retorchporte=5092
retorchportb=5089
retorchportc=5090
retorchporta=5088
OpenViduImage=eexit/mirror-http-server

17 changes: 17 additions & 0 deletions retorchfiles/envfiles/tjobl.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
testsBasePath=./
tjobname=tjobl
frontend_port=5000
retorchportj=5108
retorchportk=5109
retorchporth=5106
mysqlImage=mysql:5.7.21
retorchporti=5107
retorchportf=5104
retorchportg=5105
retorchportd=5102
retorchporte=5103
retorchportb=5100
retorchportc=5101
retorchporta=5099
OpenViduImage=eexit/mirror-http-server

17 changes: 17 additions & 0 deletions retorchfiles/envfiles/tjobm.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
testsBasePath=./
tjobname=tjobm
frontend_port=5000
retorchportj=5119
retorchportk=5120
retorchporth=5117
mysqlImage=mysql:5.7.21
retorchporti=5118
retorchportf=5115
retorchportg=5116
retorchportd=5113
retorchporte=5114
retorchportb=5111
retorchportc=5112
retorchporta=5110
OpenViduImage=openvidu/openvidu-server-kms:1.7.0

17 changes: 17 additions & 0 deletions retorchfiles/envfiles/tjobn.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
testsBasePath=./
tjobname=tjobn
frontend_port=5000
retorchportj=5130
retorchportk=5131
retorchporth=5128
mysqlImage=mysql:5.7.21
retorchporti=5129
retorchportf=5126
retorchportg=5127
retorchportd=5124
retorchporte=5125
retorchportb=5122
retorchportc=5123
retorchporta=5121
OpenViduImage=eexit/mirror-http-server

130 changes: 130 additions & 0 deletions retorchfiles/resources/FullTeachingSystemResources.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
{
"Configuration": {
"hierarchyParent": [
"Course"
],
"replaceable": [],
"elasticityModel": {
"elasticityID": "elasModelConfiguration",
"elasticity": 40,
"elasticityCost": 15.0
},
"resourceType": "LOGICAL",
"resourceID": "Configuration"
},
"OpenViduMock": {
"hierarchyParent": [
"OpenVidu"
],
"replaceable": [],
"elasticityModel": {
"elasticityID": "elasModelOpenViduMock",
"elasticity": 30,
"elasticityCost": 10.0
},
"resourceType": "LOGICAL",
"resourceID": "OpenViduMock"
},
"OpenVidu": {
"hierarchyParent": [],
"replaceable": [],
"elasticityModel": {
"elasticityID": "elasModelOpenVidu",
"elasticity": 1,
"elasticityCost": 300.0
},
"resourceType": "LOGICAL",
"resourceID": "OpenVidu"
},
"Course": {
"hierarchyParent": [
"MySQL"
],
"replaceable": [],
"elasticityModel": {
"elasticityID": "elasModelCourse",
"elasticity": 5,
"elasticityCost": 100.0
},
"resourceType": "LOGICAL",
"resourceID": "Course"
},
"Information": {
"hierarchyParent": [
"Course"
],
"replaceable": [],
"elasticityModel": {
"elasticityID": "elasModelInformation",
"elasticity": 20,
"elasticityCost": 15.0
},
"resourceType": "LOGICAL",
"resourceID": "Information"
},
"Files": {
"hierarchyParent": [
"Course"
],
"replaceable": [],
"elasticityModel": {
"elasticityID": "elasModelFiles",
"elasticity": 20,
"elasticityCost": 15.0
},
"resourceType": "LOGICAL",
"resourceID": "Files"
},
"Attenders": {
"hierarchyParent": [
"Course"
],
"replaceable": [],
"elasticityModel": {
"elasticityID": "elasModelAttenders",
"elasticity": 20,
"elasticityCost": 15.0
},
"resourceType": "LOGICAL",
"resourceID": "Attenders"
},
"LoginService": {
"hierarchyParent": [
"MySQL"
],
"replaceable": [],
"elasticityModel": {
"elasticityID": "elasModelLoginService",
"elasticity": 5,
"elasticityCost": 30.0
},
"resourceType": "LOGICAL",
"resourceID": "LoginService"
},
"Session": {
"hierarchyParent": [
"Course"
],
"replaceable": [],
"elasticityModel": {
"elasticityID": "elasModelSession",
"elasticity": 20,
"elasticityCost": 15.0
},
"resourceType": "LOGICAL",
"resourceID": "Session"
},
"Forum": {
"hierarchyParent": [
"Course"
],
"replaceable": [],
"elasticityModel": {
"elasticityID": "elasModelForum",
"elasticity": 20,
"elasticityCost": 15.0
},
"resourceType": "LOGICAL",
"resourceID": "Forum"
}
}
5 changes: 0 additions & 5 deletions retorchfiles/retorchdockercomposesenvfiles/tjobc.env

This file was deleted.

5 changes: 0 additions & 5 deletions retorchfiles/retorchdockercomposesenvfiles/tjobd.env

This file was deleted.

Loading

0 comments on commit bbda6e3

Please sign in to comment.