Skip to content

Commit cdd131c

Browse files
committed
rename background projects
1 parent fce9b5d commit cdd131c

File tree

64 files changed

+131
-138
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+131
-138
lines changed

.github/workflows/.net-build-modularmonolith.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,20 @@ jobs:
3030
- name: Build
3131
run: dotnet build --configuration Release
3232

33-
- name: Publish ClassifiedAds.BackgroundServer
34-
run: dotnet publish ClassifiedAds.BackgroundServer/*.csproj --configuration Release
33+
- name: Publish ClassifiedAds.Background
34+
run: dotnet publish ClassifiedAds.Background/*.csproj --configuration Release
3535

3636
- name: Publish ClassifiedAds.Migrator
3737
run: dotnet publish ClassifiedAds.Migrator/*.csproj --configuration Release
3838

3939
- name: Publish ClassifiedAds.WebAPI
4040
run: dotnet publish ClassifiedAds.WebAPI/*.csproj --configuration Release
4141

42-
- name: Upload ClassifiedAds.BackgroundServer
42+
- name: Upload ClassifiedAds.Background
4343
uses: actions/upload-artifact@v4
4444
with:
45-
name: ClassifiedAds.BackgroundServer
46-
path: src/ModularMonolith/ClassifiedAds.BackgroundServer/bin/Release/net8.0/publish
45+
name: ClassifiedAds.Background
46+
path: src/ModularMonolith/ClassifiedAds.Background/bin/Release/net8.0/publish
4747

4848
- name: Upload ClassifiedAds.Migrator
4949
uses: actions/upload-artifact@v4

.github/workflows/.net-build-monolith.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ jobs:
3030
- name: Build
3131
run: dotnet build --configuration Release
3232

33-
- name: Publish ClassifiedAds.BackgroundServer
34-
run: dotnet publish ClassifiedAds.BackgroundServer/*.csproj --configuration Release
33+
- name: Publish ClassifiedAds.Background
34+
run: dotnet publish ClassifiedAds.Background/*.csproj --configuration Release
3535

3636
- name: Publish ClassifiedAds.GraphQL
3737
run: dotnet publish ClassifiedAds.GraphQL/*.csproj --configuration Release
@@ -51,11 +51,11 @@ jobs:
5151
- name: Publish ClassifiedAds.BlazorWebAssembly
5252
run: dotnet publish ClassifiedAds.BlazorWebAssembly/*.csproj --configuration Release
5353

54-
- name: Upload ClassifiedAds.BackgroundServer
54+
- name: Upload ClassifiedAds.Background
5555
uses: actions/upload-artifact@v4
5656
with:
57-
name: ClassifiedAds.BackgroundServer
58-
path: src/Monolith/ClassifiedAds.BackgroundServer/bin/Release/net8.0/publish
57+
name: ClassifiedAds.Background
58+
path: src/Monolith/ClassifiedAds.Background/bin/Release/net8.0/publish
5959

6060
- name: Upload ClassifiedAds.GraphQL
6161
uses: actions/upload-artifact@v4

.github/workflows/docker-build-modularmonolith.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ jobs:
4040
4141
echo VERSION=$VERSION
4242
43-
docker tag classifiedads.modularmonolith.backgroundserver $REPO_NAME/classifiedads.modularmonolith.backgroundserver:$VERSION
43+
docker tag classifiedads.modularmonolith.background $REPO_NAME/classifiedads.modularmonolith.background:$VERSION
4444
docker tag classifiedads.modularmonolith.migrator $REPO_NAME/classifiedads.modularmonolith.migrator:$VERSION
4545
docker tag classifiedads.modularmonolith.webapi $REPO_NAME/classifiedads.modularmonolith.webapi:$VERSION
4646
docker tag classifiedads.modularmonolith.identityserver $REPO_NAME/classifiedads.modularmonolith.identityserver:$VERSION
4747
48-
docker push $REPO_NAME/classifiedads.modularmonolith.backgroundserver:$VERSION
48+
docker push $REPO_NAME/classifiedads.modularmonolith.background:$VERSION
4949
docker push $REPO_NAME/classifiedads.modularmonolith.migrator:$VERSION
5050
docker push $REPO_NAME/classifiedads.modularmonolith.webapi:$VERSION
5151
docker push $REPO_NAME/classifiedads.modularmonolith.identityserver:$VERSION

.github/workflows/docker-build-monolith.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ jobs:
4040
4141
echo VERSION=$VERSION
4242
43-
docker tag classifiedads.backgroundserver $REPO_NAME/classifiedads.backgroundserver:$VERSION
43+
docker tag classifiedads.background $REPO_NAME/classifiedads.background:$VERSION
4444
docker tag classifiedads.migrator $REPO_NAME/classifiedads.migrator:$VERSION
4545
docker tag classifiedads.webapi $REPO_NAME/classifiedads.webapi:$VERSION
4646
docker tag classifiedads.graphql $REPO_NAME/classifiedads.graphql:$VERSION
4747
docker tag classifiedads.blazor $REPO_NAME/classifiedads.blazor:$VERSION
4848
docker tag classifiedads.identityserver $REPO_NAME/classifiedads.identityserver:$VERSION
4949
docker tag classifiedads.webmvc $REPO_NAME/classifiedads.webmvc:$VERSION
5050
51-
docker push $REPO_NAME/classifiedads.backgroundserver:$VERSION
51+
docker push $REPO_NAME/classifiedads.background:$VERSION
5252
docker push $REPO_NAME/classifiedads.migrator:$VERSION
5353
docker push $REPO_NAME/classifiedads.webapi:$VERSION
5454
docker push $REPO_NAME/classifiedads.graphql:$VERSION
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
apiVersion: v2
2-
name: backgroundserver
2+
name: background
33
version: 1.0.0
44
type: application
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@ apiVersion: apps/v1
22
kind: Deployment
33
metadata:
44
labels:
5-
app: {{ .Release.Name}}-backgroundserver
6-
name: {{ .Release.Name}}-backgroundserver
5+
app: {{ .Release.Name}}-background
6+
name: {{ .Release.Name}}-background
77
spec:
88
replicas: 1
99
selector:
1010
matchLabels:
11-
app: {{ .Release.Name}}-backgroundserver
11+
app: {{ .Release.Name}}-background
1212
strategy: {}
1313
template:
1414
metadata:
1515
labels:
16-
app: {{ .Release.Name}}-backgroundserver
16+
app: {{ .Release.Name}}-background
1717
spec:
1818
containers:
1919
- env:
@@ -24,8 +24,8 @@ spec:
2424
envFrom:
2525
- configMapRef:
2626
name: {{ .Release.Name}}-shared
27-
image: phongnguyend/classifiedads.modularmonolith.backgroundserver
28-
name: {{ .Release.Name}}-backgroundserver
27+
image: phongnguyend/classifiedads.modularmonolith.background
28+
name: {{ .Release.Name}}-background
2929
ports:
3030
- containerPort: 80
3131
resources: {}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ apiVersion: v1
22
kind: Service
33
metadata:
44
labels:
5-
app: {{ .Release.Name}}-backgroundserver
6-
name: {{ .Release.Name}}-backgroundserver
5+
app: {{ .Release.Name}}-background
6+
name: {{ .Release.Name}}-background
77
spec:
88
ports:
99
- name: "80"
1010
port: 80
1111
targetPort: 80
1212
selector:
13-
app: {{ .Release.Name}}-backgroundserver
13+
app: {{ .Release.Name}}-background
1414
status:
1515
loadBalancer: {}

src/ModularMonolith/.k8s/backgroundserver.deployment.yaml renamed to src/ModularMonolith/.k8s/background.deployment.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@ apiVersion: apps/v1
22
kind: Deployment
33
metadata:
44
labels:
5-
app: backgroundserver
6-
name: backgroundserver
5+
app: background
6+
name: background
77
spec:
88
replicas: 1
99
selector:
1010
matchLabels:
11-
app: backgroundserver
11+
app: background
1212
strategy: {}
1313
template:
1414
metadata:
1515
labels:
16-
app: backgroundserver
16+
app: background
1717
spec:
1818
containers:
1919
- env:
@@ -24,8 +24,8 @@ spec:
2424
envFrom:
2525
- configMapRef:
2626
name: shared
27-
image: phongnguyend/classifiedads.modularmonolith.backgroundserver
28-
name: backgroundserver
27+
image: phongnguyend/classifiedads.modularmonolith.background
28+
name: background
2929
ports:
3030
- containerPort: 80
3131
resources: {}

src/ModularMonolith/.k8s/backgroundserver.service.yaml renamed to src/ModularMonolith/.k8s/background.service.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ apiVersion: v1
22
kind: Service
33
metadata:
44
labels:
5-
app: backgroundserver
6-
name: backgroundserver
5+
app: background
6+
name: background
77
spec:
88
ports:
99
- name: "80"
1010
port: 80
1111
targetPort: 80
1212
selector:
13-
app: backgroundserver
13+
app: background
1414
status:
1515
loadBalancer: {}

0 commit comments

Comments
 (0)