How to Create Quality Gate in SonarQube and Integrate with GitHub Actions CICD Pipeline
HTML-код
- Опубликовано: 7 сен 2024
- www.coachdevop...
What is Quality gate?
In SonarQube a quality gate is a set of conditions that must be met in order for a project to be marked as passed.
Pre-requisites:
Make sure SonarQube is up and running
Make sure Java Project is setup in GitHub
SonarQube is already integrated with GitHub Actions
SONAR_HOST_URL and SONAR_TOKEN configured as secrets in GitHub Repo
How to Create Quality gate in SonarQube and integrate with GitHub Actions?
Make sure SonarQube is up and running and integrated with GitHub Actions. Please click here if you would like to setup SonarQube and integrate with GitHub Actions.
We will be executing below steps:
Login to SonarQube
Create Quality Gate in SonarQube
Add conditions in Quality Gate
Make quality gate as Default
Create GitHub Actions CICD workflow yaml
Add tasks for Maven build and Sonar Scan
Add tasks for integrating Quality gate
pass/fail the builds in SonarQube
Thank you! For all the effort and time you have put into your content. It's fantastic!
Thank you Jay. Glad you enjoyed it
You are the best devsecops/devops channel on youtube, thanks
Thank you, please subscribe if you haven’t already
Interesting friend, I like your content👌🏼👌🏼👏👏
Thank you so much 🙂 Cheers.. Please keep watching and learning!
can you please put video for github_action with trivy image scaning
Good Video Ananth
Thank you Anshu
But when a dev is creating a PR, he needs to know his bugs and issues only from Github, the dev doesn't need to access the sonarqube instance!! How can this be done Sir?
Thank you!
Hi sir, Please make your Repository in Public. It really helps me a lot. Because I am getting too many errors while running github actions ci cd.
my repo is public..github.com/akannan1087/oct2023WeekdayRepo
Sir, how to setup github app for soanrqube & how to configure pls make video