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

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

parent c4dbf42d
Branches
Tags
1 merge request!2553GitLab CI: timeout apt-get update command with 2 minutes
...@@ -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