Skip to content
Snippets Groups Projects
Commit 9dd35ff5 authored by Alam Ed Arias's avatar Alam Ed Arias
Browse files

Merge branch 'gitlab-ci_timeout' into 'next'

GitLab CI: timeout apt-get update command with 2 minutes

See merge request !2553
parents c4dbf42d 389f2563
No related branches found
No related tags found
1 merge request!2553GitLab CI: timeout apt-get update command with 2 minutes
Pipeline #6230 passed
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
- - | - - |
# apt_update # apt_update
echo -e "\e[0Ksection_start:`date +%s`:apt_update[collapsed=true]\r\e[0KUpdating APT listing" echo -e "\e[0Ksection_start:`date +%s`:apt_update[collapsed=true]\r\e[0KUpdating APT listing"
- apt-get update - timeout 2m apt-get update || timeout 2m apt-get update
- | - |
# apt_update # apt_update
echo -e "\e[0Ksection_end:`date +%s`:apt_update\r\e[0K" echo -e "\e[0Ksection_end:`date +%s`:apt_update\r\e[0K"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment