-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: rename crabimport api to import api
- Loading branch information
Showing
22 changed files
with
29 additions
and
89 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
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 |
---|---|---|
|
@@ -85,17 +85,17 @@ jobs: | |
dotnet-version: ${{ vars.VBR_DOTNET_VERSION_8 }} | ||
secrets: inherit | ||
|
||
build-api-crab-import: | ||
name: Build Api CrabImport | ||
build-api-import: | ||
name: Build Api Import | ||
uses: Informatievlaanderen/build-pipeline/.github/workflows/build-image.yml@main | ||
needs: [ set-release-version ] | ||
if: ${{ (github.repository_owner == 'Informatievlaanderen') && (needs.set-release-version.outputs.version != 'none') }} | ||
with: | ||
registry: ${{ vars.VBR_DEVOPS_DOCKER_REGISTRY }}/postal-registry | ||
image-file: pr-api-crab-import-image.tar | ||
image-name: api-crab-import | ||
image-file: pr-api-import-image.tar | ||
image-name: api-import | ||
test-project: PostalRegistry.Tests | ||
build-project: PostalRegistry.Api.CrabImport | ||
build-project: PostalRegistry.Api.Import | ||
semver: ${{ needs.set-release-version.outputs.version }} | ||
dotnet-version: ${{ vars.VBR_DOTNET_VERSION_8 }} | ||
secrets: inherit | ||
|
@@ -214,19 +214,6 @@ jobs: | |
dotnet-version: ${{ vars.VBR_DOTNET_VERSION_8 }} | ||
secrets: inherit | ||
|
||
pack-api-crab-import: | ||
name: Pack Api CrabImport | ||
uses: Informatievlaanderen/build-pipeline/.github/workflows/pack.yml@main | ||
needs: [ set-release-version ] | ||
if: ${{ (github.repository_owner == 'Informatievlaanderen') && (needs.set-release-version.outputs.version != 'none') }} | ||
with: | ||
pack-file: Be.Vlaanderen.Basisregisters.PostalRegistry.Api.CrabImport | ||
test-project: PostalRegistry.Tests | ||
build-project: PostalRegistry.Api.CrabImport | ||
semver: ${{ needs.set-release-version.outputs.version }} | ||
dotnet-version: ${{ vars.VBR_DOTNET_VERSION_8 }} | ||
secrets: inherit | ||
|
||
release: | ||
if: ${{ (github.repository_owner == 'Informatievlaanderen') && (needs.set-release-version.outputs.version != 'none') }} | ||
name: Semantic Release | ||
|
@@ -235,11 +222,10 @@ jobs: | |
pack-api-legacy, | ||
pack-api-oslo, | ||
pack-api-extract, | ||
pack-api-crab-import, | ||
build-api-legacy, | ||
build-api-oslo, | ||
build-api-extract, | ||
build-api-crab-import, | ||
build-api-import, | ||
build-projector, | ||
build-projections-syndication, | ||
build-producer, | ||
|
@@ -319,13 +305,6 @@ jobs: | |
name: nuget-Be.Vlaanderen.Basisregisters.PostalRegistry.Api.Extract-${{ needs.set-release-version.outputs.version }} | ||
path: dist/nuget/ | ||
|
||
- name: Download NuGet Api CrabImport | ||
uses: actions/download-artifact@v4 | ||
continue-on-error: false | ||
with: | ||
name: nuget-Be.Vlaanderen.Basisregisters.PostalRegistry.Api.CrabImport-${{ needs.set-release-version.outputs.version }} | ||
path: dist/nuget/ | ||
|
||
- name: Run Semantic Release | ||
shell: bash | ||
run: npx semantic-release | ||
|
@@ -386,19 +365,12 @@ jobs: | |
name: nuget-Be.Vlaanderen.Basisregisters.PostalRegistry.Api.Extract-${{ needs.release.outputs.version }} | ||
path: ~/ | ||
|
||
- name: Download NuGet package api-crab-import | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: nuget-Be.Vlaanderen.Basisregisters.PostalRegistry.Api.CrabImport-${{ needs.release.outputs.version }} | ||
path: ~/ | ||
|
||
- name: Publish packages to NuGet | ||
shell: bash | ||
run: | | ||
dotnet nuget push ~/Be.Vlaanderen.Basisregisters.PostalRegistry.Api.Legacy.$SEMVER.nupkg --source nuget.org --api-key $NUGET_API_KEY | ||
dotnet nuget push ~/Be.Vlaanderen.Basisregisters.PostalRegistry.Api.Oslo.$SEMVER.nupkg --source nuget.org --api-key $NUGET_API_KEY | ||
dotnet nuget push ~/Be.Vlaanderen.Basisregisters.PostalRegistry.Api.Extract.$SEMVER.nupkg --source nuget.org --api-key $NUGET_API_KEY | ||
dotnet nuget push ~/Be.Vlaanderen.Basisregisters.PostalRegistry.Api.CrabImport.$SEMVER.nupkg --source nuget.org --api-key $NUGET_API_KEY | ||
env: | ||
SEMVER: ${{ needs.release.outputs.version }} | ||
WORKSPACE: ${{ github.workspace }} | ||
|
@@ -472,7 +444,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
image: ['api-legacy', 'api-oslo', 'api-crab-import', 'api-extract', 'projections-syndication', 'projector', 'producer', 'producer-snapshot-oslo'] | ||
image: ['api-legacy', 'api-oslo', 'api-import', 'api-extract', 'projections-syndication', 'projector', 'producer', 'producer-snapshot-oslo'] | ||
steps: | ||
- name: Configure AWS credentials | ||
uses: aws-actions/[email protected] | ||
|
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.
2 changes: 1 addition & 1 deletion
2
...port/BPostImport/BPostImportController.cs → ...port/BPostImport/BPostImportController.cs
100755 → 100644
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
2 changes: 1 addition & 1 deletion
2
...rt/Requests/RegisterBPostImportRequest.cs → ...rt/Requests/RegisterBPostImportRequest.cs
100755 → 100644
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
2 changes: 1 addition & 1 deletion
2
...Import/CrabImport/CrabImportController.cs → ...Import/CrabImport/CrabImportController.cs
100755 → 100644
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
2 changes: 1 addition & 1 deletion
2
...ort/Requests/RegisterCrabImportRequest.cs → ...ort/Requests/RegisterCrabImportRequest.cs
100755 → 100644
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
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...rabImport/Infrastructure/ApiController.cs → ...pi.Import/Infrastructure/ApiController.cs
100755 → 100644
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
2 changes: 1 addition & 1 deletion
2
...figuration/AddNoCacheHeadersMiddleware.cs → ...figuration/AddNoCacheHeadersMiddleware.cs
100755 → 100644
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
2 changes: 1 addition & 1 deletion
2
...mport/Infrastructure/Modules/ApiModule.cs → ...mport/Infrastructure/Modules/ApiModule.cs
100755 → 100644
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
2 changes: 1 addition & 1 deletion
2
....Api.CrabImport/Infrastructure/Program.cs → ...stry.Api.Import/Infrastructure/Program.cs
100755 → 100644
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
File renamed without changes.
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
File renamed without changes.