-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat : simplify plugin ecosystem (init-container) (#609)
* feat: executor boot process via init-container (#425) * update job boot process for transformer * fix : hooks, google cred env * fix hook compilation issue : job.name * fix hook launch issue : list * fix : unit test for dag compilation * add entrypoint for init_container * add dry_run for skpo * update job boot process for transformer * fix : hooks, google cred env * fix hook compilation issue : job.name * fix hook launch issue : list * fix : unit test for dag compilation * add entrypoint for init_container * add dry_run for skpo * fix init_container_imagename * fix tests and init_container image * fix: k8s secret migration * remove comments (secrets) * fix: missis namespace name (#532) * feat: call job run input to compile + fetch assets (#529) * fix : image tag is not plugin version * fix tests * fix : remove job-run input from init entrypoint * fix : remove admin build instance from init-container * fix : fetch env + secret api & minor changes * fix base_dag test * fix : init-container file write permission issue Co-authored-by: Dery Rahman Ahaddienata <[email protected]>
- Loading branch information
1 parent
930a8e1
commit 34ec9ce
Showing
7 changed files
with
305 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#! /bin/sh | ||
|
||
#get optimus version | ||
echo "-- optimus client version" | ||
# /app/optimus version | ||
|
||
# printenv | ||
|
||
# get resources | ||
echo "-- print env variables (required for fetching assets)" | ||
echo "JOB_NAME:$JOB_NAME" | ||
echo "OPTIMUS_PROJECT:$PROJECT" | ||
echo "JOB_DIR:$JOB_DIR" | ||
echo "INSTANCE_TYPE:$INSTANCE_TYPE" | ||
echo "INSTANCE_NAME:$INSTANCE_NAME" | ||
echo "SCHEDULED_AT:$SCHEDULED_AT" | ||
echo "OPTIMUS_HOST:$OPTIMUS_HOST" | ||
echo "" | ||
|
||
echo "-- initializing optimus assets" | ||
optimus job run-input "$JOB_NAME" --project-name \ | ||
"$PROJECT" --output-dir "$JOB_DIR" \ | ||
--type "$INSTANCE_TYPE" --name "$INSTANCE_NAME" \ | ||
--scheduled-at "$SCHEDULED_AT" --host "$OPTIMUS_HOST" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.