Dispatch to helm-package-manager after dev builds#79
Open
bschwedler wants to merge 3 commits into
Open
Conversation
e45d2c4 to
3467405
Compare
6dfdae3 to
2353b86
Compare
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).
2353b86 to
e211fd2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
dispatchjob todevelopment.ymlthat runs after successful dev image buildsbakery ci matrixto determine built versions, then dispatchesDeployworkflow inrstudio/helm-package-managerwith the image tagPart 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_IDandPPM_AUTOMATION_PEMsecrets must be configured in this repoposit-package-manager-automationGitHub App must be installed onrstudio/helm-package-managerwith Actions write permissionTest plan
PPM_AUTOMATION_APP_IDandPPM_AUTOMATION_PEMsecrets existdevelopment.ymlwithstream=dailyand verify downstream trigger