Perform release post content assembly with a bot
Summary
Content assembly: merging release post items (content blocks) to your branch could be run on a regular basis by a Bot. The RPM's responsibility would be to check the branch for issues rather than running the assembly themselves.
Proposal
Option A: Simple
Create a job that runs the once nightly, where X-Y
is the active milestone.
git checkout master
git pull
git checkout release-X-Y
git pull
git merge master
bin/release-post-assemble
git push
git push origin release-X-Y
Option B: Specific
I think that a commit should queue a pipeline that checks if the branch name matches the release post naming convention (e.g. release-x-y). If the branch matches that naming convention run the content assembly script for every commit. If the pipeline fails, email the committer that their commit needs to be fixed (or better yet, slack them).
Related: #12865 (comment 815576374)
Edited by Brian Rhea