Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into azure-deps
Browse files Browse the repository at this point in the history
# Conflicts:
#	AspNetCore.Diagnostics.HealthChecks.sln
#	Directory.Build.props
#	build/versions.props
#	src/HealthChecks.AzureStorage/HealthChecks.AzureStorage.csproj
#	src/HealthChecks.Consul/HealthChecks.Consul.csproj
#	src/HealthChecks.EventStore.gRPC/HealthChecks.EventStore.gRPC.csproj
#	src/HealthChecks.Gremlin/HealthChecks.Gremlin.csproj
#	src/HealthChecks.Nats/HealthChecks.Nats.csproj
  • Loading branch information
sungam3r committed Feb 2, 2024
2 parents 8a98114 + 73abc7a commit b7f55be
Show file tree
Hide file tree
Showing 513 changed files with 7,329 additions and 7,965 deletions.
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"dotnet-ef": {
"version": "7.0.9",
"version": "8.0.0",
"commands": [
"dotnet-ef"
]
Expand Down
9 changes: 7 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@ updates:
- package-ecosystem: "nuget"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
groups:
dependencies:
update-types:
- "minor"
- "patch"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
23 changes: 5 additions & 18 deletions .github/workflows/healthchecks_applicationstatus_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,9 @@ on:

jobs:
build:
env:
uses: ./.github/workflows/reusable_cd_workflow.yml
secrets: inherit
with:
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.ApplicationStatus/HealthChecks.ApplicationStatus.csproj
- name: Build
run: dotnet build --no-restore ./src/HealthChecks.ApplicationStatus/HealthChecks.ApplicationStatus.csproj -c $BUILD_CONFIG
- name: Pack
run: dotnet pack --no-build ./src/HealthChecks.ApplicationStatus/HealthChecks.ApplicationStatus.csproj -c $BUILD_CONFIG -o ./artifacts
- name: Publish
run: dotnet nuget push ./artifacts/AspNetCore.HealthChecks.ApplicationStatus.*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate
PROJECT_PATH: ./src/HealthChecks.ApplicationStatus/HealthChecks.ApplicationStatus.csproj
PACKAGE_NAME: AspNetCore.HealthChecks.ApplicationStatus
25 changes: 6 additions & 19 deletions .github/workflows/healthchecks_applicationstatus_cd_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,10 @@ on:

jobs:
build:
env:
uses: ./.github/workflows/reusable_cd_preview_workflow.yml
secrets: inherit
with:
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.ApplicationStatus/HealthChecks.ApplicationStatus.csproj
- name: Build
run: dotnet build --no-restore ./src/HealthChecks.ApplicationStatus/HealthChecks.ApplicationStatus.csproj -c $BUILD_CONFIG
- name: Pack
run: dotnet pack --no-build ./src/HealthChecks.ApplicationStatus/HealthChecks.ApplicationStatus.csproj --version-suffix $VERSION_SUFFIX -c $BUILD_CONFIG -o ./artifacts
- name: Publish
run: dotnet nuget push ./artifacts/AspNetCore.HealthChecks.ApplicationStatus.*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate
VERSION_SUFFIX_PREFIX: rc1
PROJECT_PATH: ./src/HealthChecks.ApplicationStatus/HealthChecks.ApplicationStatus.csproj
PACKAGE_NAME: AspNetCore.HealthChecks.ApplicationStatus
43 changes: 7 additions & 36 deletions .github/workflows/healthchecks_applicationstatus_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
- test/HealthChecks.ApplicationStatus.Tests/**
- test/_SHARED/**
- .github/workflows/healthchecks_applicationstatus_ci.yml
- .github/workflows/reusable_ci_workflow.yml
- Directory.Build.props
- Directory.Build.targets
tags-ignore:
Expand All @@ -22,44 +23,14 @@ on:
- test/HealthChecks.ApplicationStatus.Tests/**
- test/_SHARED/**
- .github/workflows/healthchecks_applicationstatus_ci.yml
- .github/workflows/reusable_ci_workflow.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.ApplicationStatus/HealthChecks.ApplicationStatus.csproj &&
dotnet restore ./test/HealthChecks.ApplicationStatus.Tests/HealthChecks.ApplicationStatus.Tests.csproj
- name: Check formatting
run: |
dotnet format --no-restore --verify-no-changes --severity warn ./src/HealthChecks.ApplicationStatus/HealthChecks.ApplicationStatus.csproj || (echo "Run 'dotnet format' to fix issues" && exit 1) &&
dotnet format --no-restore --verify-no-changes --severity warn ./test/HealthChecks.ApplicationStatus.Tests/HealthChecks.ApplicationStatus.Tests.csproj || (echo "Run 'dotnet format' to fix issues" && exit 1)
- name: Build
run: |
dotnet build --no-restore ./src/HealthChecks.ApplicationStatus/HealthChecks.ApplicationStatus.csproj &&
dotnet build --no-restore ./test/HealthChecks.ApplicationStatus.Tests/HealthChecks.ApplicationStatus.Tests.csproj
- name: Test
run: >
dotnet test
./test/HealthChecks.ApplicationStatus.Tests/HealthChecks.ApplicationStatus.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: ApplicationStatus
directory: .coverage
uses: ./.github/workflows/reusable_ci_workflow.yml
with:
PROJECT_PATH: ./src/HealthChecks.ApplicationStatus/HealthChecks.ApplicationStatus.csproj
TEST_PROJECT_PATH: ./test/HealthChecks.ApplicationStatus.Tests/HealthChecks.ApplicationStatus.Tests.csproj
CODECOV_FLAGS: ApplicationStatus
23 changes: 5 additions & 18 deletions .github/workflows/healthchecks_arangodb_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,9 @@ on:

jobs:
build:
env:
uses: ./.github/workflows/reusable_cd_workflow.yml
secrets: inherit
with:
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.ArangoDb/HealthChecks.ArangoDb.csproj
- name: Build
run: dotnet build --no-restore ./src/HealthChecks.ArangoDb/HealthChecks.ArangoDb.csproj -c $BUILD_CONFIG
- name: Pack
run: dotnet pack --no-build ./src/HealthChecks.ArangoDb/HealthChecks.ArangoDb.csproj -c $BUILD_CONFIG -o ./artifacts
- name: Publish
run: dotnet nuget push ./artifacts/AspNetCore.HealthChecks.ArangoDb.*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate
PROJECT_PATH: ./src/HealthChecks.ArangoDb/HealthChecks.ArangoDb.csproj
PACKAGE_NAME: AspNetCore.HealthChecks.ArangoDb
25 changes: 6 additions & 19 deletions .github/workflows/healthchecks_arangodb_cd_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,10 @@ on:

jobs:
build:
env:
uses: ./.github/workflows/reusable_cd_preview_workflow.yml
secrets: inherit
with:
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.ArangoDb/HealthChecks.ArangoDb.csproj
- name: Build
run: dotnet build --no-restore ./src/HealthChecks.ArangoDb/HealthChecks.ArangoDb.csproj -c $BUILD_CONFIG
- name: Pack
run: dotnet pack --no-build ./src/HealthChecks.ArangoDb/HealthChecks.ArangoDb.csproj --version-suffix $VERSION_SUFFIX -c $BUILD_CONFIG -o ./artifacts
- name: Publish
run: dotnet nuget push ./artifacts/AspNetCore.HealthChecks.ArangoDb.*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate
VERSION_SUFFIX_PREFIX: rc1
PROJECT_PATH: ./src/HealthChecks.ArangoDb/HealthChecks.ArangoDb.csproj
PACKAGE_NAME: AspNetCore.HealthChecks.ArangoDb
3 changes: 2 additions & 1 deletion .github/workflows/healthchecks_arangodb_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,12 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
- name: Restore
run: |
dotnet restore ./src/HealthChecks.ArangoDb/HealthChecks.ArangoDb.csproj &&
Expand Down
23 changes: 5 additions & 18 deletions .github/workflows/healthchecks_aws_s3_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,9 @@ on:

jobs:
build:
env:
uses: ./.github/workflows/reusable_cd_workflow.yml
secrets: inherit
with:
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.Aws.S3/HealthChecks.Aws.S3.csproj
- name: Build
run: dotnet build --no-restore ./src/HealthChecks.Aws.S3/HealthChecks.Aws.S3.csproj -c $BUILD_CONFIG
- name: Pack
run: dotnet pack --no-build ./src/HealthChecks.Aws.S3/HealthChecks.Aws.S3.csproj -c $BUILD_CONFIG -o ./artifacts
- name: Publish
run: dotnet nuget push ./artifacts/AspNetCore.HealthChecks.Aws.S3.*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate
PROJECT_PATH: ./src/HealthChecks.Aws.S3/HealthChecks.Aws.S3.csproj
PACKAGE_NAME: AspNetCore.HealthChecks.Aws.S3
25 changes: 6 additions & 19 deletions .github/workflows/healthchecks_aws_s3_cd_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,10 @@ on:

jobs:
build:
env:
uses: ./.github/workflows/reusable_cd_preview_workflow.yml
secrets: inherit
with:
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.Aws.S3/HealthChecks.Aws.S3.csproj
- name: Build
run: dotnet build --no-restore ./src/HealthChecks.Aws.S3/HealthChecks.Aws.S3.csproj -c $BUILD_CONFIG
- name: Pack
run: dotnet pack --no-build ./src/HealthChecks.Aws.S3/HealthChecks.Aws.S3.csproj --version-suffix $VERSION_SUFFIX -c $BUILD_CONFIG -o ./artifacts
- name: Publish
run: dotnet nuget push ./artifacts/AspNetCore.HealthChecks.Aws.S3.*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate
VERSION_SUFFIX_PREFIX: rc1
PROJECT_PATH: ./src/HealthChecks.Aws.S3/HealthChecks.Aws.S3.csproj
PACKAGE_NAME: AspNetCore.HealthChecks.Aws.S3
43 changes: 7 additions & 36 deletions .github/workflows/healthchecks_aws_s3_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
- test/HealthChecks.Aws.S3.Tests/**
- test/_SHARED/**
- .github/workflows/healthchecks_aws_s3_ci.yml
- .github/workflows/reusable_ci_workflow.yml
- Directory.Build.props
- Directory.Build.targets
tags-ignore:
Expand All @@ -22,44 +23,14 @@ on:
- test/HealthChecks.Aws.S3.Tests/**
- test/_SHARED/**
- .github/workflows/healthchecks_aws_s3_ci.yml
- .github/workflows/reusable_ci_workflow.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.Aws.S3/HealthChecks.Aws.S3.csproj &&
dotnet restore ./test/HealthChecks.Aws.S3.Tests/HealthChecks.Aws.S3.Tests.csproj
- name: Check formatting
run: |
dotnet format --no-restore --verify-no-changes --severity warn ./src/HealthChecks.Aws.S3/HealthChecks.Aws.S3.csproj || (echo "Run 'dotnet format' to fix issues" && exit 1) &&
dotnet format --no-restore --verify-no-changes --severity warn ./test/HealthChecks.Aws.S3.Tests/HealthChecks.Aws.S3.Tests.csproj || (echo "Run 'dotnet format' to fix issues" && exit 1)
- name: Build
run: |
dotnet build --no-restore ./src/HealthChecks.Aws.S3/HealthChecks.Aws.S3.csproj &&
dotnet build --no-restore ./test/HealthChecks.Aws.S3.Tests/HealthChecks.Aws.S3.Tests.csproj
- name: Test
run: >
dotnet test
./test/HealthChecks.Aws.S3.Tests/HealthChecks.Aws.S3.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: Aws.S3
directory: .coverage
uses: ./.github/workflows/reusable_ci_workflow.yml
with:
PROJECT_PATH: ./src/HealthChecks.Aws.S3/HealthChecks.Aws.S3.csproj
TEST_PROJECT_PATH: ./test/HealthChecks.Aws.S3.Tests/HealthChecks.Aws.S3.Tests.csproj
CODECOV_FLAGS: Aws.S3
23 changes: 5 additions & 18 deletions .github/workflows/healthchecks_aws_secretsmanager_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,9 @@ on:

jobs:
build:
env:
uses: ./.github/workflows/reusable_cd_workflow.yml
secrets: inherit
with:
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.Aws.SecretsManager/HealthChecks.Aws.SecretsManager.csproj
- name: Build
run: dotnet build --no-restore ./src/HealthChecks.Aws.SecretsManager/HealthChecks.Aws.SecretsManager.csproj -c $BUILD_CONFIG
- name: Pack
run: dotnet pack --no-build ./src/HealthChecks.Aws.SecretsManager/HealthChecks.Aws.SecretsManager.csproj -c $BUILD_CONFIG -o ./artifacts
- name: Publish
run: dotnet nuget push ./artifacts/AspNetCore.HealthChecks.Aws.SecretsManager.*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate
PROJECT_PATH: ./src/HealthChecks.Aws.SecretsManager/HealthChecks.Aws.SecretsManager.csproj
PACKAGE_NAME: AspNetCore.HealthChecks.Aws.SecretsManager
25 changes: 6 additions & 19 deletions .github/workflows/healthchecks_aws_secretsmanager_cd_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,10 @@ on:

jobs:
build:
env:
uses: ./.github/workflows/reusable_cd_preview_workflow.yml
secrets: inherit
with:
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.Aws.SecretsManager/HealthChecks.Aws.SecretsManager.csproj
- name: Build
run: dotnet build --no-restore ./src/HealthChecks.Aws.SecretsManager/HealthChecks.Aws.SecretsManager.csproj -c $BUILD_CONFIG
- name: Pack
run: dotnet pack --no-build ./src/HealthChecks.Aws.SecretsManager/HealthChecks.Aws.SecretsManager.csproj --version-suffix $VERSION_SUFFIX -c $BUILD_CONFIG -o ./artifacts
- name: Publish
run: dotnet nuget push ./artifacts/AspNetCore.HealthChecks.Aws.SecretsManager.*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate
VERSION_SUFFIX_PREFIX: rc1
PROJECT_PATH: ./src/HealthChecks.Aws.SecretsManager/HealthChecks.Aws.SecretsManager.csproj
PACKAGE_NAME: AspNetCore.HealthChecks.Aws.SecretsManager
Loading

0 comments on commit b7f55be

Please sign in to comment.