Skip to content

Continuous Integration with multiple git repos? (using west or similar) #34713

Answered by marc-hb
marc-hb asked this question in Q&A
Discussion options

You must be logged in to vote

Here's one (untested) idea. In the .github/workflows/ of every repo implement this logic:

  • Save the pull/12345/merge commit that the Github Checkout Action provides by default.
  • Initialize a west workspace around the existing git clone provided by the same.
  • west update everything to the greatest and latest. This will reset the initial git repo; I don't think west update has any "update all but this repo" option simple to use.
  • git reset the tested repo to the pull/12345/merge commit saved in first step
  • Run tests, profit?

This should let users issue pull requests "as usual". Would this work? Any better way?

Replies: 3 comments 5 replies

Comment options

marc-hb
Apr 29, 2021
Collaborator Author

You must be logged in to vote
2 replies
@mbolivar-nordic
Comment options

@marc-hb
Comment options

marc-hb Apr 29, 2021
Collaborator Author

Comment options

marc-hb
Apr 29, 2021
Collaborator Author

You must be logged in to vote
3 replies
@mbolivar-nordic
Comment options

@mbolivar-nordic
Comment options

@aborisovich
Comment options

Answer selected by mbolivar-nordic
Comment options

marc-hb
Sep 30, 2021
Collaborator Author

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area: West West utility
3 participants