generated from bcgov/quickstart-openshift
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: updating cove coverage report (#197)
* fix: updating cove coverage report * chore: updating unit tests * fix: fixing coverage report * fix: removing report from main and changed token
- Loading branch information
1 parent
c393b65
commit 9b7009a
Showing
3 changed files
with
11 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,14 +40,6 @@ jobs: | |
-Dsonar.tests=test | ||
sonar_token: ${{ secrets.SONAR_TOKEN_BACKEND }} | ||
|
||
- name: Report code coverage | ||
uses: romeovs/[email protected] | ||
with: | ||
title: Backend coverage report | ||
delete-old-comments: true | ||
github-token: ${{ secrets.GHCR_TOKEN }} | ||
lcov-file: ./backend/coverage/lcov.info | ||
|
||
codeql: | ||
name: Semantic Code Analysis | ||
runs-on: ubuntu-22.04 | ||
|
@@ -94,8 +86,7 @@ jobs: | |
oc_token: ${{ secrets.OC_TOKEN }} | ||
overwrite: false | ||
penetration_test: false | ||
parameters: | ||
-p ZONE=${{ env.ZONE }} -p NAME=${{ github.event.repository.name }} | ||
parameters: -p ZONE=${{ env.ZONE }} -p NAME=${{ github.event.repository.name }} | ||
|
||
deploy-test-backend: | ||
name: Deploy Backend on Test Env | ||
|
@@ -115,7 +106,7 @@ jobs: | |
oc_server: ${{ secrets.OC_SERVER }} | ||
oc_token: ${{ secrets.OC_TOKEN }} | ||
overwrite: true | ||
penetration_test: true | ||
penetration_test: true | ||
parameters: | ||
-p ZONE=${{ env.ZONE }} -p NAME=${{ github.event.repository.name }} | ||
-p PROMOTE=${{ github.repository }}/backend:${{ env.ZONE }} | ||
|
@@ -147,8 +138,7 @@ jobs: | |
oc_token: ${{ secrets.OC_TOKEN }} | ||
overwrite: false | ||
penetration_test: false | ||
parameters: | ||
-p ZONE=${{ env.ZONE }} -p NAME=${{ github.event.repository.name }} | ||
parameters: -p ZONE=${{ env.ZONE }} -p NAME=${{ github.event.repository.name }} | ||
|
||
deploy-prod-backend: | ||
name: Deploy Backend on Prod Env | ||
|
@@ -169,7 +159,7 @@ jobs: | |
oc_server: ${{ secrets.OC_SERVER }} | ||
oc_token: ${{ secrets.OC_TOKEN }} | ||
overwrite: true | ||
penetration_test: true | ||
penetration_test: true | ||
parameters: | ||
-p ZONE=${{ env.ZONE }} -p NAME=${{ github.event.repository.name }} | ||
-p PROMOTE=${{ github.repository }}/backend:${{ env.PREV }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"sonarlint.connectedMode.project": { | ||
"connectionId": "bcgov-sonarcloud", | ||
"projectKey": "bcgov_nr-old-growth" | ||
} | ||
} |