Skip to content

Commit

Permalink
(#112) Upgrade .Net 6
Browse files Browse the repository at this point in the history
  • Loading branch information
phongnguyend committed Nov 22, 2021
1 parent 0d224ea commit af9f463
Show file tree
Hide file tree
Showing 204 changed files with 971 additions and 745 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/.net-build-microservices.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.101
dotnet-version: 6.0.100

- name: Build
run: dotnet build --configuration Release
Expand Down Expand Up @@ -64,64 +64,64 @@ jobs:
uses: actions/[email protected]
with:
name: ClassifiedAds.Services.AuditLog.Api
path: src/Microservices/Services.AuditLog/ClassifiedAds.Services.AuditLog.Api/bin/Release/net5.0/publish
path: src/Microservices/Services.AuditLog/ClassifiedAds.Services.AuditLog.Api/bin/Release/net6.0/publish

- name: Upload ClassifiedAds.Services.AuditLog.Grpc
uses: actions/[email protected]
with:
name: ClassifiedAds.Services.AuditLog.Grpc
path: src/Microservices/Services.AuditLog/ClassifiedAds.Services.AuditLog.Grpc/bin/Release/net5.0/publish
path: src/Microservices/Services.AuditLog/ClassifiedAds.Services.AuditLog.Grpc/bin/Release/net6.0/publish

- name: Upload ClassifiedAds.Services.Identity.Api
uses: actions/[email protected]
with:
name: ClassifiedAds.Services.Identity.Api
path: src/Microservices/Services.Identity/ClassifiedAds.Services.Identity.Api/bin/Release/net5.0/publish
path: src/Microservices/Services.Identity/ClassifiedAds.Services.Identity.Api/bin/Release/net6.0/publish

- name: Upload ClassifiedAds.Services.Identity.AuthServer
uses: actions/[email protected]
with:
name: ClassifiedAds.Services.Identity.AuthServer
path: src/Microservices/Services.Identity/ClassifiedAds.Services.Identity.AuthServer/bin/Release/net5.0/publish
path: src/Microservices/Services.Identity/ClassifiedAds.Services.Identity.AuthServer/bin/Release/net6.0/publish

- name: Upload ClassifiedAds.Services.Identity.Grpc
uses: actions/[email protected]
with:
name: ClassifiedAds.Services.Identity.Grpc
path: src/Microservices/Services.Identity/ClassifiedAds.Services.Identity.Grpc/bin/Release/net5.0/publish
path: src/Microservices/Services.Identity/ClassifiedAds.Services.Identity.Grpc/bin/Release/net6.0/publish

- name: Upload ClassifiedAds.Services.Notification.Api
uses: actions/[email protected]
with:
name: ClassifiedAds.Services.Notification.Api
path: src/Microservices/Services.Notification/ClassifiedAds.Services.Notification.Api/bin/Release/net5.0/publish
path: src/Microservices/Services.Notification/ClassifiedAds.Services.Notification.Api/bin/Release/net6.0/publish

- name: Upload ClassifiedAds.Services.Notification.Background
uses: actions/[email protected]
with:
name: ClassifiedAds.Services.Notification.Background
path: src/Microservices/Services.Notification/ClassifiedAds.Services.Notification.Background/bin/Release/net5.0/publish
path: src/Microservices/Services.Notification/ClassifiedAds.Services.Notification.Background/bin/Release/net6.0/publish

- name: Upload ClassifiedAds.Services.Notification.Grpc
uses: actions/[email protected]
with:
name: ClassifiedAds.Services.Notification.Grpc
path: src/Microservices/Services.Notification/ClassifiedAds.Services.Notification.Grpc/bin/Release/net5.0/publish
path: src/Microservices/Services.Notification/ClassifiedAds.Services.Notification.Grpc/bin/Release/net6.0/publish

- name: Upload ClassifiedAds.Services.Product.Api
uses: actions/[email protected]
with:
name: ClassifiedAds.Services.Product.Api
path: src/Microservices/Services.Product/ClassifiedAds.Services.Product.Api/bin/Release/net5.0/publish
path: src/Microservices/Services.Product/ClassifiedAds.Services.Product.Api/bin/Release/net6.0/publish

- name: Upload ClassifiedAds.Services.Storage.Api
uses: actions/[email protected]
with:
name: ClassifiedAds.Services.Storage.Api
path: src/Microservices/Services.Storage/ClassifiedAds.Services.Storage.Api/bin/Release/net5.0/publish
path: src/Microservices/Services.Storage/ClassifiedAds.Services.Storage.Api/bin/Release/net6.0/publish

- name: Upload ClassifiedAds.Gateways.WebAPI
uses: actions/[email protected]
with:
name: ClassifiedAds.Gateways.WebAPI
path: src/Microservices/Gateways.WebAPI/ClassifiedAds.Gateways.WebAPI/bin/Release/net5.0/publish
path: src/Microservices/Gateways.WebAPI/ClassifiedAds.Gateways.WebAPI/bin/Release/net6.0/publish
10 changes: 5 additions & 5 deletions .github/workflows/.net-build-modularmonolith.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.101
dotnet-version: 6.0.100

- name: Build
run: dotnet build --configuration Release
Expand All @@ -43,22 +43,22 @@ jobs:
uses: actions/[email protected]
with:
name: ClassifiedAds.BackgroundServer
path: src/ModularMonolith/ClassifiedAds.BackgroundServer/bin/Release/net5.0/publish
path: src/ModularMonolith/ClassifiedAds.BackgroundServer/bin/Release/net6.0/publish

- name: Upload ClassifiedAds.IdentityServer
uses: actions/[email protected]
with:
name: ClassifiedAds.IdentityServer
path: src/ModularMonolith/ClassifiedAds.IdentityServer/bin/Release/net5.0/publish
path: src/ModularMonolith/ClassifiedAds.IdentityServer/bin/Release/net6.0/publish

- name: Upload ClassifiedAds.Migrator
uses: actions/[email protected]
with:
name: ClassifiedAds.Migrator
path: src/ModularMonolith/ClassifiedAds.Migrator/bin/Release/net5.0/publish
path: src/ModularMonolith/ClassifiedAds.Migrator/bin/Release/net6.0/publish

- name: Upload ClassifiedAds.WebAPI
uses: actions/[email protected]
with:
name: ClassifiedAds.WebAPI
path: src/ModularMonolith/ClassifiedAds.WebAPI/bin/Release/net5.0/publish
path: src/ModularMonolith/ClassifiedAds.WebAPI/bin/Release/net6.0/publish
18 changes: 9 additions & 9 deletions .github/workflows/.net-build-monolith.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.101
dotnet-version: 6.0.100

- name: Build
run: dotnet build --configuration Release
Expand Down Expand Up @@ -55,46 +55,46 @@ jobs:
uses: actions/[email protected]
with:
name: ClassifiedAds.BackgroundServer
path: src/Monolith/ClassifiedAds.BackgroundServer/bin/Release/net5.0/publish
path: src/Monolith/ClassifiedAds.BackgroundServer/bin/Release/net6.0/publish

- name: Upload ClassifiedAds.GraphQL
uses: actions/[email protected]
with:
name: ClassifiedAds.GraphQL
path: src/Monolith/ClassifiedAds.GraphQL/bin/Release/net5.0/publish
path: src/Monolith/ClassifiedAds.GraphQL/bin/Release/net6.0/publish

- name: Upload ClassifiedAds.Migrator
uses: actions/[email protected]
with:
name: ClassifiedAds.Migrator
path: src/Monolith/ClassifiedAds.Migrator/bin/Release/net5.0/publish
path: src/Monolith/ClassifiedAds.Migrator/bin/Release/net6.0/publish

- name: Upload ClassifiedAds.WebAPI
uses: actions/[email protected]
with:
name: ClassifiedAds.WebAPI
path: src/Monolith/ClassifiedAds.WebAPI/bin/Release/net5.0/publish
path: src/Monolith/ClassifiedAds.WebAPI/bin/Release/net6.0/publish

- name: Upload ClassifiedAds.IdentityServer
uses: actions/[email protected]
with:
name: ClassifiedAds.IdentityServer
path: src/Monolith/ClassifiedAds.IdentityServer/bin/Release/net5.0/publish
path: src/Monolith/ClassifiedAds.IdentityServer/bin/Release/net6.0/publish

- name: Upload ClassifiedAds.WebMVC
uses: actions/[email protected]
with:
name: ClassifiedAds.WebMVC
path: src/Monolith/ClassifiedAds.WebMVC/bin/Release/net5.0/publish
path: src/Monolith/ClassifiedAds.WebMVC/bin/Release/net6.0/publish

- name: Upload ClassifiedAds.BlazorServerSide
uses: actions/[email protected]
with:
name: ClassifiedAds.BlazorServerSide
path: src/Monolith/ClassifiedAds.BlazorServerSide/bin/Release/net5.0/publish
path: src/Monolith/ClassifiedAds.BlazorServerSide/bin/Release/net6.0/publish

- name: Upload ClassifiedAds.BlazorWebAssembly
uses: actions/[email protected]
with:
name: ClassifiedAds.BlazorWebAssembly
path: src/Monolith/ClassifiedAds.BlazorWebAssembly/bin/Release/net5.0/publish
path: src/Monolith/ClassifiedAds.BlazorWebAssembly/bin/Release/net6.0/publish
Original file line number Diff line number Diff line change
Expand Up @@ -4,51 +4,51 @@ metadata:
name: {{ .Release.Name}}-webapi
data:
ASPNETCORE_ENVIRONMENT: "Development"
ReRoutes__0__DownstreamScheme: "http"
ReRoutes__0__DownstreamHostAndPorts__0__Host: "{{ .Release.Name}}-product-api"
ReRoutes__0__DownstreamHostAndPorts__0__Port: "80"
ReRoutes__1__DownstreamScheme: "http"
ReRoutes__1__DownstreamHostAndPorts__0__Host: "{{ .Release.Name}}-product-api"
ReRoutes__1__DownstreamHostAndPorts__0__Port: "80"
ReRoutes__2__DownstreamScheme: "http"
ReRoutes__2__DownstreamHostAndPorts__0__Host: "{{ .Release.Name}}-product-api"
ReRoutes__2__DownstreamHostAndPorts__0__Port: "80"
ReRoutes__3__DownstreamScheme: "http"
ReRoutes__3__DownstreamHostAndPorts__0__Host: "{{ .Release.Name}}-storage-api"
ReRoutes__3__DownstreamHostAndPorts__0__Port: "80"
ReRoutes__4__DownstreamScheme: "http"
ReRoutes__4__DownstreamHostAndPorts__0__Host: "{{ .Release.Name}}-storage-api"
ReRoutes__4__DownstreamHostAndPorts__0__Port: "80"
ReRoutes__5__DownstreamScheme: "http"
ReRoutes__5__DownstreamHostAndPorts__0__Host: "{{ .Release.Name}}-storage-api"
ReRoutes__5__DownstreamHostAndPorts__0__Port: "80"
ReRoutes__6__DownstreamScheme: "http"
ReRoutes__6__DownstreamHostAndPorts__0__Host: "{{ .Release.Name}}-auditlog-api"
ReRoutes__6__DownstreamHostAndPorts__0__Port: "80"
ReRoutes__7__DownstreamScheme: "http"
ReRoutes__7__DownstreamHostAndPorts__0__Host: "{{ .Release.Name}}-auditlog-api"
ReRoutes__7__DownstreamHostAndPorts__0__Port: "80"
ReRoutes__8__DownstreamScheme: "http"
ReRoutes__8__DownstreamHostAndPorts__0__Host: "{{ .Release.Name}}-auditlog-api"
ReRoutes__8__DownstreamHostAndPorts__0__Port: "80"
ReRoutes__9__DownstreamScheme: "http"
ReRoutes__9__DownstreamHostAndPorts__0__Host: "{{ .Release.Name}}-identity-api"
ReRoutes__9__DownstreamHostAndPorts__0__Port: "80"
ReRoutes__10__DownstreamScheme: "http"
ReRoutes__10__DownstreamHostAndPorts__0__Host: "{{ .Release.Name}}-identity-api"
ReRoutes__10__DownstreamHostAndPorts__0__Port: "80"
ReRoutes__11__DownstreamScheme: "http"
ReRoutes__11__DownstreamHostAndPorts__0__Host: "{{ .Release.Name}}-identity-api"
ReRoutes__11__DownstreamHostAndPorts__0__Port: "80"
ReRoutes__12__DownstreamScheme: "http"
ReRoutes__12__DownstreamHostAndPorts__0__Host: "{{ .Release.Name}}-configuration-api"
ReRoutes__12__DownstreamHostAndPorts__0__Port: "80"
ReRoutes__13__DownstreamScheme: "http"
ReRoutes__13__DownstreamHostAndPorts__0__Host: "{{ .Release.Name}}-configuration-api"
ReRoutes__13__DownstreamHostAndPorts__0__Port: "80"
ReRoutes__14__DownstreamScheme: "http"
ReRoutes__14__DownstreamHostAndPorts__0__Host: "{{ .Release.Name}}-configuration-api"
ReRoutes__14__DownstreamHostAndPorts__0__Port: "80"
ReRoutes__15__DownstreamScheme: "ws"
ReRoutes__15__DownstreamHostAndPorts__0__Host: "{{ .Release.Name}}-notification-api"
ReRoutes__15__DownstreamHostAndPorts__0__Port: "80"
Routes__0__DownstreamScheme: "http"
Routes__0__DownstreamHostAndPorts__0__Host: "{{ .Release.Name}}-product-api"
Routes__0__DownstreamHostAndPorts__0__Port: "80"
Routes__1__DownstreamScheme: "http"
Routes__1__DownstreamHostAndPorts__0__Host: "{{ .Release.Name}}-product-api"
Routes__1__DownstreamHostAndPorts__0__Port: "80"
Routes__2__DownstreamScheme: "http"
Routes__2__DownstreamHostAndPorts__0__Host: "{{ .Release.Name}}-product-api"
Routes__2__DownstreamHostAndPorts__0__Port: "80"
Routes__3__DownstreamScheme: "http"
Routes__3__DownstreamHostAndPorts__0__Host: "{{ .Release.Name}}-storage-api"
Routes__3__DownstreamHostAndPorts__0__Port: "80"
Routes__4__DownstreamScheme: "http"
Routes__4__DownstreamHostAndPorts__0__Host: "{{ .Release.Name}}-storage-api"
Routes__4__DownstreamHostAndPorts__0__Port: "80"
Routes__5__DownstreamScheme: "http"
Routes__5__DownstreamHostAndPorts__0__Host: "{{ .Release.Name}}-storage-api"
Routes__5__DownstreamHostAndPorts__0__Port: "80"
Routes__6__DownstreamScheme: "http"
Routes__6__DownstreamHostAndPorts__0__Host: "{{ .Release.Name}}-auditlog-api"
Routes__6__DownstreamHostAndPorts__0__Port: "80"
Routes__7__DownstreamScheme: "http"
Routes__7__DownstreamHostAndPorts__0__Host: "{{ .Release.Name}}-auditlog-api"
Routes__7__DownstreamHostAndPorts__0__Port: "80"
Routes__8__DownstreamScheme: "http"
Routes__8__DownstreamHostAndPorts__0__Host: "{{ .Release.Name}}-auditlog-api"
Routes__8__DownstreamHostAndPorts__0__Port: "80"
Routes__9__DownstreamScheme: "http"
Routes__9__DownstreamHostAndPorts__0__Host: "{{ .Release.Name}}-identity-api"
Routes__9__DownstreamHostAndPorts__0__Port: "80"
Routes__10__DownstreamScheme: "http"
Routes__10__DownstreamHostAndPorts__0__Host: "{{ .Release.Name}}-identity-api"
Routes__10__DownstreamHostAndPorts__0__Port: "80"
Routes__11__DownstreamScheme: "http"
Routes__11__DownstreamHostAndPorts__0__Host: "{{ .Release.Name}}-identity-api"
Routes__11__DownstreamHostAndPorts__0__Port: "80"
Routes__12__DownstreamScheme: "http"
Routes__12__DownstreamHostAndPorts__0__Host: "{{ .Release.Name}}-configuration-api"
Routes__12__DownstreamHostAndPorts__0__Port: "80"
Routes__13__DownstreamScheme: "http"
Routes__13__DownstreamHostAndPorts__0__Host: "{{ .Release.Name}}-configuration-api"
Routes__13__DownstreamHostAndPorts__0__Port: "80"
Routes__14__DownstreamScheme: "http"
Routes__14__DownstreamHostAndPorts__0__Host: "{{ .Release.Name}}-configuration-api"
Routes__14__DownstreamHostAndPorts__0__Port: "80"
Routes__15__DownstreamScheme: "ws"
Routes__15__DownstreamHostAndPorts__0__Host: "{{ .Release.Name}}-notification-api"
Routes__15__DownstreamHostAndPorts__0__Port: "80"
96 changes: 48 additions & 48 deletions src/Microservices/.k8s/webapi.configmap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,51 +4,51 @@ metadata:
name: webapi
data:
ASPNETCORE_ENVIRONMENT: "Development"
ReRoutes__0__DownstreamScheme: "http"
ReRoutes__0__DownstreamHostAndPorts__0__Host: "product-api"
ReRoutes__0__DownstreamHostAndPorts__0__Port: "80"
ReRoutes__1__DownstreamScheme: "http"
ReRoutes__1__DownstreamHostAndPorts__0__Host: "product-api"
ReRoutes__1__DownstreamHostAndPorts__0__Port: "80"
ReRoutes__2__DownstreamScheme: "http"
ReRoutes__2__DownstreamHostAndPorts__0__Host: "product-api"
ReRoutes__2__DownstreamHostAndPorts__0__Port: "80"
ReRoutes__3__DownstreamScheme: "http"
ReRoutes__3__DownstreamHostAndPorts__0__Host: "storage-api"
ReRoutes__3__DownstreamHostAndPorts__0__Port: "80"
ReRoutes__4__DownstreamScheme: "http"
ReRoutes__4__DownstreamHostAndPorts__0__Host: "storage-api"
ReRoutes__4__DownstreamHostAndPorts__0__Port: "80"
ReRoutes__5__DownstreamScheme: "http"
ReRoutes__5__DownstreamHostAndPorts__0__Host: "storage-api"
ReRoutes__5__DownstreamHostAndPorts__0__Port: "80"
ReRoutes__6__DownstreamScheme: "http"
ReRoutes__6__DownstreamHostAndPorts__0__Host: "auditlog-api"
ReRoutes__6__DownstreamHostAndPorts__0__Port: "80"
ReRoutes__7__DownstreamScheme: "http"
ReRoutes__7__DownstreamHostAndPorts__0__Host: "auditlog-api"
ReRoutes__7__DownstreamHostAndPorts__0__Port: "80"
ReRoutes__8__DownstreamScheme: "http"
ReRoutes__8__DownstreamHostAndPorts__0__Host: "auditlog-api"
ReRoutes__8__DownstreamHostAndPorts__0__Port: "80"
ReRoutes__9__DownstreamScheme: "http"
ReRoutes__9__DownstreamHostAndPorts__0__Host: "identity-api"
ReRoutes__9__DownstreamHostAndPorts__0__Port: "80"
ReRoutes__10__DownstreamScheme: "http"
ReRoutes__10__DownstreamHostAndPorts__0__Host: "identity-api"
ReRoutes__10__DownstreamHostAndPorts__0__Port: "80"
ReRoutes__11__DownstreamScheme: "http"
ReRoutes__11__DownstreamHostAndPorts__0__Host: "identity-api"
ReRoutes__11__DownstreamHostAndPorts__0__Port: "80"
ReRoutes__12__DownstreamScheme: "http"
ReRoutes__12__DownstreamHostAndPorts__0__Host: "configuration-api"
ReRoutes__12__DownstreamHostAndPorts__0__Port: "80"
ReRoutes__13__DownstreamScheme: "http"
ReRoutes__13__DownstreamHostAndPorts__0__Host: "configuration-api"
ReRoutes__13__DownstreamHostAndPorts__0__Port: "80"
ReRoutes__14__DownstreamScheme: "http"
ReRoutes__14__DownstreamHostAndPorts__0__Host: "configuration-api"
ReRoutes__14__DownstreamHostAndPorts__0__Port: "80"
ReRoutes__15__DownstreamScheme: "ws"
ReRoutes__15__DownstreamHostAndPorts__0__Host: "notification-api"
ReRoutes__15__DownstreamHostAndPorts__0__Port: "80"
Routes__0__DownstreamScheme: "http"
Routes__0__DownstreamHostAndPorts__0__Host: "product-api"
Routes__0__DownstreamHostAndPorts__0__Port: "80"
Routes__1__DownstreamScheme: "http"
Routes__1__DownstreamHostAndPorts__0__Host: "product-api"
Routes__1__DownstreamHostAndPorts__0__Port: "80"
Routes__2__DownstreamScheme: "http"
Routes__2__DownstreamHostAndPorts__0__Host: "product-api"
Routes__2__DownstreamHostAndPorts__0__Port: "80"
Routes__3__DownstreamScheme: "http"
Routes__3__DownstreamHostAndPorts__0__Host: "storage-api"
Routes__3__DownstreamHostAndPorts__0__Port: "80"
Routes__4__DownstreamScheme: "http"
Routes__4__DownstreamHostAndPorts__0__Host: "storage-api"
Routes__4__DownstreamHostAndPorts__0__Port: "80"
Routes__5__DownstreamScheme: "http"
Routes__5__DownstreamHostAndPorts__0__Host: "storage-api"
Routes__5__DownstreamHostAndPorts__0__Port: "80"
Routes__6__DownstreamScheme: "http"
Routes__6__DownstreamHostAndPorts__0__Host: "auditlog-api"
Routes__6__DownstreamHostAndPorts__0__Port: "80"
Routes__7__DownstreamScheme: "http"
Routes__7__DownstreamHostAndPorts__0__Host: "auditlog-api"
Routes__7__DownstreamHostAndPorts__0__Port: "80"
Routes__8__DownstreamScheme: "http"
Routes__8__DownstreamHostAndPorts__0__Host: "auditlog-api"
Routes__8__DownstreamHostAndPorts__0__Port: "80"
Routes__9__DownstreamScheme: "http"
Routes__9__DownstreamHostAndPorts__0__Host: "identity-api"
Routes__9__DownstreamHostAndPorts__0__Port: "80"
Routes__10__DownstreamScheme: "http"
Routes__10__DownstreamHostAndPorts__0__Host: "identity-api"
Routes__10__DownstreamHostAndPorts__0__Port: "80"
Routes__11__DownstreamScheme: "http"
Routes__11__DownstreamHostAndPorts__0__Host: "identity-api"
Routes__11__DownstreamHostAndPorts__0__Port: "80"
Routes__12__DownstreamScheme: "http"
Routes__12__DownstreamHostAndPorts__0__Host: "configuration-api"
Routes__12__DownstreamHostAndPorts__0__Port: "80"
Routes__13__DownstreamScheme: "http"
Routes__13__DownstreamHostAndPorts__0__Host: "configuration-api"
Routes__13__DownstreamHostAndPorts__0__Port: "80"
Routes__14__DownstreamScheme: "http"
Routes__14__DownstreamHostAndPorts__0__Host: "configuration-api"
Routes__14__DownstreamHostAndPorts__0__Port: "80"
Routes__15__DownstreamScheme: "ws"
Routes__15__DownstreamHostAndPorts__0__Host: "notification-api"
Routes__15__DownstreamHostAndPorts__0__Port: "80"
Loading

0 comments on commit af9f463

Please sign in to comment.