Skip to content

Commit

Permalink
fix : optimus version in goreleaser (#52)
Browse files Browse the repository at this point in the history
* fix optimus version in goreleaser

* fix : use job run input
  • Loading branch information
smarchone authored Sep 29, 2022
1 parent b6e2c59 commit 684618f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
env:
- 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
- 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

before:
hooks:
Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ echo "-- optimus client version"

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

0 comments on commit 684618f

Please sign in to comment.