-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1462 from bcgov/test
merge test to master for IS27 BVT release.
- Loading branch information
Showing
351 changed files
with
46,931 additions
and
25,695 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 |
---|---|---|
|
@@ -12,6 +12,7 @@ jobs: | |
env: | ||
working-directory: ./backend | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GIT_BRANCH: "${{github.ref}}" | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
@@ -24,7 +25,7 @@ jobs: | |
- name: Setup .NET 6 | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: '6.0.x' | ||
dotnet-version: "6.0.x" | ||
|
||
- name: Install dependencies | ||
run: dotnet restore | ||
|
@@ -115,6 +116,19 @@ jobs: | |
# The SonarQube server URL. For SonarCloud, skip this setting. | ||
sonarHostname: ${{secrets.SONAR_URL}} | ||
|
||
# Send notifications only if MS_TEAMS_NOTIFY_URL secret has been set | ||
- name: Failure notification to Teams Channel | ||
env: | ||
MS_TEAMS_NOTIFY_URL: ${{ secrets.MS_TEAMS_NOTIFY_URL }} | ||
if: env.MS_TEAMS_NOTIFY_URL != '' && failure() && steps.scan.outcome == 'failure' && github.event_name == 'push' | ||
uses: jdcargile/[email protected] | ||
with: | ||
github-token: ${{ github.token }} | ||
ms-teams-webhook-uri: ${{ env.MS_TEAMS_NOTIFY_URL }} | ||
notification-summary: PIMS Sonar Scan FAILED in ${{env.GIT_BRANCH}} environment | ||
notification-color: ff0000 | ||
timezone: America/Los_Angeles | ||
|
||
- name: Find Comment | ||
if: failure() && steps.scan.outcome == 'failure' && github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository | ||
uses: peter-evans/find-comment@v1 | ||
|
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 |
---|---|---|
|
@@ -12,6 +12,7 @@ jobs: | |
env: | ||
CI: true | ||
working-directory: ./frontend | ||
GIT_BRANCH: "${{github.ref}}" | ||
|
||
strategy: | ||
matrix: | ||
|
@@ -73,6 +74,19 @@ jobs: | |
-Dsonar.projectName=${{env.PROJECT_NAME}} | ||
-Dsonar.qualitygate.wait=true | ||
# Send notifications only if MS_TEAMS_NOTIFY_URL secret has been set | ||
- name: Failure notification to Teams Channel | ||
env: | ||
MS_TEAMS_NOTIFY_URL: ${{ secrets.MS_TEAMS_NOTIFY_URL }} | ||
if: env.MS_TEAMS_NOTIFY_URL != '' && failure() && steps.scan.outcome == 'failure' && github.event_name == 'push' | ||
uses: jdcargile/[email protected] | ||
with: | ||
github-token: ${{ github.token }} | ||
ms-teams-webhook-uri: ${{ env.MS_TEAMS_NOTIFY_URL }} | ||
notification-summary: PIMS Sonar Scan FAILED in ${{env.GIT_BRANCH}} environment | ||
notification-color: ff0000 | ||
timezone: America/Los_Angeles | ||
|
||
- name: Find Comment | ||
if: failure() && steps.scan.outcome == 'failure' && github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository | ||
uses: peter-evans/find-comment@v1 | ||
|
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
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
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
This file was deleted.
Oops, something went wrong.
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
45 changes: 0 additions & 45 deletions
45
backend/api/Areas/Leases/Models/Lease/OrganizationModel.cs
This file was deleted.
Oops, something went wrong.
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
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
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
Oops, something went wrong.