]> 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:46:45 +0000 (09:46 -0700)
commit930dc6adfc828e55a1e2c96f2f5612b4e38116b1
treef48fdd9a909c454eb9996129c8b071fbc10309b7
parent14b89e26381739f3c17883769e6f988f530e5e7f
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>
(cherry picked from commit ddcd79dede4265d891247004432f9c4e845a5a4a)
.github/actions/setup-libcgroup/action.yml