File tree Expand file tree Collapse file tree 2 files changed +13
-9
lines changed
apps/faf-legacy-deployment Expand file tree Collapse file tree 2 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 11plugins {
2- kotlin(" jvm" ) version " 2.3 .0"
2+ kotlin(" jvm" ) version " 2.1 .0"
33 application
44}
55
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,20 +37,22 @@ spec:
3537 template :
3638 spec :
3739 containers :
38- - image : python:3.13
40+ - image : gradle:9.0-jdk21
3941 imagePullPolicy : Always
4042 name : faf-coop-deployment
4143 envFrom :
4244 - configMapRef :
4345 name : faf-deploy-coop
4446 - secretRef :
4547 name : faf-legacy-deployment
46- command : [ "sh" ]
47- args : [ "-c", "pip install mysql-connector-python && python3 /tmp/deploy-coop.py" ]
48+ command : [ "gradle", "run" ]
4849 volumeMounts :
49- - mountPath : /tmp/deploy-coop.py
50+ - mountPath : /home/gradle/build.gradle.kts
5051 name : faf-deploy-coop
51- subPath : " deploy-coop.py"
52+ subPath : " build.gradle.kts"
53+ - mountPath : /home/gradle/CoopDeployer.kt
54+ name : faf-deploy-coop
55+ subPath : " CoopDeployer.kt"
5256 - mountPath : /tmp/legacy-featured-mod-files
5357 name : faf-featured-mods
5458 restartPolicy : Never
You can’t perform that action at this time.
0 commit comments