Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaced by new sonar-cnes-cat-plugin #14

Open
begarco opened this issue May 10, 2020 · 3 comments
Open

Replaced by new sonar-cnes-cat-plugin #14

begarco opened this issue May 10, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@begarco
Copy link
Contributor

begarco commented May 10, 2020

Will be replaced by the future sonar-cnes-cat-plugin...

@begarco begarco added the enhancement New feature or request label May 10, 2020
@gbonnefille
Copy link

What is this future sonar-cnes-cat-plugin?

Based on users' expectations, I'm thinking about a plugin similar to scan-plugin but whose role is only to compute a command line for https://github.com/cnescatlab/sonar-scanner.

Docker-CAT address an effective use case where people sometimes only want to run a ponctual analysis.
On the other hand, having a central SonarQube is useful to share quality profiles or any results between QA-Team.
As some users like to simply have to fill a form and click a button to have processing started, an idea could be to have a plugin that generates a script or command line to copy-paste. This command will run the scanner and push results to the SonarQube where the form was filed.

@begarco
Copy link
Contributor Author

begarco commented Oct 4, 2020

Hi @gbonnefille,

This issue is aimed to track all changes needed to gather in only one plugin all features added in Docker CAT for one-shot analysis. In other words, it aims to gather:

It will also require presence of other plugins to be correctly loaded like:

New associated features would be:

  • Integrated sonar-scanner on server-side
  • Uploadable source code to be analyzed
  • Feature-flipping (for centralized server)

@gbonnefille
Copy link

gbonnefille commented Apr 7, 2021

As some users like to simply have to fill a form and click a button to have processing started, an idea could be to have a plugin that generates a script or command line to copy-paste. This command will run the scanner and push results to the SonarQube where the form was filed.

Since the publication of https://github.com/cnescatlab/sonar-scanner, what about having this plugin evolves to trigger the analysis in a Docker?
The user (admin?) fills the form and, when validated, a Docker container based on cnescatlab/sonar-scanner is run.
A simpler approach: a simple user (non admin) fills the form and get a script or archive with anything preconfigured to run the analysis on his side, with cnescatlab/sonar-scanner Docker.

The main idea is to keep the simplicity of docker-cat for audit use-cases, but keep the client-server model, keeping each part well separated, avoiding complex requirements on the server side...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants