]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
github/actions: Introduce a timeout to avoid apt races
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Wed, 22 Feb 2023 14:43:45 +0000 (20:13 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Mon, 27 Feb 2023 16:45:29 +0000 (09:45 -0700)
commitddcd79dede4265d891247004432f9c4e845a5a4a
tree5a11df044e48e6601ab81a4347eeb6e61f5bab94
parentec78fee3b4970f24024be21fd20e3031dcbc71ab
github/actions: Introduce a timeout to avoid apt races

There are chances that apt-get operations are run on the same VM by
different runners both competing to get apt locks. Introduce timeout of
3 seconds, in case the lock is already taken by another instance of
a runner.

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
.github/actions/setup-libcgroup/action.yml