Louis-Philippe Véronneau pushed to branch master at lintian / lintian
Commits:
a60e951b by Otto Kekäläinen at 2024-09-11T17:00:22+00:00
Salsa CI: Remove unnecessary autopkgtest timeout check
The 'timeout: 3h' added in 2b05a303 already extends the job timeout. The
check will always return '3600' because of this, and is thus useless.
- - - - -
1 changed file:
- debian/salsa-ci.yml
Changes:
=====================================
debian/salsa-ci.yml
=====================================
@@ -29,15 +29,7 @@ lintian-git:
- apt-get update
- apt-get install -y ${WORKING_DIR}/lintian_*.deb
+# Extend Salsa-CI build jobs to have longer timeout as the default GitLab
+# timeout (1h) is often not enough.
.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"'
- - |
- if [[ $CI_JOB_TIMEOUT -le 3600 ]]; then
- echo -e "\e[31;1mERROR: CI/CD Settings / General pipelines / Timeout
is too short ($CI_JOB_TIMEOUT). Use longer timeout - e.g. 7200 (2h) is
enough.\e[0m"
- exit 1
- fi
View it on GitLab:
https://salsa.debian.org/lintian/lintian/-/commit/a60e951b6b6316da250765e4cfaa3b28ea0300e7
--
View it on GitLab:
https://salsa.debian.org/lintian/lintian/-/commit/a60e951b6b6316da250765e4cfaa3b28ea0300e7
You're receiving this email because of your account on salsa.debian.org.