Skip to content

Commit

Permalink
Add R2DevOps way to setup MegaLinter on Gitlab
Browse files Browse the repository at this point in the history
Fixes #3065
  • Loading branch information
nvuillam committed Nov 19, 2023
1 parent 55f2d6f commit cef7fbe
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ _Github PR reporter_
- [Which version to use ?](#which-version-to-use-)
- [GitHub Action](#github-action)
- [GitLab CI](#gitlab-ci)
- [Manual Setup](#manual-setup)
- [Using R2Devops](#using-r2devops)
- [Azure Pipelines](#azure-pipelines)
- [Bitbucket Pipelines](#bitbucket-pipelines)
- [Jenkins](#jenkins)
Expand Down Expand Up @@ -528,6 +530,8 @@ description: Manual instructions to setup MegaLinter as a Gitlab Pipeline job
-->
### GitLab CI
#### Manual setup
Create or update `.gitlab-ci.yml` file at the root of your repository

```yaml
Expand Down Expand Up @@ -558,6 +562,14 @@ Create a Gitlab access token and define it in a variable **GITLAB_ACCESS_TOKEN_M

![Screenshot](https://github.com/oxsecurity/megalinter/blob/main/docs/assets/images/TextReporter_gitlab_1.jpg?raw=true>)

#### Using R2Devops

![R2Devops Logo](https://github.com/oxsecurity/megalinter/blob/main/docs/assets/images/r2devops-logo.jpg?raw=true>)

Out friends at [R2Devops](https://r2devops.io/) have packaged a [Gitlab-CI MegaLinter workflow](https://r2devops.io/marketplace/gitlab/r2devops/hub/mega_linter) on their [open-source templates marketplace](https://r2devops.io/marketplace), and it can post MegaLinter results in Gitlab Code Quality Reports !

[![Screenshot](https://github.com/oxsecurity/megalinter/blob/main/docs/assets/images/r2devops-link.jpg?raw=true>)](https://r2devops.io/marketplace/gitlab/r2devops/hub/mega_linter)

<!-- install-gitlab-section-end -->
<!-- install-azure-section-start -->
<!-- markdown-headers
Expand Down
Binary file added docs/assets/images/r2devops-link.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/r2devops-logo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cef7fbe

Please sign in to comment.