ci: retry kaniko jobs (backoffLimit 2, push-retry) for flaky egress to docker.io
Build and Deploy Platform / build-and-deploy (push) Failing after 17m55s
Build and Deploy Platform / build-and-deploy (push) Failing after 17m55s
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -83,7 +83,7 @@ jobs:
|
|||||||
namespace: ${BUILD_NS}
|
namespace: ${BUILD_NS}
|
||||||
spec:
|
spec:
|
||||||
ttlSecondsAfterFinished: 3600
|
ttlSecondsAfterFinished: 3600
|
||||||
backoffLimit: 0
|
backoffLimit: 2
|
||||||
template:
|
template:
|
||||||
spec:
|
spec:
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
@@ -115,6 +115,7 @@ jobs:
|
|||||||
- --destination=${PUSH_REGISTRY}/${PROJECT}/cloudhost-backend:${IMAGE_TAG}
|
- --destination=${PUSH_REGISTRY}/${PROJECT}/cloudhost-backend:${IMAGE_TAG}
|
||||||
- --insecure
|
- --insecure
|
||||||
- --skip-tls-verify
|
- --skip-tls-verify
|
||||||
|
- --push-retry=2
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: ws
|
- name: ws
|
||||||
mountPath: /workspace
|
mountPath: /workspace
|
||||||
@@ -146,7 +147,7 @@ jobs:
|
|||||||
namespace: ${BUILD_NS}
|
namespace: ${BUILD_NS}
|
||||||
spec:
|
spec:
|
||||||
ttlSecondsAfterFinished: 3600
|
ttlSecondsAfterFinished: 3600
|
||||||
backoffLimit: 0
|
backoffLimit: 2
|
||||||
template:
|
template:
|
||||||
spec:
|
spec:
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
@@ -175,6 +176,7 @@ jobs:
|
|||||||
- --destination=${PUSH_REGISTRY}/${PROJECT}/cloudhost-frontend:${IMAGE_TAG}
|
- --destination=${PUSH_REGISTRY}/${PROJECT}/cloudhost-frontend:${IMAGE_TAG}
|
||||||
- --insecure
|
- --insecure
|
||||||
- --skip-tls-verify
|
- --skip-tls-verify
|
||||||
|
- --push-retry=2
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: ws
|
- name: ws
|
||||||
mountPath: /workspace
|
mountPath: /workspace
|
||||||
|
|||||||
Reference in New Issue
Block a user