Skip to content

Commit 20cd5d6

Browse files
Siddhanta RathSiddhanta Rath
authored andcommitted
feat: Print optimus client and server version
1 parent 72aa97f commit 20cd5d6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

entrypoint.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
# wait for few seconds to prepare scheduler for the run
33
sleep 5
44

5+
#get optimus version
6+
echo "-- optimus client and server version"
7+
/opt/optimus version --with-server
8+
59
# get resources
610
echo "-- initializing optimus assets"
711
OPTIMUS_ADMIN_ENABLED=1 /opt/optimus admin build instance "$JOB_NAME" --project \
@@ -19,4 +23,4 @@ echo "-- current envs"
1923
printenv
2024

2125
echo "-- running unit"
22-
exec $(eval echo "$@")
26+
exec $(eval echo "$@")

0 commit comments

Comments
 (0)