community-plugins/workspaces/sonarqube
Kashish Mittal ed0156311a
clean-up: remove false positives from knip reports (#3018)
* clean-up: remove false positives from knip reports

Signed-off-by: Kashish Mittal <kmittal@redhat.com>

* yarn dedupe

Signed-off-by: Kashish Mittal <kmittal@redhat.com>

* fix tests

Signed-off-by: Kashish Mittal <kmittal@redhat.com>

* fix failing tests

Signed-off-by: Kashish Mittal <kmittal@redhat.com>

* yarn dedupe

Signed-off-by: Kashish Mittal <kmittal@redhat.com>

---------

Signed-off-by: Kashish Mittal <kmittal@redhat.com>
2025-03-11 09:15:01 -05:00
..
.changeset Version Packages (#2789) 2025-02-02 11:29:50 -06:00
examples fix yarn prettier:check 2024-08-30 15:44:51 -04:00
packages clean-up: remove false positives from knip reports (#3018) 2025-03-11 09:15:01 -05:00
plugins clean-up: remove false positives from knip reports (#3018) 2025-03-11 09:15:01 -05:00
.dockerignore feat: migrate workspaces 2024-04-19 10:24:22 +02:00
.eslintignore feat: migrate workspaces 2024-04-19 10:24:22 +02:00
.eslintrc.js chore: fix workspace eslintrc files 2024-09-24 11:13:37 +02:00
.gitignore feat: migrate workspaces 2024-04-19 10:24:22 +02:00
.prettierignore feat: migrate workspaces 2024-04-19 10:24:22 +02:00
README.md add sonarqube example app 2024-08-30 15:36:25 -04:00
app-config.yaml Add filtering based on annotation presence for new FE system components (#2020) 2024-11-20 08:45:09 -06:00
backstage.json v1.35.1 version bump (#2785) 2025-02-02 11:10:55 -06:00
catalog-info.yaml feat: migrate workspaces 2024-04-19 10:24:22 +02:00
package.json clean-up: remove false positives from knip reports (#3018) 2025-03-11 09:15:01 -05:00
tsconfig.json feat: migrate workspaces 2024-04-19 10:24:22 +02:00
yarn.lock clean-up: remove false positives from knip reports (#3018) 2025-03-11 09:15:01 -05:00

README.md

Backstage

This is your newly scaffolded Backstage App, Good Luck!

For testing sonarqube, set the relevant env variables:

  1. Create an OAuth App in the GitHub organization with the callback URL set to http://localhost:7007/api/auth/github/handler/frame.
  2. Take the Client ID and Client Secret from the newly created app's settings page and put them into AUTH_GITHUB_CLIENT_ID and AUTH_GITHUB_CLIENT_SECRET environment variables.
  3. Generate a personal access token and put it into the GITHUB_TOKEN enviornment variable. You can generate a personal access token from your GitHub settings. It will need the repo and workflow scopes.

The backstage example entity has a populated sonarqube.org/project-key annotation, but you can modify this to point anywhere your credentials have access to for testing purposes.

To start the app, run:

yarn install
yarn dev