Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2c737b22f1 | |||
| a3bfe9f374 |
@@ -318,9 +318,9 @@ jobs:
|
|||||||
TAG=${{ github.event.release.tag_name }}
|
TAG=${{ github.event.release.tag_name }}
|
||||||
JOB="job/dalpuri-sync-${TAG}"
|
JOB="job/dalpuri-sync-${TAG}"
|
||||||
|
|
||||||
kubectl wait --for=condition=complete --timeout=1800s -n optima "$JOB" &
|
kubectl wait --for=condition=complete --timeout=7200s -n optima "$JOB" &
|
||||||
WAIT_COMPLETE=$!
|
WAIT_COMPLETE=$!
|
||||||
kubectl wait --for=condition=failed --timeout=1800s -n optima "$JOB" &
|
kubectl wait --for=condition=failed --timeout=7200s -n optima "$JOB" &
|
||||||
WAIT_FAILED=$!
|
WAIT_FAILED=$!
|
||||||
|
|
||||||
wait -n $WAIT_COMPLETE $WAIT_FAILED
|
wait -n $WAIT_COMPLETE $WAIT_FAILED
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
backoffLimit: 0
|
backoffLimit: 0
|
||||||
ttlSecondsAfterFinished: 86400
|
ttlSecondsAfterFinished: 86400
|
||||||
activeDeadlineSeconds: 1800
|
activeDeadlineSeconds: 7200
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
|||||||
+5
-1
@@ -1860,7 +1860,11 @@ export const executeForcedIncrementalDalpuriSync = async (options?: {
|
|||||||
};
|
};
|
||||||
|
|
||||||
if (import.meta.main) {
|
if (import.meta.main) {
|
||||||
executeFullDalpuriSync().catch((error) => {
|
executeFullDalpuriSync()
|
||||||
|
.then(() => {
|
||||||
|
process.exit(0);
|
||||||
|
})
|
||||||
|
.catch((error) => {
|
||||||
console.error("CW -> API sync failed:", error);
|
console.error("CW -> API sync failed:", error);
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user