Conversation
|
Thank you for your contribution @natemcintosh 🚀! Your pkgdown-site is ready for download 👉 here 👈! |
There was a problem hiding this comment.
Pull request overview
Adds a new Azure automation script to kick off API v2 backfill runs by generating weekly config sets and submitting corresponding Azure Container Apps Job (CAJ) executions.
Changes:
- Introduces
azure/backfill_api_v2.pywith a Typer CLI to define a weekly backfill window and per-run parameters. - Generates config blobs per Wednesday and discovers them in Blob Storage for job submission.
- Submits CAJ executions while allowing overrides for image, storage account/container, and resource group/job name.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
micahwiesner67
left a comment
There was a problem hiding this comment.
This looks great. Thanks so much for doing this. I added a small comment on adding additional CLI messaging if start_date is not a wednesday, and I agree with the automated PR that additional messaging on end_date would be useful, but approved.
Co-authored-by: Micah Wiesner <33739832+micahwiesner67@users.noreply.github.com>
This new script allows us to kick off backfill runs more easily in the future. It will require a bit of tinkering with the command lines arguments (there are a number), but should allow us to run for whatever specifics we like.
Copilot Summary
This pull request introduces a new script,
azure/backfill_api_v2.py, which automates the backfilling of weekly jobs for API v2 data processing using Azure resources. The script provides a command-line interface for generating configuration files, discovering them in Azure Blob Storage, and submitting jobs to Azure Container Apps, with support for dry runs and various customizable parameters.Key additions in this script:
Backfill job automation and orchestration:
cfa-config-generator, and uploads them to Azure Blob Storage.Command-line interface and configuration:
typer, allowing customization of dates, job prefixes, containers, image names, production dates, and other parameters. Supports dry-run mode for previewing planned jobs without execution.