Axel Beckert pushed to branch master at lintian / lintian
Commits:
-
3678cc5a
by Kentaro Hayashi at 2024-05-06T00:08:56+09:00
1 changed file:
Changes:
| ... | ... | @@ -28,3 +28,13 @@ variables: |
| 28 | 28 | before_script:
|
| 29 | 29 | - apt-get update
|
| 30 | 30 | - apt-get install -y ${WORKING_DIR}/lintian_*.deb
|
| 31 | + |
|
| 32 | +# Try to check whether the maximum job timeout is extended to longer one.
|
|
| 33 | +.test-autopkgtest: &test-autopkgtest
|
|
| 34 | + before_script:
|
|
| 35 | + - 'echo "CI/CD Settings / General pipelines / Timeout: $CI_JOB_TIMEOUT seconds"'
|
|
| 36 | + - |
|
|
| 37 | + if [[ $CI_JOB_TIMEOUT -le 3600 ]]; then
|
|
| 38 | + 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"
|
|
| 39 | + exit 1
|
|
| 40 | + fi |