Skip to content

Start the olbase build from the deploy wizard with gh - #13947

Merged
RayBB merged 1 commit into
internetarchive:masterfrom
RayBB:deploy/feature/auto-olbase-build
Oct 20, 2026
Merged

RayBB merged 1 commit into
internetarchive:masterfrom
RayBB:deploy/feature/auto-olbase-build

Conversation

@RayBB

@RayBB RayBB commented Oct 15, 2026

Copy link
Copy Markdown
Collaborator

Feature: the deploy wizard now kicks off the olbase image build itself when the gh CLI is installed, instead of asking you to go click "Run workflow" on GitHub.

One less thing to think about during the deploy process is nice. This is a small change.

Technical

  • If the olbase image is out of date, the wizard starts olbase.yaml with gh workflow run right after pulling master, before the announcement, so it builds while you post the announcement and run the olsystem deploy.
  • Before the openlibrary deploy, it waits for that build with gh run watch.
  • The existing up-to-date check still runs afterwards as the final gate. If the build failed (or Docker Hub hasn't caught up yet), you get the prompt to check the build and press Enter to recheck. The wording of that prompt is updated to make that clearer.
  • Without gh (or if the dispatch fails), it falls back to the current behavior: a link to the workflow and "Once you've clicked 'Run workflow', press Enter...". That prompt now comes before the announcement instead of after it, so a hand-started build also gets a head start.

Testing

  • Ran start_olbase_build for real: it started an olbase build on master and picked up the run ID from gh's output.
  • Ran the wizard's gh run watch on that build: it blocked until the build finished (~6 min) and exited 0, after which the up-to-date check passed.
  • With gh removed from PATH, it falls back to the manual prompt.

Stakeholders

@mekarpeles @cdrini

If the olbase image is out of date and the gh CLI is installed, the wizard
now triggers olbase.yaml itself before the announcement and waits for it
with `gh run watch` before the openlibrary deploy. Without gh it falls back
to the existing "click Run workflow" prompt.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@RayBB
RayBB merged commit 369110a into internetarchive:master Oct 20, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant