Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for shell import scripts in automation #1157

Merged
merged 6 commits into from
Dec 27, 2024

Conversation

ajaits
Copy link
Contributor

@ajaits ajaits commented Dec 26, 2024

Added the following features:

  1. Support shell import scripts
  2. Prefix import script log messages with import name for easier debugging in cloud log viewer
  3. Add command option for local config_override file for schedule_update_import.py
    --config_override

for eg to run a test import that copies files to a different GCS bucket, create a local file /tmp/config_override.josn with the setting:

{
  "configs" : {
      "storage_prod_bucket_name": "datcom-test-imports",
      "email_account": "[email protected]",
  }
}

@ajaits ajaits enabled auto-merge (squash) December 27, 2024 07:36
@ajaits ajaits merged commit 50f4607 into datacommonsorg:master Dec 27, 2024
9 checks passed
@ajaits ajaits deleted the auto-ref-sh branch December 27, 2024 10:37
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.

3 participants