April 7th, 2022 by Adam Sandman
The upcoming release of our Spira platform includes the long-awaiting support for integrating several different DevOps Continuous Integration and Continuous Deployment (CI/CD) pipelines into Spira, including GitLab, GitHub and CircleCI. The first phase of this integration enables this support by using the ability to configure Webhooks in the three products that send the results back to Spira. We have added special API endpoints in Spira that understand each webhook format and can read the results appropriately.
GitLab Pipelines
The new integration with GitLab CI pipelines will initially allow you to execute a GitLab CI pipeline automatically, typically triggered by source code commits or other events from within GitLab itself.
Whenever a GitLab pipeline executes via normal source code commit events, the new GitLab pipeline event will be recorded in Spira as a new build under the release artifact.
The build event in Spira can then be used to trigger other actions, such as auto-scheduling test sets, etc.
GitHub Actions
The new integration with GitHub Actions will initially allow you to execute a GitHub CI pipeline automatically, typically triggered by source code commits or other events from within GitHub itself.
These GitHub pipeline events will show up in Spira as a new Build under the Release artifact:
The build event in Spira can then be used to trigger other actions, such as auto-scheduling test sets, etc.
CircleCI Pipelines
The new integration with CircleCI Pipelines will initially allow you to execute a GitHub CI pipeline automatically, typically triggered by source code commits or other events from within a linked GitHub or BitBucket repository:
The pipeline builds will report back to Spira using the CircleCI webhook functionality and the dedicated Spira endpoint. The build will contain important information that will be reporting back to Spira:
The build event in Spira can then be used to trigger other actions, such as auto-scheduling test sets, etc.
What's Coming Next?
In our next major release, version 7.0, we will be adding the ability to additionally launch these three pipeline types directly from the Spira user interface. This additional functionality will be implemented using the new Spira Plugin & Extensibility Framework that we discussed in a previous blog post.