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:

- debian/salsa-ci.yml


Changes:

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



View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/commit/2b05a303b2ebe4afa92b4b79e61f31c8bee0ae47

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/commit/2b05a303b2ebe4afa92b4b79e61f31c8bee0ae47
You're receiving this email because of your account on salsa.debian.org.


Reply via email to