Skip to content

Trigger adjacent jobs in release process#1870

Merged
elliotmjackson merged 7 commits intomainfrom
ejackson/trigger-adjacent-jobs
Feb 28, 2023
Merged

Trigger adjacent jobs in release process#1870
elliotmjackson merged 7 commits intomainfrom
ejackson/trigger-adjacent-jobs

Conversation

@elliotmjackson
Copy link
Contributor

We had chained a number of jobs meaning that if one failed, they all failed. This PR changes that behaviour by having the following steps depend on post-release and then run independently.

  • trigger npm publish
  • trigger homebrew-buf release
  • trigger vim-buf release
  • trigger docs.buf.build release
  • trigger buf-setup-action release

i achieved this by posting the VERSION as an output of the post-release job like this

@elliotmjackson elliotmjackson marked this pull request as ready for review February 28, 2023 19:09
@elliotmjackson
Copy link
Contributor Author

Co-authored-by: Paul Sachs <11449728+paul-sachs@users.noreply.github.com>
@elliotmjackson elliotmjackson merged commit 3a6bf64 into main Feb 28, 2023
@elliotmjackson elliotmjackson deleted the ejackson/trigger-adjacent-jobs branch February 28, 2023 19:54
twoism pushed a commit that referenced this pull request Mar 2, 2023
We had chained a number of jobs meaning that if one failed, they all
failed. This PR changes that behaviour by having the following steps
depend on post-release and then run independently.
- trigger npm publish
- trigger homebrew-buf release
- trigger vim-buf release
- trigger docs.buf.build release
- trigger buf-setup-action release

i achieved this by posting the `VERSION` as an output of the
`post-release` job like
[this](https://docs.github.com/en/actions/using-jobs/defining-outputs-for-jobs)

---------

Co-authored-by: Paul Sachs <11449728+paul-sachs@users.noreply.github.com>
Monirul1 pushed a commit to Monirul1/buf that referenced this pull request Apr 30, 2023
We had chained a number of jobs meaning that if one failed, they all
failed. This PR changes that behaviour by having the following steps
depend on post-release and then run independently.
- trigger npm publish
- trigger homebrew-buf release
- trigger vim-buf release
- trigger docs.buf.build release
- trigger buf-setup-action release

i achieved this by posting the `VERSION` as an output of the
`post-release` job like
[this](https://docs.github.com/en/actions/using-jobs/defining-outputs-for-jobs)

---------

Co-authored-by: Paul Sachs <11449728+paul-sachs@users.noreply.github.com>
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.

3 participants