-
Notifications
You must be signed in to change notification settings - Fork 801
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into ClickHouse
# Conflicts: # AspNetCore.Diagnostics.HealthChecks.sln # README.md
- Loading branch information
Showing
94 changed files
with
2,563 additions
and
1,361 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
29 changes: 29 additions & 0 deletions
29
.github/workflows/healthchecks_azureapplicationinsights_cd.yml
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,29 @@ | ||
name: HealthChecks AzureApplicationInsights CD | ||
|
||
on: | ||
push: | ||
tags: | ||
- release-azureapplicationinsights-* | ||
- release-all-* | ||
|
||
jobs: | ||
build: | ||
env: | ||
BUILD_CONFIG: Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: | | ||
6.0.x | ||
7.0.x | ||
- name: Restore | ||
run: dotnet restore ./src/HealthChecks.AzureApplicationInsights/HealthChecks.AzureApplicationInsights.csproj | ||
- name: Build | ||
run: dotnet build --no-restore ./src/HealthChecks.AzureApplicationInsights/HealthChecks.AzureApplicationInsights.csproj -c $BUILD_CONFIG | ||
- name: Pack | ||
run: dotnet pack --no-build ./src/HealthChecks.AzureApplicationInsights/HealthChecks.AzureApplicationInsights.csproj -c $BUILD_CONFIG -o ./artifacts | ||
- name: Publish | ||
run: dotnet nuget push ./artifacts/AspNetCore.HealthChecks.AzureApplicationInsights.*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate |
30 changes: 30 additions & 0 deletions
30
.github/workflows/healthchecks_azureapplicationinsights_cd_preview.yml
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,30 @@ | ||
name: HealthChecks AzureApplicationInsights Preview CD | ||
|
||
on: | ||
push: | ||
tags: | ||
- preview-azureapplicationinsights-* | ||
- preview-all-* | ||
|
||
jobs: | ||
build: | ||
env: | ||
BUILD_CONFIG: Release | ||
VERSION_SUFFIX: rc2.${{ github.run_number }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: | | ||
6.0.x | ||
7.0.x | ||
- name: Restore | ||
run: dotnet restore ./src/HealthChecks.AzureApplicationInsights/HealthChecks.AzureApplicationInsights.csproj | ||
- name: Build | ||
run: dotnet build --no-restore ./src/HealthChecks.AzureApplicationInsights/HealthChecks.AzureApplicationInsights.csproj -c $BUILD_CONFIG | ||
- name: Pack | ||
run: dotnet pack --no-build ./src/HealthChecks.AzureApplicationInsights/HealthChecks.AzureApplicationInsights.csproj --version-suffix $VERSION_SUFFIX -c $BUILD_CONFIG -o ./artifacts | ||
- name: Publish | ||
run: dotnet nuget push ./artifacts/AspNetCore.HealthChecks.AzureApplicationInsights.*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate |
65 changes: 65 additions & 0 deletions
65
.github/workflows/healthchecks_azureapplicationinsights_ci.yml
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,65 @@ | ||
name: HealthChecks AzureApplicationInsights CI | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: [ master ] | ||
paths: | ||
- src/HealthChecks.AzureApplicationInsights/** | ||
- test/HealthChecks.AzureApplicationInsights.Tests/** | ||
- test/_SHARED/** | ||
- .github/workflows/healthchecks_azureapplicationinsights_ci.yml | ||
- Directory.Build.props | ||
- Directory.Build.targets | ||
tags-ignore: | ||
- release-* | ||
- preview-* | ||
|
||
pull_request: | ||
branches: [ master ] | ||
paths: | ||
- src/HealthChecks.AzureApplicationInsights/** | ||
- test/HealthChecks.AzureApplicationInsights.Tests/** | ||
- test/_SHARED/** | ||
- .github/workflows/healthchecks_azureapplicationinsights_ci.yml | ||
- Directory.Build.props | ||
- Directory.Build.targets | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: | | ||
6.0.x | ||
7.0.x | ||
- name: Restore | ||
run: | | ||
dotnet restore ./src/HealthChecks.AzureApplicationInsights/HealthChecks.AzureApplicationInsights.csproj && | ||
dotnet restore ./test/HealthChecks.AzureApplicationInsights.Tests/HealthChecks.AzureApplicationInsights.Tests.csproj | ||
- name: Check formatting | ||
run: | | ||
dotnet format --no-restore --verify-no-changes --severity warn ./src/HealthChecks.AzureApplicationInsights/HealthChecks.AzureApplicationInsights.csproj || (echo "Run 'dotnet format' to fix issues" && exit 1) && | ||
dotnet format --no-restore --verify-no-changes --severity warn ./test/HealthChecks.AzureApplicationInsights.Tests/HealthChecks.AzureApplicationInsights.Tests.csproj || (echo "Run 'dotnet format' to fix issues" && exit 1) | ||
- name: Build | ||
run: | | ||
dotnet build --no-restore ./src/HealthChecks.AzureApplicationInsights/HealthChecks.AzureApplicationInsights.csproj && | ||
dotnet build --no-restore ./test/HealthChecks.AzureApplicationInsights.Tests/HealthChecks.AzureApplicationInsights.Tests.csproj | ||
- name: Test | ||
run: > | ||
dotnet test | ||
./test/HealthChecks.AzureApplicationInsights.Tests/HealthChecks.AzureApplicationInsights.Tests.csproj | ||
--no-restore | ||
--no-build | ||
--collect "XPlat Code Coverage" | ||
--results-directory .coverage | ||
-- | ||
DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=opencover | ||
- name: Upload Coverage | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
flags: AzureApplicationInsights | ||
directory: .coverage |
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ on: | |
tags: | ||
- preview-influxdb-* | ||
- preview-all-* | ||
|
||
jobs: | ||
build: | ||
env: | ||
|
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.