[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][lintian/lintian][master] Salsa-CI: Extend autopkgtest job timeout to 3h by default



Title: GitLab

Axel Beckert pushed to branch master at lintian / lintian

Commits:

  • 2b05a303
    by Otto Kekäläinen at 2024-05-22T20:25:13-07:00
    Salsa-CI: Extend autopkgtest job timeout to 3h by default
    
    Looking at current open MRs for Lintian, nearly all of them fail on
    autopkgtest timing out. Seems contributors are not looking at the
    CI output and reading the error. Fix this by forcing the timeout to 3h
    directly from within the GitLab CI definition.
    
    This renders the existing `before_script` section obsolete, but keep it
    still around as fall-back to satisfy those who have concerns that the
    `timeout` might not always work.
    

1 changed file:

Changes:

  • debian/salsa-ci.yml
    ... ... @@ -29,8 +29,11 @@ variables:
    29 29
       - apt-get update
    
    30 30
       - apt-get install -y ${WORKING_DIR}/lintian_*.deb
    
    31 31
     
    
    32
    -# Try to check whether the maximum job timeout is extended to longer one.
    
    33 32
     .test-autopkgtest: &test-autopkgtest
    
    33
    +  # Extend Salsa-CI build jobs to have longer timeout as the default GitLab
    
    34
    +  # timeout (1h) is often not enough.
    
    35
    +  timeout: 3h
    
    36
    +  # Try to check whether the maximum job timeout is extended to longer one.
    
    34 37
       before_script:
    
    35 38
         - 'echo "CI/CD Settings / General pipelines / Timeout: $CI_JOB_TIMEOUT seconds"'
    
    36 39
         - |
    


  • Reply to: