From 967130e724408dddbe140d36a96881473c24231e Mon Sep 17 00:00:00 2001 From: khwezi Date: Sat, 9 May 2026 18:49:16 +0200 Subject: [PATCH 1/3] Fixed pipeline deployment restart name --- .drone.yml | 2 +- Shop/Program.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index dde4bf2..f295606 100644 --- a/.drone.yml +++ b/.drone.yml @@ -66,7 +66,7 @@ steps: - mkdir -p $HOME/.kube - echo "$KUBE_CONFIG" > $HOME/.kube/config - kubectl apply -f litecharms-shop-uat.yml - - kubectl rollout restart deployment/litecharms-shop -n litecharms-shop-uat + - kubectl rollout restart deployment/litecharms-shop-uat -n litecharms-shop-uat depends_on: - package diff --git a/Shop/Program.cs b/Shop/Program.cs index 83ec6b9..0d0b56f 100644 --- a/Shop/Program.cs +++ b/Shop/Program.cs @@ -1,4 +1,5 @@ using LiteCharms.Extensions; +using Microsoft.AspNetCore.DataProtection; using Shop.Components; using static LiteCharms.Abstractions.Constants; -- 2.47.3 From c6f64b78aab86418344ab88ce2f809797ee3e2d0 Mon Sep 17 00:00:00 2001 From: khwezi Date: Sun, 10 May 2026 08:25:23 +0200 Subject: [PATCH 2/3] Updated nuget packages --- Shop/Program.cs | 3 +-- Shop/Shop.csproj | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Shop/Program.cs b/Shop/Program.cs index 0d0b56f..c054859 100644 --- a/Shop/Program.cs +++ b/Shop/Program.cs @@ -1,5 +1,4 @@ using LiteCharms.Extensions; -using Microsoft.AspNetCore.DataProtection; using Shop.Components; using static LiteCharms.Abstractions.Constants; @@ -18,7 +17,7 @@ builder.Services.AddMediator(); builder.Services.AddSalesServiceBus(); builder.Services.AddGeneralServiceBus(); builder.Services.AddShopDatabase(builder.Configuration); -builder.Services.AddQuartzSchedulerClient(ShopSchedulerName, ShopSchedulerInstanceId, builder.Configuration); +builder.Services.AddQuartzSchedulerClient(ShopSchedulerName, builder.Configuration); builder.Services.AddPostgresHealtchCheck(); builder.Services.AddQuartzHealtchCheck(); diff --git a/Shop/Shop.csproj b/Shop/Shop.csproj index ac309b8..a44e978 100644 --- a/Shop/Shop.csproj +++ b/Shop/Shop.csproj @@ -17,9 +17,9 @@ - - - + + + -- 2.47.3 From e0a98bee0b0ac0f4b39bbb23407b18567c1d885d Mon Sep 17 00:00:00 2001 From: khwezi Date: Sun, 10 May 2026 08:26:19 +0200 Subject: [PATCH 3/3] Added image pull polict to manifest --- litecharms-shop-uat.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/litecharms-shop-uat.yml b/litecharms-shop-uat.yml index 0b36840..3a6608c 100644 --- a/litecharms-shop-uat.yml +++ b/litecharms-shop-uat.yml @@ -63,6 +63,7 @@ spec: containers: - name: shop image: nexus.khongisa.co.za/litecharms-shop:latest + imagePullPolicy: Always resources: limits: memory: "512Mi" -- 2.47.3