Skip to content

Commit

Permalink
fix: Adding code identities (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
vijayvammi authored Jan 14, 2025
1 parent cea2470 commit 57aeb48
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions extensions/job_executor/k8s.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ def execute_job(self, job: BaseTaskType, catalog_settings=Optional[List[str]]):
self._use_volumes()

job_log = self._context.run_log_store.get_job_log(run_id=self._context.run_id)
self.add_code_identities(job_log)

attempt_log = job.execute_command(
attempt_number=self.step_attempt_number,
Expand Down Expand Up @@ -428,6 +429,7 @@ def execute_job(self, job: BaseTaskType, catalog_settings=Optional[List[str]]):
)

job_log = self._context.run_log_store.get_job_log(run_id=self._context.run_id)
self.add_code_identities(job_log)

attempt_log = job.execute_command(
attempt_number=self.step_attempt_number,
Expand Down
1 change: 1 addition & 0 deletions extensions/job_executor/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def execute_job(self, job: BaseTaskType, catalog_settings=Optional[List[str]]):
logger.info("Trying to execute job")

job_log = self._context.run_log_store.get_job_log(run_id=self._context.run_id)
self.add_code_identities(job_log)

attempt_log = job.execute_command(
attempt_number=self.step_attempt_number,
Expand Down
1 change: 1 addition & 0 deletions extensions/job_executor/local_container.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def execute_job(self, job: BaseTaskType, catalog_settings=Optional[List[str]]):
logger.info("Trying to execute job")

job_log = self._context.run_log_store.get_job_log(run_id=self._context.run_id)
self.add_code_identities(job_log)

attempt_log = job.execute_command(
attempt_number=self.step_attempt_number,
Expand Down

0 comments on commit 57aeb48

Please sign in to comment.