Skip to content

Commit

Permalink
[COST-4631] - remove sonarcloud integration (#4894)
Browse files Browse the repository at this point in the history
  • Loading branch information
maskarb authored Feb 5, 2024
1 parent d8f1f27 commit ab646dc
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 62 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ jobs:
.github/scripts/check_migrations.sh
.github/workflows/ci.yml
Pipfile.lock
sonar-project.properties
- name: Check files or fork
id: check-files-or-fork
Expand Down Expand Up @@ -284,28 +283,3 @@ jobs:
run: |
gh api "/repos/project-koku/koku/statuses/${{ github.event.pull_request.head.sha }}" -f description="codecov skipped because unit tests were not required" -f context="codecov/patch" -f state="success"
gh api "/repos/project-koku/koku/statuses/${{ github.event.pull_request.head.sha }}" -f description="codecov skipped because unit tests were not required" -f context="codecov/project" -f state="success"
sonarcloud:
name: SonarCloud
needs: [changed-files,units]
runs-on: ubuntu-20.04
steps:

- name: Checkout
# this checkout is required for the coverage report. If we don't do this, then
# the uploaded report is invalid and codecov doesn't know how to process it.
uses: actions/[email protected]
with:
fetch-depth: 0

- name: Download coverage result from units
if: needs.changed-files.outputs.run_tests == 'true'
uses: actions/download-artifact@v3
with:
name: coverage

- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
6 changes: 0 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -145,12 +145,6 @@ dev/*.yml
# unleash cache
.unleash/cache/

#sonarqube
sonarqube/
.scannerwork/
.bash_history
?/

# performance profiling
/koku.iml
/view.prof
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -268,9 +268,6 @@ unleash-import-drop:
curl -X POST -H "Content-Type: application/json" -H "Authorization: Basic YWRtaW46" \
-s -d @.unleash/flags.json http://localhost:4242/api/admin/state/import?drop=true

scan_project:
./sonarqube.sh

clowdapp: kustomize
$(KUSTOMIZE) build deploy/kustomize > deploy/clowdapp.yaml

Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
[![license](https://img.shields.io/github/license/project-koku/koku.svg)](https://github.com/project-koku/koku/blob/main/LICENSE)
[![CI](https://github.com/project-koku/koku/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/project-koku/koku/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/project-koku/koku/branch/main/graph/badge.svg)](https://codecov.io/gh/project-koku/koku)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=project-koku_koku&metric=coverage)](https://sonarcloud.io/summary/new_code?id=project-koku_koku)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=project-koku_koku&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=project-koku_koku)

## About

Expand Down
25 changes: 0 additions & 25 deletions sonar-project.properties

This file was deleted.

0 comments on commit ab646dc

Please sign in to comment.