Repository navigation
Add manual workflow to publish the lexbox-test-repos seed image - #2562
Conversation
New workflow_dispatch job builds ghcr.io/sillsdev/lexbox-test-repos from data/Dockerfile (busybox + the sena-3, elawa, empty seed repo zips) and pushes :latest plus a dated tag. It downloads the zips from Google Drive once, with retries and SHA-256 verification, so a bad/HTML download fails the workflow instead of shipping a broken image. The hg populate-test-repos init container consumes this image; run this workflow manually to refresh the seed data. Adding the workflow first so it lives on the default branch and becomes dispatchable before anything depends on the :latest tag. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Warning Review limit reached
Next review available in: 116 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
simplify our data image which stores test projects by publishing it to the ghrc, related to #2563
🤖 AI summary
Adds a manual (
workflow_dispatch) workflow that builds and publishesghcr.io/sillsdev/lexbox-test-repos— a busybox image with thesena-3,elawa-dev-flex, andempty-dev-flexseed Mercurial repos baked into/init-repos(from the existingdata/Dockerfile). It publishes:latestplus a dated tag.Why: Today the
populate-test-reposinit container (deployment/init-repos) has no/init-reposvolume mounted in CI/staging/develop, so it always falls through to downloading the seed zips from Google Drive at every hg pod start. That path is the root cause of intermittent integration-test failures — a failed or HTML (quota / virus-scan interstitial) download leaves the init container exiting 0 with the repos missing, hg then 404s, and the project page surfaces a masked "Unexpected Execution Error" that blocks the Playwright clicks.This workflow moves the Google Drive dependency to a single, on-demand, verified step: it downloads each zip with retries and SHA-256 verification, so a bad download fails the workflow instead of shipping a broken image.
Sequencing: this is the first of two PRs. It only adds the workflow (nothing consumes the image yet), so it's safe to merge on its own. It must land on
developfirst soworkflow_dispatchbecomes available — a brand-new workflow can't be dispatched from a feature branch. The follow-up PR points every overlay at:latest.After merge:
lexbox-test-repospackage to public (CI's kind cluster pulls seed images directly from ghcr, same as the other app images).Test plan
ghcr.io/sillsdev/lexbox-test-repos:latestis published.