Skip to content

Commit 5717941

Browse files
committed
replaced entrypoint called in all simulator image by "entrypoint.py"
csm-orc add a cmd "entrypoint.py" that allow retro compatibility with older docker images
1 parent 8b113d5 commit 5717941

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scenariorun/src/main/kotlin/com/cosmotech/scenariorun/ContainerFactory.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ private const val RUN_TEMPLATE_ID_VAR = "CSM_RUN_TEMPLATE_ID"
9898
private const val CONTAINER_MODE_VAR = "CSM_CONTAINER_MODE"
9999
private const val CONTAINER_ORCHESTRATOR_LEGACY_VAR = "CSM_ENTRYPOINT_LEGACY"
100100
private const val ENTRYPOINT_NAME = "entrypoint.py"
101-
private const val ENTRYPOINT_NAME_CSM_ORC = "csm-orc"
102101
private const val EVENT_HUB_MEASURES_VAR = "CSM_PROBES_MEASURES_TOPIC"
103102
internal const val EVENT_HUB_CONTROL_PLANE_VAR = "CSM_CONTROL_PLANE_TOPIC"
104103
private const val CSM_SIMULATION_VAR = "CSM_SIMULATION"
@@ -653,7 +652,7 @@ class ContainerFactory(
653652
image = imageName,
654653
envVars = envVars,
655654
dependencies = null,
656-
entrypoint = ENTRYPOINT_NAME_CSM_ORC,
655+
entrypoint = ENTRYPOINT_NAME,
657656
solutionContainer = true,
658657
nodeLabel = nodeSizingLabel,
659658
runSizing = customSizing.toContainerResourceSizing())

0 commit comments

Comments
 (0)