Skip to content

Integrated SonarCloud, dropped CodeClimate, fixed on-pr-closed workflow, dropped CodeQL workflow - #351

Merged
kyle1morel merged 4 commits into
masterfrom
chore/sonar-cloud
Aug 20, 2025
Merged

Integrated SonarCloud, dropped CodeClimate, fixed on-pr-closed workflow, dropped CodeQL workflow#351
kyle1morel merged 4 commits into
masterfrom
chore/sonar-cloud

Conversation

@qhanson55

@qhanson55 qhanson55 commented Aug 18, 2025

Copy link
Copy Markdown
Contributor

Description

Removed Code Climate and integrated SonarCloud
PADS-614

Fixed on-pr-closed workflow, PADS-612
Now all OpenShift resources are being removed with helm command, new pipeline SA was missing admin role to remove a PR's Patroni RBAC.
Note: No change to code for this, just had to add new role binding on OpenShift for the pipeline SA.

Also dropped the CodeQL workflow file and switch over to CodeQL defaults

Referenced nr-peach for all these changes

Types of changes

Tech debt
&
Bug fix (non-breaking change which fixes an issue)

Checklist

  • I have read the CONTRIBUTING doc
  • I have checked that unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

Coverage Report (Application)

Totals Coverage
Statements: 46.35% ( 2383 / 5141 )
Methods: 34.36% ( 291 / 847 )
Lines: 60.51% ( 1675 / 2768 )
Branches: 27.33% ( 417 / 1526 )

@github-actions

github-actions Bot commented Aug 19, 2025

Copy link
Copy Markdown

Coverage Report (Frontend)

Totals Coverage
Statements: 41.33% ( 4030 / 9750 )
Methods: 29.51% ( 496 / 1681 )
Lines: 50.13% ( 2526 / 5039 )
Branches: 33.27% ( 1008 / 3030 )

@qhanson55 qhanson55 closed this Aug 19, 2025
@qhanson55 qhanson55 reopened this Aug 19, 2025
@qhanson55 qhanson55 closed this Aug 19, 2025
@qhanson55 qhanson55 reopened this Aug 19, 2025
@qhanson55 qhanson55 closed this Aug 19, 2025
@qhanson55 qhanson55 reopened this Aug 20, 2025
Referenced nr-peach for these changes
Aligns with new bcgov standard/ability to use github default setup
Only adds comment if GitHub event is a pull request, previously push events would run this still.
@qhanson55 qhanson55 closed this Aug 20, 2025
@qhanson55 qhanson55 reopened this Aug 20, 2025
@qhanson55
qhanson55 marked this pull request as ready for review August 20, 2025 16:06
@qhanson55
qhanson55 requested a review from a team as a code owner August 20, 2025 16:06
@qhanson55 qhanson55 changed the title Made necessary code changes for SonarCloud Integrated SonarCloud, dropped CodeClimate, fixed on-pr-closed workflow, dropped CodeQL workflow Aug 20, 2025
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed for 'nr-permitconnect-navigator-service frontend'

Failed conditions
2 Security Hotspots
44.4% Coverage on New Code (required ≥ 80%)
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed for 'nr-permitconnect-navigator-service app'

Failed conditions
46.7% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@kyle1morel
kyle1morel merged commit bae359e into master Aug 20, 2025
19 of 21 checks passed
@kyle1morel
kyle1morel deleted the chore/sonar-cloud branch August 20, 2025 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants