This feature is a proprietary feature and is of Chainloop platform.
The following functionality is considered experimental and subject to change.
- Branch protection settings: required status checks, push restrictions, review dismissal policies, and admin enforcement rules
- Pull request configurations: required reviewers, review dismissal rules, and branch update requirements
- Commit protection details: signing requirements, status check policies, and custom protection rules
Gathering Runner Context
Gathering the CI/CD runner context requires a few steps:Installing Chainloop CLI with the Experimental Platform Plugin
The first step is to install Chainloop CLI with the experimental platform plugin. You can learn more about installing Chainloop CLI here or just run the following command:Create the Access Token
The second step is to create an access token for Chainloop. In order to gather the comprehensive runner context, Chainloop platform plugin requires an access token with the appropriate access level. Depending on the CI/CD platform of your choice, the access token will have different requirements.For GitHub create the fine-grained token with the
Administration
permission set to read
.ADMIN_PERSONAL_ACCESS_TOKEN
secret name.
Request Runner Context During Build
The third step is to request the runner context during the build process. This can be done by adding the following command to your CI/CD pipeline:runner-context.json
.