Skip to content

Dispatch to helm-package-manager after dev builds#79

Open
bschwedler wants to merge 3 commits into
mainfrom
dogfood-dispatch
Open

Dispatch to helm-package-manager after dev builds#79
bschwedler wants to merge 3 commits into
mainfrom
dogfood-dispatch

Conversation

@bschwedler
Copy link
Copy Markdown
Contributor

Summary

  • Add a dispatch job to development.yml that runs after successful dev image builds
  • Uses bakery ci matrix to determine built versions, then dispatches Deploy workflow in rstudio/helm-package-manager with the image tag
  • Replaces the hourly polling model where helm-package-manager checked Docker Hub for new versions

Part of posit-dev/images-shared#279.

Paired with rstudio/helm-package-manager#1795 which accepts the dispatch and deploys to dogfood.

Prerequisites

  • PPM_AUTOMATION_APP_ID and PPM_AUTOMATION_PEM secrets must be configured in this repo
  • The posit-package-manager-automation GitHub App must be installed on rstudio/helm-package-manager with Actions write permission

Test plan

  • Verify PPM_AUTOMATION_APP_ID and PPM_AUTOMATION_PEM secrets exist
  • Merge and observe next scheduled dev build dispatches to helm-package-manager
  • Manually dispatch development.yml with stream=daily and verify downstream trigger

Comment thread .github/workflows/development.yml Fixed
Comment thread .github/workflows/development.yml Fixed
After a successful dev image build and push, dispatch the Deploy
workflow in rstudio/helm-package-manager with the built version tag.
This replaces the hourly polling model where helm-package-manager
checked Docker Hub for new versions.

Requires the posit-package-manager-automation GitHub App to be
installed on rstudio/helm-package-manager with Actions write access.
The matrix can include multiple rows with the same version (e.g.
different variants or OS combos). Sort -u prevents duplicate
downstream workflow triggers for the same image tag.
The SHA 136412a57a7081aa63f0f2b81902682e9d31d843 doesn't exist in
actions/create-github-app-token; zizmor flags it as "commit with no
history in referenced repository" plus a version-comment mismatch.
Switch to v3.2.0 (the current latest release, SHA
bcd2ba49218906704ab6c1aa796996da409d3eb1).
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