-
-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add support for multi-project pipelines
So far, `lab` was only able to work with CI pipelines that were under the "current" project, however, GitLab also allow pipelines that contain jobs of the "bridge" type, which map that pipeline in specific to another one trigerred in another GitLab project. This patch enables `lab` to "follow" this bridge mapping to the downstream pipeline project. For that, a new persistent flag was added to all `lab ci` commands: --follow Follow downstream pipelines in a multi-projects setup One thing to keep in mind though, is that in theory the downstream pipeline may be in another host (e.g. gitlab.com vs gitlab.<company-domain>), however, considering `lab` doesn't support any kind of "multiple host domains", I also didn't enable such functionality, meaning that only downstream pipelines under the same host domain (configured in core.host) is supported. Signed-off-by: Bruno Meneguele <[email protected]>
- Loading branch information
Showing
8 changed files
with
143 additions
and
27 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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