Skip to content

Commit ca62edf

Browse files
committed
Changes output dir
1 parent 381b17a commit ca62edf

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

apps/faf-legacy-deployment/scripts/CoopMapDeployer.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ private fun Path.isTextFile() = listOf(".md", ".lua", ".json", ".txt").any { toS
235235
fun main(args: Array<String>) {
236236
Log.init()
237237

238-
val MAP_DIR = System.getenv("MAP_DIR") ?: "/opt/faf/data/faf-coop-maps"
238+
val MAP_DIR = System.getenv("MAP_DIR") ?: "./output"
239239
val PATCH_VERSION = System.getenv("PATCH_VERSION") ?: error("PATCH_VERSION required")
240240
val REPO_URL = System.getenv("GIT_REPO_URL") ?: "https://github.com/FAForever/faf-coop-maps"
241241
val GIT_REF = System.getenv("GIT_REF") ?: "v$PATCH_VERSION"

apps/faf-legacy-deployment/templates/deploy-coop-maps.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@ spec:
4040
volumeMounts:
4141
- mountPath: /scripts
4242
name: faf-deploy-scripts
43-
- mountPath: /workspace/legacy-featured-mod-files
44-
name: faf-featured-mods
43+
- mountPath: /workspace/output
44+
name: output
4545
restartPolicy: Never
4646
volumes:
4747
- name: faf-deploy-scripts
4848
configMap:
4949
name: "faf-deploy-scripts"
50-
- name: faf-featured-mods
50+
- name: output
5151
hostPath:
52-
path: /opt/faf/data/legacy-featured-mod-files
52+
path: /tmp/output
5353
type: Directory

0 commit comments

Comments
 (0)