File tree Expand file tree Collapse file tree
apps/faf-legacy-deployment/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,11 +5,13 @@ metadata:
55 labels :
66 app : faf-deploy-coop
77data :
8- PATCH_VERSION : " 66 "
8+ PATCH_VERSION : " 64 "
99 DATABASE_HOST : " mariadb"
1010 DATABASE_NAME : " faf_lobby"
11- "deploy-coop.py" : |-
12- {{ tpl ( .Files.Get "scripts/deploy-coop.py" ) . | indent 4 }}
11+ "build.gradle.kts" : |-
12+ {{ tpl ( .Files.Get "scripts/build.gradle.kts" ) . | indent 4 }}
13+ "CoopDeployer.kt" : |-
14+ {{ tpl ( .Files.Get "scripts/CoopDeployer.kt" ) . | indent 4 }}
1315
1416---
1517
@@ -35,21 +37,24 @@ spec:
3537 template :
3638 spec :
3739 containers :
38- - image : python:3.13
40+ - image : gradle:9.2-jdk21
3941 imagePullPolicy : Always
4042 name : faf-coop-deployment
43+ workingDir : /workspace
4144 envFrom :
4245 - configMapRef :
4346 name : faf-deploy-coop
4447 - secretRef :
4548 name : faf-legacy-deployment
46- command : [ "sh" ]
47- args : [ "-c", "pip install mysql-connector-python && python3 /tmp/deploy-coop.py" ]
49+ command : [ "gradle", "run" ]
4850 volumeMounts :
49- - mountPath : /tmp/deploy-coop.py
51+ - mountPath : /workspace/build.gradle.kts
5052 name : faf-deploy-coop
51- subPath : " deploy-coop.py"
52- - mountPath : /tmp/legacy-featured-mod-files
53+ subPath : " build.gradle.kts"
54+ - mountPath : /workspace/CoopDeployer.kt
55+ name : faf-deploy-coop
56+ subPath : " CoopDeployer.kt"
57+ - mountPath : /workspace/legacy-featured-mod-files
5358 name : faf-featured-mods
5459 restartPolicy : Never
5560 volumes :
You can’t perform that action at this time.
0 commit comments