From 604e4449c2414c2527a5e6daf983d077b4cdf1d3 Mon Sep 17 00:00:00 2001 From: Dery Rahman Ahaddienata Date: Wed, 27 Apr 2022 18:39:01 +0700 Subject: [PATCH] fix: update entrypoint for optimus v0.2.1-rc.1 --- entrypoint.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index eca69fb..714cc00 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -3,15 +3,15 @@ sleep 5 #get optimus version -echo "-- optimus client and server version" -/opt/optimus version --with-server +echo "-- optimus client version" +/opt/optimus version # get resources echo "-- initializing optimus assets" -OPTIMUS_ADMIN_ENABLED=1 /opt/optimus admin build instance "$JOB_NAME" --project \ -"$PROJECT" --output-dir "$JOB_DIR" \ ---type "$INSTANCE_TYPE" --name "$INSTANCE_NAME" \ ---scheduled-at "$SCHEDULED_AT" --host "$OPTIMUS_HOST" +OPTIMUS_ADMIN_ENABLED=1 /opt/optimus admin build instance "$JOB_NAME" --project-name \ + "$PROJECT" --output-dir "$JOB_DIR" \ + --type "$INSTANCE_TYPE" --name "$INSTANCE_NAME" \ + --scheduled-at "$SCHEDULED_AT" --host "$OPTIMUS_HOST" # TODO: this doesnt support using back quote sign in env vars, fix it echo "-- exporting env"