community-plugins/workspaces/sonarqube
Backstage Service Account 34151892c0
Version Packages (#1454)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-29 16:43:21 +02:00
..
.changeset Version Packages (#1454) 2024-09-29 16:43:21 +02:00
examples fix yarn prettier:check 2024-08-30 15:44:51 -04:00
packages Version Packages (#1454) 2024-09-29 16:43:21 +02:00
plugins Version Packages (#1454) 2024-09-29 16:43:21 +02:00
.dockerignore
.eslintignore
.eslintrc.js chore: fix workspace eslintrc files 2024-09-24 11:13:37 +02:00
.gitignore
.prettierignore
README.md add sonarqube example app 2024-08-30 15:36:25 -04:00
app-config.yaml fix yarn prettier:check 2024-08-30 15:44:51 -04:00
backstage.json sonarqube - version:bump to v1.31.2 (#1365) 2024-09-29 16:29:33 +02:00
catalog-info.yaml
package.json sonarqube - version:bump to v1.31.2 (#1365) 2024-09-29 16:29:33 +02:00
tsconfig.json
yarn.lock sonarqube - version:bump to v1.31.2 (#1365) 2024-09-29 16:29:33 +02: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