#916 docsbuilding: add an activeDeadline for cronjob
Merged 2 years ago by kevin. Opened 2 years ago by darknao.
fedora-infra/ darknao/ansible docsbuilding  into  main

@@ -5,8 +5,10 @@ 

  spec:

    concurrencyPolicy: Forbid

    schedule: "0 23 * * *"

+   startingDeadlineSeconds: 3600

    jobTemplate:

      spec:

+       activeDeadlineSeconds: 86400

        template:

          metadata:

            labels:

@@ -5,8 +5,10 @@ 

  spec:

    concurrencyPolicy: Forbid

    schedule: "50 * * * *"

+   startingDeadlineSeconds: 1800

    jobTemplate:

      spec:

+       activeDeadlineSeconds: 3600

        template:

          metadata:

            labels:

This is to prevent docs building jobs to get stuck for too long if anything goes wrong for some reason (like a stale nfs mount).

Related: https://pagure.io/fedora-infrastructure/issue/10460

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci

rebased onto 01d5262ff450b64f51fde85203c8aa82b537e58b

2 years ago

rebased onto e728dca

2 years ago

rebased onto e728dca

2 years ago

Pull-Request has been merged by kevin

2 years ago