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
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@
- - |
# apt_update
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
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