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..c054859 100644 --- a/Shop/Program.cs +++ b/Shop/Program.cs @@ -17,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 @@ - - - + + + 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"