From 5f585ba940c4293620ba446ec6000480aa4f2dab Mon Sep 17 00:00:00 2001 From: Kris Tabea Helwig <helwig@vr.rwth-aachen.de> Date: Tue, 27 May 2025 13:32:20 +0200 Subject: [PATCH] Introduces ci inputs --- shared_scripts.yml | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/shared_scripts.yml b/shared_scripts.yml index 48c8df9..e3996db 100644 --- a/shared_scripts.yml +++ b/shared_scripts.yml @@ -3,17 +3,36 @@ # Virtual Reality & Immersive Visualisation Group. #------------------------------------------------------------------------------- +spec: + inputs: + unreal_version: + description: The Unreal Engine version in the form of "major.minor" + type: string + regex: \d+\.\d+ + default: "5.5" + number_of_old_versions: + description: How many successful pipeline builds of this branch should be stored on the cluster. + type: number + default: 3 + custom_ndisplay_config: + description: Custom nDisplay config stored on the cluster filesystem. + type: string + default: "" + + +--- + variables: GIT_STRATEGY: none # we disable fetch, clone or checkout for every job GIT_CHECKOUT: "false" # as we only want to checkout and fetch in the preperation stage GIT_SUBMODULE_STRATEGY: "recursive" GIT_CLEAN_FLAGS: none GIT_DEPTH: "1" - NUMBER_OF_OLD_VERSIONS: 3 # number of old revisions to keep after the deploy + NUMBER_OF_OLD_VERSIONS: $[[ inputs.number_of_old_versions ]] # number of old revisions to keep after the deploy CLUSTER_ADDRESS: "ngm01.hpc.itc.rwth-aachen.de" # Needs to be ngm01 as all other nodes require MFA SHARED_META_URL: "https://git-ce.rwth-aachen.de/vr-vis/VR-Group/unreal-development/unreal-ci/-/raw/master/shared.meta" - UNREAL_VERSION: "5.3" - CUSTOM_NDISPLAY_CONFIG: "" + UNREAL_VERSION: $[[ inputs.unreal_version ]] + CUSTOM_NDISPLAY_CONFIG: $[[ inputs.custom_ndisplay_config ]] ##################################Generate Project################################## -- GitLab