Skip to content

Example GitLab pipeline integreation example

License

Notifications You must be signed in to change notification settings

tidelift/gitlab-pipeline-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Tidelift and GitLab Pipelines Integration

Tidelift can integrate with GitLab through Pipelines and Code Quality.

This example will complete a basic tidelift alignment save, causing Tidelift to check the project's manifest for issues such as vulnerabilites or deprecation. It then generates a Code Quality report that can be viewed in the GitLab UI to see newly introduced issues.

This is meant to be an example to build upon.

Instructions

Assumptions

  • This example is for a Python-based project. You may need to tweak the image: yaml value in the configuration based upon your project.

Quick start

Add the .gitlab-ci.yml configuration in this repository to your project repository and examine it, especially the comments.

The configuration will trigger GitLab Pipelines to run the Tidelift CLI inside a container during CI. The only configuration you'll need to complete is to add a Protected Variable for $TIDELIFT_API_KEY_PROTECTED_VARIABLE. The value of this variable should be a Tidelift API key, as described here.

About

Example GitLab pipeline integreation example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •