Compare commits

...

3 Commits

Author SHA1 Message Date
Khwezi Mngoma a5319e953e refactored docker build to use image caching
continuous-integration/drone/pr Build is passing
2026-06-16 10:34:36 +02:00
Khwezi Mngoma b8e9cff8fb Ensured the replicaset has at least 1 revision history
continuous-integration/drone/pr Build is passing
2026-06-15 23:38:26 +02:00
Khwezi Mngoma ca1504f1ee Added automati revision history pruning
continuous-integration/drone/pr Build is passing
2026-06-15 23:27:14 +02:00
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -31,6 +31,8 @@ steps:
registry: nexus.khongisa.co.za registry: nexus.khongisa.co.za
repo: nexus.khongisa.co.za/litecharms-scheduler repo: nexus.khongisa.co.za/litecharms-scheduler
tags: [ latest, "1.${DRONE_BUILD_NUMBER}" ] tags: [ latest, "1.${DRONE_BUILD_NUMBER}" ]
use_cache: true
cache_from: nexus.khongisa.co.za/litecharms-scheduler:latest
custom_labels: custom_labels:
- org.opencontainers.image.source=https://gitea.khongisa.co.za/litecharms/scheduler - org.opencontainers.image.source=https://gitea.khongisa.co.za/litecharms/scheduler
- org.opencontainers.image.version=1.${DRONE_BUILD_NUMBER} - org.opencontainers.image.version=1.${DRONE_BUILD_NUMBER}
+2 -1
View File
@@ -50,7 +50,8 @@ metadata:
namespace: litecharms-scheduler-uat namespace: litecharms-scheduler-uat
spec: spec:
serviceName: "scheduler-worker-service" serviceName: "scheduler-worker-service"
replicas: 1 replicas: 2
revisionHistoryLimit: 1
selector: selector:
matchLabels: matchLabels:
app: scheduler app: scheduler