-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ci_matching_branch/ for bottle install jobs #1005
Conversation
If the release-tools branch (RTOOLS_BRANCH) starts with ci_matching_branch/ then try to check out a matching branch from the osrf/homebrew-simulation tap for bottle install jobs. Signed-off-by: Steve Peters <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor linting hints. Looks good.
@@ -46,6 +46,17 @@ echo '# BEGIN SECTION: setup the osrf/simulation tap' | |||
brew tap osrf/simulation | |||
echo '# END SECTION' | |||
|
|||
if [[ -n "${RTOOLS_BRANCH}" ]] && \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm quite sure that if RTOOLS_BRANCH
is empty, the CI build are going to fail sooner than reaching this point. Leave it if you prefer to keep it anyway.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Signed-off-by: Steve Peters <[email protected]> Co-authored-by: Jose Luis Rivero <[email protected]>
Signed-off-by: Steve Peters <[email protected]>
I've applied your linting suggestions |
We have started documenting how to use the
ci_matching_branch/
naming pattern to use custom branches from tooling repositories in pull request CI in gazebosim/docs#377. This PR will add theci_matching_branch/
functionality to theinstall_bottle
jobs in the following way:RTOOLS_BRANCH
) for aninstall_bottle
job starts withci_matching_branch/
, then it will try to check out a matching branch from theosrf/homebrew-simulation
tap.As an example for when this could be used, I'd like to re-enable a test for the
gz-sim7
formula that has been disabled for macOS Monterey since a fix in gazebosim/gz-physics#529 has been merged and released. The test is enabled in osrf/homebrew-simulation@2bf74ac in theci_matching_branch/install_bottle
branch (which matches the branch name of this release-tools pull request) and tested in the following job, which happened to run on mac-five.monterey and passed the enabled test: