Compare commits
10
Commits
3b632a5bc7
..
1.6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a5f397e388 | ||
|
|
70c7351051 | ||
|
|
ea77dfa4af | ||
|
|
78c58d96b9 | ||
|
|
a002323d69 | ||
|
|
2f11eaecf8 | ||
|
|
519ef68ef8 | ||
|
|
331acb2ccb | ||
|
|
98eefa89b4 | ||
|
|
216f4978d7 |
+1
-1
@@ -29,7 +29,7 @@ steps:
|
|||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
registry: nexus.khongisa.co.za
|
registry: nexus.khongisa.co.za
|
||||||
repo: nexus.khongisa.co.za/litecharms-shopadmin-uat
|
repo: nexus.khongisa.co.za/litecharms-shopadmin
|
||||||
tags: [ latest, "1.${DRONE_BUILD_NUMBER}" ]
|
tags: [ latest, "1.${DRONE_BUILD_NUMBER}" ]
|
||||||
custom_labels:
|
custom_labels:
|
||||||
- org.opencontainers.image.source=https://gitea.khongisa.co.za/litecharms/litecharms-shopadmin-uat
|
- org.opencontainers.image.source=https://gitea.khongisa.co.za/litecharms/litecharms-shopadmin-uat
|
||||||
|
|||||||
+1
-1
@@ -3,7 +3,7 @@ FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY ["nuget.config", "./"]
|
COPY ["nuget.config", "./"]
|
||||||
COPY ["ShopAdmin/ShopAdmin.csproj", "Shop/"]
|
COPY ["ShopAdmin/ShopAdmin.csproj", "ShopAdmin/"]
|
||||||
RUN dotnet restore "ShopAdmin/ShopAdmin.csproj" --configfile nuget.config
|
RUN dotnet restore "ShopAdmin/ShopAdmin.csproj" --configfile nuget.config
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN dotnet publish "ShopAdmin/ShopAdmin.csproj" -c Release -o /app/publish /p:UseAppHost=false
|
RUN dotnet publish "ShopAdmin/ShopAdmin.csproj" -c Release -o /app/publish /p:UseAppHost=false
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
<Solution>
|
<Solution>
|
||||||
|
<Folder Name="/Solution Items/">
|
||||||
|
<File Path=".drone.yml" />
|
||||||
|
<File Path=".editorconfig" />
|
||||||
|
<File Path="Dockerfile" />
|
||||||
|
<File Path="litecharms-shopadmin-uat.yml" />
|
||||||
|
</Folder>
|
||||||
<Project Path="ShopAdmin/ShopAdmin.csproj" />
|
<Project Path="ShopAdmin/ShopAdmin.csproj" />
|
||||||
</Solution>
|
</Solution>
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ data:
|
|||||||
ASPNETCORE_ENVIRONMENT: "Development"
|
ASPNETCORE_ENVIRONMENT: "Development"
|
||||||
ASPNETCORE_URLS: "http://0.0.0.0:8080"
|
ASPNETCORE_URLS: "http://0.0.0.0:8080"
|
||||||
Monitoring__Address: "http://aspire-dashboard-service.aspire.svc.cluster.local:18889"
|
Monitoring__Address: "http://aspire-dashboard-service.aspire.svc.cluster.local:18889"
|
||||||
Monitoring__ServiceName: "LiteCharms.Shop.Uat"
|
Monitoring__ServiceName: "LiteCharms.ShopAdmin.Uat"
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Secret
|
kind: Secret
|
||||||
@@ -29,7 +29,7 @@ data:
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
name: shop-data-pvc
|
name: shopadmin-data-pvc
|
||||||
namespace: litecharms-shopadmin-uat
|
namespace: litecharms-shopadmin-uat
|
||||||
spec:
|
spec:
|
||||||
accessModes: ["ReadWriteMany"]
|
accessModes: ["ReadWriteMany"]
|
||||||
@@ -121,7 +121,7 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: data
|
- name: data
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: shop-data-pvc
|
claimName: shopadmin-data-pvc
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
@@ -147,7 +147,7 @@ spec:
|
|||||||
entryPoints:
|
entryPoints:
|
||||||
- websecure
|
- websecure
|
||||||
routes:
|
routes:
|
||||||
- match: Host(`shop.uat.khongisa.co.za`)
|
- match: Host(`shopadmin.uat.khongisa.co.za`)
|
||||||
kind: Rule
|
kind: Rule
|
||||||
services:
|
services:
|
||||||
- name: shop-service
|
- name: shop-service
|
||||||
|
|||||||
Reference in New Issue
Block a user