Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@smarchone
Copy link
Member

@smarchone smarchone commented Sep 20, 2022

Changes :

  • init-container:

    • airflow deploys - init container + executor container
    • fetches config : airflow to load config onto init-container & executor container
      • default_env + fetched_env in airflow
    • fetches assets : init container to load assets onto shared volume
  • job run-input api : to compile + fetch assets; instead of admin build instance

@coveralls
Copy link

coveralls commented Sep 20, 2022

Pull Request Test Coverage Report for Build 3441208627

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 78.474%

Totals Coverage Status
Change from base Build 3416779019: 0.0%
Covered Lines: 7951
Relevant Lines: 10132

💛 - Coveralls

@smarchone smarchone force-pushed the feat-simplify_plugin_ecosystem branch from 6cee607 to c9b3f6a Compare September 22, 2022 04:08
@smarchone smarchone force-pushed the feat-simplify_plugin_ecosystem branch from 6b3d8fa to c9fccd3 Compare September 27, 2022 13:36
@sravankorumilli sravankorumilli self-assigned this Oct 10, 2022
@sravankorumilli sravankorumilli self-requested a review October 10, 2022 10:38
@sravankorumilli sravankorumilli removed their assignment Oct 10, 2022
@smarchone smarchone force-pushed the feat-simplify_plugin_ecosystem branch from c9fccd3 to b47ae4e Compare October 10, 2022 21:01
@smarchone smarchone force-pushed the feat-simplify_plugin_ecosystem branch from 13bd35d to c102b58 Compare October 27, 2022 01:11
smarchone and others added 8 commits November 9, 2022 23:39
* 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)
@smarchone smarchone force-pushed the feat-simplify_plugin_ecosystem branch from 00f6ff8 to 0a91c93 Compare November 9, 2022 18:15
echo ""

echo "-- initializing optimus assets"
OPTIMUS_ADMIN_ENABLED=1 optimus job run-input "$JOB_NAME" --project-name \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I want to understand does job run-input fail if the run doesn't exist?

k8s.V1EnvVar(name=key,value=val) for key, val in job_meta["context"]["secrets"].items()
]

def _dry_run(self, pod):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is this dry run?

@smarchone smarchone merged commit 34ec9ce into main Nov 21, 2022
@smarchone smarchone deleted the feat-simplify_plugin_ecosystem branch November 21, 2022 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use Init Containers instead of baking the optimus client with the executor

5 participants