Skip to content

Commit 684618f

Browse files
authored
fix : optimus version in goreleaser (#52)
* fix optimus version in goreleaser * fix : use job run input
1 parent b6e2c59 commit 684618f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.goreleaser.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
env:
2-
- OPTIMUS_RELEASE_URL=https://github.com/odpf/optimus/releases/download/v0.4.0-rc.2/optimus_0.4.0-rc.2_linux_x86_64.tar.gz
2+
- OPTIMUS_RELEASE_URL=https://github.com/odpf/optimus/releases/download/v0.4.0-rc.6/optimus_0.4.0-rc.6_linux_x86_64.tar.gz
33

44
before:
55
hooks:

entrypoint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ echo "-- optimus client version"
88

99
# get resources
1010
echo "-- initializing optimus assets"
11-
OPTIMUS_ADMIN_ENABLED=1 /opt/optimus admin build instance "$JOB_NAME" --project-name \
11+
/opt/optimus job run-input instance "$JOB_NAME" --project-name \
1212
"$PROJECT" --output-dir "$JOB_DIR" \
1313
--type "$INSTANCE_TYPE" --name "$INSTANCE_NAME" \
1414
--scheduled-at "$SCHEDULED_AT" --host "$OPTIMUS_HOST"

0 commit comments

Comments
 (0)