Skip to content

Commit

Permalink
split Azure packages into dedicated nuget packages (#2038)
Browse files Browse the repository at this point in the history
* split AzureStorage into dedicated nuget packages

* split AzureServiceBus into dedicated nuget packages

* move HealthChecks.Azure.Data.Tables out of CosmosDb package

* bump versions

* polishing

* minor HealthChecks.Azure.KeyVault.Secrets fixes

* introduce ConformanceTests and align existing Azure packages to the new pattern

* fix the tests

* adjust remaining projects

* test fixes

* polishing

* don't remove HealthChecks.AzureServiceBus package, just move Event Hubs out of it

* Apply suggestions from code review
  • Loading branch information
adamsitnik authored Sep 19, 2023
1 parent 7060bdd commit cef00dd
Show file tree
Hide file tree
Showing 108 changed files with 2,705 additions and 3,980 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/healthchecks_azure_blobstorage_cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: HealthChecks Azure Blob Storage CD

on:
push:
tags:
- release-azureblobstorage-*
- release-all-*

jobs:
build:
uses: ./.github/workflows/reusable_cd_workflow.yml
secrets: inherit
with:
BUILD_CONFIG: Release
PROJECT_PATH: ./src/HealthChecks.Azure.Storage.Blobs/HealthChecks.Azure.Storage.Blobs.csproj
PACKAGE_NAME: AspNetCore.HealthChecks.Azure.Storage.Blobs
17 changes: 17 additions & 0 deletions .github/workflows/healthchecks_azure_blobstorage_cd_preview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: HealthChecks Azure Blob Storage Preview CD

on:
push:
tags:
- preview-azureblobstorage-*
- preview-all-*

jobs:
build:
uses: ./.github/workflows/reusable_cd_preview_workflow.yml
secrets: inherit
with:
BUILD_CONFIG: Release
VERSION_SUFFIX_PREFIX: rc1
PROJECT_PATH: ./src/HealthChecks.Azure.Storage.Blobs/HealthChecks.Azure.Storage.Blobs.csproj
PACKAGE_NAME: AspNetCore.HealthChecks.Azure.Storage.Blobs
37 changes: 37 additions & 0 deletions .github/workflows/healthchecks_azure_blobstorage_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: HealthChecks Azure Blob Storage CI

on:
workflow_dispatch:
push:
branches: [ master ]
paths:
- src/HealthChecks.Azure.Storage.Blobs/**
- test/HealthChecks.Azure.Storage.Blobs.Tests/**
- test/_SHARED/**
- .github/workflows/healthchecks_azure_blobstorage_ci.yml
- .github/workflows/reusable_ci_workflow.yml
- Directory.Build.props
- Directory.Build.targets
tags-ignore:
- release-*
- preview-*

pull_request:
branches: [ master ]
paths:
- src/HealthChecks.Azure.Storage.Blobs/**
- test/HealthChecks.Azure.Storage.Blobs.Tests/**
- test/_SHARED/**
- .github/workflows/healthchecks_azure_blobstorage_ci.yml
- .github/workflows/reusable_ci_workflow.yml
- Directory.Build.props
- Directory.Build.targets

jobs:
build:
uses: ./.github/workflows/reusable_ci_workflow.yml
with:
PROJECT_PATH: ./src/HealthChecks.Azure.Storage.Blobs/HealthChecks.Azure.Storage.Blobs.csproj
TEST_PROJECT_PATH: ./test/HealthChecks.Azure.Storage.Blobs.Tests/HealthChecks.Azure.Storage.Blobs.Tests.csproj
CODECOV_FLAGS: AzureBlobStorage

16 changes: 16 additions & 0 deletions .github/workflows/healthchecks_azure_filestorage_cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: HealthChecks Azure File Storage CD

on:
push:
tags:
- release-azurefilestorage-*
- release-all-*

jobs:
build:
uses: ./.github/workflows/reusable_cd_workflow.yml
secrets: inherit
with:
BUILD_CONFIG: Release
PROJECT_PATH: ./src/HealthChecks.Azure.Storage.Files.Shares/HealthChecks.Azure.Storage.Files.Shares.csproj
PACKAGE_NAME: AspNetCore.HealthChecks.Azure.Storage.Files.Shares
17 changes: 17 additions & 0 deletions .github/workflows/healthchecks_azure_filestorage_cd_preview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: HealthChecks Azure File Storage Preview CD

on:
push:
tags:
- preview-azurefilestorage-*
- preview-all-*

jobs:
build:
uses: ./.github/workflows/reusable_cd_preview_workflow.yml
secrets: inherit
with:
BUILD_CONFIG: Release
VERSION_SUFFIX_PREFIX: rc1
PROJECT_PATH: ./src/HealthChecks.Azure.Storage.Files.Shares/HealthChecks.Azure.Storage.Files.Shares.csproj
PACKAGE_NAME: AspNetCore.HealthChecks.Azure.Storage.Files.Shares
37 changes: 37 additions & 0 deletions .github/workflows/healthchecks_azure_filestorage_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: HealthChecks Azure File Storage CI

on:
workflow_dispatch:
push:
branches: [ master ]
paths:
- src/HealthChecks.Azure.Storage.Files.Shares/**
- test/HealthChecks.Azure.Storage.Files.Shares.Tests/**
- test/_SHARED/**
- .github/workflows/healthchecks_azure_filestorage_ci.yml
- .github/workflows/reusable_ci_workflow.yml
- Directory.Build.props
- Directory.Build.targets
tags-ignore:
- release-*
- preview-*

pull_request:
branches: [ master ]
paths:
- src/HealthChecks.Azure.Storage.Files.Shares/**
- test/HealthChecks.Azure.Storage.Files.Shares.Tests/**
- test/_SHARED/**
- .github/workflows/healthchecks_azure_filestorage_ci.yml
- .github/workflows/reusable_ci_workflow.yml
- Directory.Build.props
- Directory.Build.targets

jobs:
build:
uses: ./.github/workflows/reusable_ci_workflow.yml
with:
PROJECT_PATH: ./src/HealthChecks.Azure.Storage.Files.Shares/HealthChecks.Azure.Storage.Files.Shares.csproj
TEST_PROJECT_PATH: ./test/HealthChecks.Azure.Storage.Files.Shares.Tests/HealthChecks.Azure.Storage.Files.Shares.Tests.csproj
CODECOV_FLAGS: AzureFileStorage

16 changes: 16 additions & 0 deletions .github/workflows/healthchecks_azure_queuestorage_cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: HealthChecks Azure Blob Storage CD

on:
push:
tags:
- release-azurequeuestorage-*
- release-all-*

jobs:
build:
uses: ./.github/workflows/reusable_cd_workflow.yml
secrets: inherit
with:
BUILD_CONFIG: Release
PROJECT_PATH: ./src/HealthChecks.Azure.Storage.Queues/HealthChecks.Azure.Storage.Queues.csproj
PACKAGE_NAME: AspNetCore.HealthChecks.Azure.Storage.Queues
17 changes: 17 additions & 0 deletions .github/workflows/healthchecks_azure_queuestorage_cd_preview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: HealthChecks Azure Queue Storage Preview CD

on:
push:
tags:
- preview-azurequeuestorage-*
- preview-all-*

jobs:
build:
uses: ./.github/workflows/reusable_cd_preview_workflow.yml
secrets: inherit
with:
BUILD_CONFIG: Release
VERSION_SUFFIX_PREFIX: rc1
PROJECT_PATH: ./src/HealthChecks.Azure.Storage.Queues/HealthChecks.Azure.Storage.Queues.csproj
PACKAGE_NAME: AspNetCore.HealthChecks.Azure.Storage.Queues
37 changes: 37 additions & 0 deletions .github/workflows/healthchecks_azure_queuestorage_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: HealthChecks Azure Queue Storage CI

on:
workflow_dispatch:
push:
branches: [ master ]
paths:
- src/HealthChecks.Azure.Storage.Queues/**
- test/HealthChecks.Azure.Storage.Queues.Tests/**
- test/_SHARED/**
- .github/workflows/healthchecks_azure_queuestorage_ci.yml
- .github/workflows/reusable_ci_workflow.yml
- Directory.Build.props
- Directory.Build.targets
tags-ignore:
- release-*
- preview-*

pull_request:
branches: [ master ]
paths:
- src/HealthChecks.Azure.Storage.Queues/**
- test/HealthChecks.Azure.Storage.Queues.Tests/**
- test/_SHARED/**
- .github/workflows/healthchecks_azure_queuestorage_ci.yml
- .github/workflows/reusable_ci_workflow.yml
- Directory.Build.props
- Directory.Build.targets

jobs:
build:
uses: ./.github/workflows/reusable_ci_workflow.yml
with:
PROJECT_PATH: ./src/HealthChecks.Azure.Storage.Queues/HealthChecks.Azure.Storage.Queues.csproj
TEST_PROJECT_PATH: ./test/HealthChecks.Azure.Storage.Queues.Tests/HealthChecks.Azure.Storage.Queues.Tests.csproj
CODECOV_FLAGS: AzureQueueStorage

16 changes: 16 additions & 0 deletions .github/workflows/healthchecks_azure_tables_cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: HealthChecks Azure Table Storage CD

on:
push:
tags:
- release-azuretablestorage-*
- release-all-*

jobs:
build:
uses: ./.github/workflows/reusable_cd_workflow.yml
secrets: inherit
with:
BUILD_CONFIG: Release
PROJECT_PATH: ./src/HealthChecks.Azure.Data.Tables/HealthChecks.Azure.Data.Tables.csproj
PACKAGE_NAME: AspNetCore.HealthChecks.Azure.Data.Tables
17 changes: 17 additions & 0 deletions .github/workflows/healthchecks_azure_tables_cd_preview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: HealthChecks Azure Table Storage Preview CD

on:
push:
tags:
- preview-azuretablestorage-*
- preview-all-*

jobs:
build:
uses: ./.github/workflows/reusable_cd_preview_workflow.yml
secrets: inherit
with:
BUILD_CONFIG: Release
VERSION_SUFFIX_PREFIX: rc1
PROJECT_PATH: ./src/HealthChecks.Azure.Data.Tables/HealthChecks.Azure.Data.Tables.csproj
PACKAGE_NAME: AspNetCore.HealthChecks.Azure.Data.Tables
37 changes: 37 additions & 0 deletions .github/workflows/healthchecks_azure_tables_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: HealthChecks Azure Table Storage CI

on:
workflow_dispatch:
push:
branches: [ master ]
paths:
- src/HealthChecks.Azure.Data.Tables/**
- test/HealthChecks.Azure.Data.Tables.Tests/**
- test/_SHARED/**
- .github/workflows/healthchecks_azure_tables_ci.yml
- .github/workflows/reusable_ci_workflow.yml
- Directory.Build.props
- Directory.Build.targets
tags-ignore:
- release-*
- preview-*

pull_request:
branches: [ master ]
paths:
- src/HealthChecks.Azure.Data.Tables/**
- test/HealthChecks.Azure.Data.Tables.Tests/**
- test/_SHARED/**
- .github/workflows/healthchecks_azure_tables_ci.yml
- .github/workflows/reusable_ci_workflow.yml
- Directory.Build.props
- Directory.Build.targets

jobs:
build:
uses: ./.github/workflows/reusable_ci_workflow.yml
with:
PROJECT_PATH: ./src/HealthChecks.Azure.Data.Tables/HealthChecks.Azure.Data.Tables.csproj
TEST_PROJECT_PATH: ./test/HealthChecks.Azure.Data.Tables.Tests/HealthChecks.Azure.Data.Tables.Tests.csproj
CODECOV_FLAGS: AzureTableStorage

16 changes: 16 additions & 0 deletions .github/workflows/healthchecks_azureeventhubs_cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: HealthChecks Azure EventHubs CD

on:
push:
tags:
- release-azureeventhubs-*
- release-all-*

jobs:
build:
uses: ./.github/workflows/reusable_cd_workflow.yml
secrets: inherit
with:
BUILD_CONFIG: Release
PROJECT_PATH: ./src/HealthChecks.Azure.Messaging.EventHubs/HealthChecks.Azure.Messaging.EventHubs.csproj
PACKAGE_NAME: HealthChecks.Azure.Messaging.EventHubs
17 changes: 17 additions & 0 deletions .github/workflows/healthchecks_azureeventhubs_cd_preview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: HealthChecks Azure EventHubs Preview CD

on:
push:
tags:
- preview-azureeventhubs-*
- preview-all-*

jobs:
build:
uses: ./.github/workflows/reusable_cd_preview_workflow.yml
secrets: inherit
with:
BUILD_CONFIG: Release
VERSION_SUFFIX_PREFIX: rc1
PROJECT_PATH: ./src/HealthChecks.Azure.Messaging.EventHubs/HealthChecks.Azure.Messaging.EventHubs.csproj
PACKAGE_NAME: AspNetCore.HealthChecks.Azure.Messaging.EventHubs
37 changes: 37 additions & 0 deletions .github/workflows/healthchecks_azureeventhubs_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: HealthChecks Azure EventHubs CI

on:
workflow_dispatch:
push:
branches: [ master ]
paths:
- src/HealthChecks.Azure.Messaging.EventHubs/**
- test/HealthChecks.Azure.Messaging.EventHubs.Tests/**
- test/_SHARED/**
- .github/workflows/healthchecks_azureeventhubs_ci.yml
- .github/workflows/reusable_ci_workflow.yml
- Directory.Build.props
- Directory.Build.targets
tags-ignore:
- release-*
- preview-*

pull_request:
branches: [ master ]
paths:
- src/HealthChecks.Azure.Messaging.EventHubs/**
- test/HealthChecks.Azure.Messaging.EventHubs.Tests/**
- test/_SHARED/**
- .github/workflows/healthchecks_azureeventhubs_ci.yml
- .github/workflows/reusable_ci_workflow.yml
- Directory.Build.props
- Directory.Build.targets

jobs:
build:
uses: ./.github/workflows/reusable_ci_workflow.yml
with:
PROJECT_PATH: ./src/HealthChecks.Azure.Messaging.EventHubs/HealthChecks.Azure.Messaging.EventHubs.csproj
TEST_PROJECT_PATH: ./test/HealthChecks.Azure.Messaging.EventHubs.Tests/HealthChecks.Azure.Messaging.EventHubs.Tests.csproj
CODECOV_FLAGS: AzureEventHubs

Loading

0 comments on commit cef00dd

Please sign in to comment.