Skip to content

feat(ci): notify orchestrator after image pushes for near-instant catalog sync#25

Open
Tjemmmic wants to merge 2 commits intomainfrom
ci/notify-orchestrator-on-push
Open

feat(ci): notify orchestrator after image pushes for near-instant catalog sync#25
Tjemmmic wants to merge 2 commits intomainfrom
ci/notify-orchestrator-on-push

Conversation

@Tjemmmic
Copy link
Contributor

Summary

  • Adds a notify-orchestrator job that calls the orchestrator's
    POST /catalog/notify-update endpoint after all images are built and pushed
  • Reduces image staleness window from ~20 minutes (periodic sync) to ~30 seconds
    (next host-agent heartbeat)
  • Gracefully skips notification if secrets aren't configured yet

Details

The job runs after all leaf build jobs complete and only fires if at least one
build succeeded. Uses always() && !cancelled() so it isn't blocked by skipped
jobs (e.g. empty dynamic matrices).

Required secrets

Before this has any effect, add these to the repo (Settings → Secrets → Actions):

  • ORCHESTRATOR_ADMIN_URL — admin API base URL (port 4096)
  • ORCHESTRATOR_ADMIN_API_KEY — the orchestrator's admin API key

@Tjemmmic Tjemmmic requested a review from shekohex March 10, 2026 03:31
@shekohex
Copy link
Contributor

@Tjemmmic Have you added these secrets to the repo?

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.

2 participants