Skip to content

separate 'update consumers' step from release workflow#151

Merged
derekmisler merged 1 commit intodocker:mainfrom
derekmisler:separate-update-consumers-step-from-release-work
Apr 24, 2026
Merged

separate 'update consumers' step from release workflow#151
derekmisler merged 1 commit intodocker:mainfrom
derekmisler:separate-update-consumers-step-from-release-work

Conversation

@derekmisler
Copy link
Copy Markdown
Contributor

@derekmisler derekmisler commented Apr 24, 2026

Related Issues

Closes: https://github.com/docker/gordon/issues/445

Summary

Extracts the consumer repo update logic from the release workflow into a standalone, manually-triggered workflow. This decouples consumer updates from the release process, allowing them to be run independently and enabling better error recovery without re-triggering expensive releases.

Changes

  • .github/workflows/release.yml: Removed the update-consumers job (157 lines). Simplified the notify job to only depend on core release steps. Updated pre_release input description to clarify it only skips Slack notifications (no longer mentions consumer updates).

  • .github/workflows/update-consumers.yml (new): New standalone workflow triggered via workflow_dispatch with optional version input. Resolves the latest release or specified version, discovers consumer repos via GitHub code search, and updates their cagent-action references. Includes version/SHA resolution logic and proper sed escaping for special characters in replacements.

The logic itself is unchanged—the same discovery and update sequence runs—but is now independent and reusable without affecting the release workflow's success criteria.


Tip

Comment /review to trigger the PR Reviewer agent for automated feedback.
Comment /describe to generate a PR description.

Signed-off-by: Derek Misler <derek.misler@docker.com>
@derekmisler derekmisler self-assigned this Apr 24, 2026
@derekmisler derekmisler requested a review from a team April 24, 2026 18:53
@derekmisler derekmisler marked this pull request as ready for review April 24, 2026 18:53
Copy link
Copy Markdown
Contributor

@docker-agent docker-agent Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assessment: 🟡 NEEDS ATTENTION

Comment thread .github/workflows/update-consumers.yml
Comment thread .github/workflows/update-consumers.yml
@derekmisler derekmisler merged commit 284a8a4 into docker:main Apr 24, 2026
28 checks passed
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