Redesign CI to use workflow calls#1078
Merged
Merged
Conversation
Redesign how GH actions are triggered. This new design uses a self-trigger to start jobs which are only started via workflow_calls. The main benefit of this is to be able to start workflows from various Infix Spins without needing to duplicate the workflow files in them. Upcoming patches are intended to parameterize to allow Spins to pass different architectures, brand names and such. Signed-off-by: Richard Alpe <richard@bit42.se>
Signed-off-by: Richard Alpe <richard@bit42.se>
Needed when called by spins inside different organizations.
Signed-off-by: Richard Alpe <richard@bit42.se>
Signed-off-by: Richard Alpe <richard@bit42.se>
f087b3b to
2a8580e
Compare
troglobit
approved these changes
Jul 7, 2025
Contributor
troglobit
left a comment
There was a problem hiding this comment.
Sad to see Bob go 🏗 👷 but otherwise this looks like a very nice cleanup that make it quite a bit more professional! 👏👏👏
mattiaswal
reviewed
Jul 8, 2025
| type: boolean | ||
| default: '' | ||
| type: string | ||
| parallell: |
Contributor
There was a problem hiding this comment.
Rename my mistake please ❤️
Contributor
|
@rical are you still "hogging" the Styx test system? (It might be why it hasn't picked up this job yet ...) |
Contributor
Author
I released it early this morning. Guess it's still working on its backlog. |
Fixes: 874c0a5 Use massive parallel in workflow for PRs Signed-off-by: Richard Alpe <richard@bit42.se>
5e2173d to
45c5885
Compare
Contributor
|
All tests pass, let's merge! |
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.
Description
This PR redesigns the existing github build and test workflow to support workflow calls.
Main changes:
A Spin of Infix can now use workflow calls to run Infix build and test directly. This means an Infix Spin doesn't have to duplicate or create there own github workflow for building and testing.
Here's an example of how that might look (pseudo):
Checklist
Tick relevant boxes, this PR is-a or has-a: