33# Virtual Reality & Immersive Visualisation Group.
44# -------------------------------------------------------------------------------
55
6+ spec :
7+ inputs :
8+ unreal_version :
9+ description : The Unreal Engine version in the form of "major.minor"
10+ type : string
11+ regex : \d+\.\d+
12+ default : " 5.4"
13+ build_type :
14+ description : The game build type.
15+ type : string
16+ options : ["DebugGame", "Shipping"]
17+ default : " DebugGame"
18+ number_of_old_versions :
19+ description : How many successful pipeline builds of this branch should be stored on the cluster.
20+ type : number
21+ default : 3
22+ custom_ndisplay_config :
23+ description : Custom nDisplay config stored on the cluster filesystem.
24+ type : string
25+ default : " "
26+
27+ ---
28+
29+
630# The include file can be change to either be removed or reference a specific commit.
731
832include :
@@ -41,8 +65,9 @@ include:
4165# Use the CUSTOM_NDISPLAY_CONFIG variable in case you need a custom ndisplay config. These are always located in /home/vrdemo/configs/ndisplay.
4266
4367variables :
44- UNREAL_VERSION : " 5.4"
45- CUSTOM_NDISPLAY_CONFIG : " aixcave_5_4.ndisplay"
68+ UNREAL_VERSION : $[[ inputs.unreal_version ]]
69+ NUMBER_OF_OLD_VERSIONS : $[[ inputs.number_of_old_versions ]]
70+ CUSTOM_NDISPLAY_CONFIG : $[[ inputs.custom_ndisplay_config ]]
4671
4772stages :
4873 - analyze
@@ -113,7 +138,7 @@ Build_Windows:
113138 GIT_STRATEGY : none
114139 GIT_CHECKOUT : " false"
115140 # CLIENT_CONFIG: "Shipping"
116- CLIENT_CONFIG : " DebugGame "
141+ CLIENT_CONFIG : $[[ inputs.build_type ]]
117142 needs :
118143 - job : " Generate_Project"
119144 artifacts : true
@@ -134,7 +159,7 @@ Build_Linux:
134159 GIT_STRATEGY : none
135160 GIT_CHECKOUT : " false"
136161 # CLIENT_CONFIG: "Shipping"
137- CLIENT_CONFIG : " DebugGame "
162+ CLIENT_CONFIG : $[[ inputs.build_type ]]
138163 needs :
139164 - job : " Generate_Project"
140165 artifacts : true
@@ -146,16 +171,7 @@ Build_Linux_Without_Cluster:
146171 needs :
147172 - job : " Generate_Project_Without_Cluster"
148173 artifacts : true
149-
150- # Deploys to vrdev
151- .Deploy_Windows :
152- rules :
153- - if : $CI_PIPELINE_SOURCE == "web"
154- - if : $CI_PIPELINE_SOURCE == "schedule"
155- extends : .Deploy_VRDev_
156- needs :
157- - job : " Build_Windows"
158- artifacts : true
174+
159175
160176# Deploys to vrdemo instead of av006de. Use extends: .Deploy_CAVE_ to deploy to legacy av006de
161177Deploy_CAVE :
0 commit comments