Compare commits

...

2 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
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -31,6 +31,8 @@ steps:
registry: nexus.khongisa.co.za
repo: nexus.khongisa.co.za/litecharms-scheduler
tags: [ latest, "1.${DRONE_BUILD_NUMBER}" ]
use_cache: true
cache_from: nexus.khongisa.co.za/litecharms-scheduler:latest
custom_labels:
- org.opencontainers.image.source=https://gitea.khongisa.co.za/litecharms/scheduler
- org.opencontainers.image.version=1.${DRONE_BUILD_NUMBER}
+1 -1
View File
@@ -51,7 +51,7 @@ metadata:
spec:
serviceName: "scheduler-worker-service"
replicas: 2
revisionHistoryLimit: 0
revisionHistoryLimit: 1
selector:
matchLabels:
app: scheduler