File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
main/kotlin/com/cosmotech/run/workflow/argo
test/kotlin/com/cosmotech/run/workflow/argo Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -44,8 +44,8 @@ internal const val VOLUME_CLAIM_DATASETS_SUBPATH = "datasetsdir"
4444internal const val VOLUME_CLAIM_PARAMETERS_SUBPATH = " parametersdir"
4545internal const val VOLUME_CLAIM_OUTPUT_SUBPATH = " outputdir"
4646internal const val VOLUME_CLAIM_TEMP_SUBPATH = " tempdir"
47+ internal const val VOLUME_COAL_PATH = " /mnt/coal"
4748
48- private const val VOLUME_COAL_PATH = " /mnt/coal"
4949private const val VOLUME_DATASETS_PATH = " /mnt/scenariorun-data"
5050private const val VOLUME_PARAMETERS_PATH = " /mnt/scenariorun-parameters"
5151private const val VOLUME_OUTPUT_PATH = " /pkg/share/Simulation/Output"
Original file line number Diff line number Diff line change @@ -481,6 +481,10 @@ class WorkflowBuildersTests {
481481 .name(VOLUME_CLAIM )
482482 .mountPath(" /usr/tmp" )
483483 .subPath(VOLUME_CLAIM_TEMP_SUBPATH ),
484+ V1VolumeMount ()
485+ .name(" coal-config" )
486+ .mountPath(VOLUME_COAL_PATH + " /coal-config.toml" )
487+ .subPath(" coal-config.toml" )
484488 )
485489 assertEquals(expected, template.container?.volumeMounts)
486490 }
You can’t perform that action at this time.
0 commit comments