8 Commits
Author SHA1 Message Date
khwezi ea77dfa4af Merge pull request 'Refactored docker shop admin image name' (#6) from styling into master
Reviewed-on: #6
2026-05-16 02:02:21 +02:00
Khwezi Mngoma 78c58d96b9 Refactored docker shop admin image name
continuous-integration/drone/pr Build is passing
2026-05-16 02:01:46 +02:00
khwezi a002323d69 Merge pull request 'Fixed PVC reference' (#5) from styling into master
Reviewed-on: #5
2026-05-16 01:51:23 +02:00
Khwezi Mngoma 2f11eaecf8 Fixed PVC reference
continuous-integration/drone/pr Build is passing
2026-05-16 01:50:56 +02:00
khwezi 519ef68ef8 Merge pull request 'Refactored manifest ingressroute' (#4) from styling into master
Reviewed-on: #4
2026-05-16 01:43:10 +02:00
Khwezi Mngoma 331acb2ccb Refactored manifest ingressroute
continuous-integration/drone/pr Build is passing
2026-05-16 01:41:45 +02:00
khwezi 98eefa89b4 Merge pull request 'Refactored dockerfile' (#3) from styling into master
Reviewed-on: #3
2026-05-16 01:34:04 +02:00
Khwezi Mngoma 216f4978d7 Refactored dockerfile
continuous-integration/drone/pr Build is passing
2026-05-16 01:33:17 +02:00
4 changed files with 11 additions and 5 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ steps:
image: plugins/docker
settings:
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}" ]
custom_labels:
- org.opencontainers.image.source=https://gitea.khongisa.co.za/litecharms/litecharms-shopadmin-uat
+1 -1
View File
@@ -3,7 +3,7 @@ FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
WORKDIR /app
COPY ["nuget.config", "./"]
COPY ["ShopAdmin/ShopAdmin.csproj", "Shop/"]
COPY ["ShopAdmin/ShopAdmin.csproj", "ShopAdmin/"]
RUN dotnet restore "ShopAdmin/ShopAdmin.csproj" --configfile nuget.config
COPY . .
RUN dotnet publish "ShopAdmin/ShopAdmin.csproj" -c Release -o /app/publish /p:UseAppHost=false
+6
View File
@@ -1,3 +1,9 @@
<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" />
</Solution>
+3 -3
View File
@@ -29,7 +29,7 @@ data:
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: shop-data-pvc
name: shopadmin-data-pvc
namespace: litecharms-shopadmin-uat
spec:
accessModes: ["ReadWriteMany"]
@@ -121,7 +121,7 @@ spec:
volumes:
- name: data
persistentVolumeClaim:
claimName: shop-data-pvc
claimName: shopadmin-data-pvc
---
apiVersion: v1
kind: Service
@@ -147,7 +147,7 @@ spec:
entryPoints:
- websecure
routes:
- match: Host(`shop.uat.khongisa.co.za`)
- match: Host(`shopadmin.uat.khongisa.co.za`)
kind: Rule
services:
- name: shop-service