Skip to content

Commit

Permalink
Skip git repo download
Browse files Browse the repository at this point in the history
  • Loading branch information
vish-cs committed Jan 3, 2025
1 parent af6f0e1 commit b84120d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion import-automation/executor/app/executor/import_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,6 @@ def _execute_imports_on_commit_helper(
with tempfile.TemporaryDirectory() as tmpdir:
repo_dir = self.github.download_repo(
tmpdir, commit_sha, self.config.repo_download_timeout)

logging.info(f'Downloaded repo: {repo_dir}')

imports_to_execute = import_target.find_imports_to_execute(
Expand Down
3 changes: 2 additions & 1 deletion import-automation/executor/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ def scheduled_updates(absolute_import_name: str, import_config: str):
auth_access_token=config.github_auth_access_token),
config=config,
notifier=email_notifier.EmailNotifier(config.email_account,
config.email_token))
config.email_token),
local_repo_dir='/workspace/data')
result = executor.execute_imports_on_update(absolute_import_name)
logging.info(result)
if result.status == 'failed':
Expand Down

0 comments on commit b84120d

Please sign in to comment.