Merge pull request #21531 from gustavotrott/ci-unlock-debconf

ci: Improve retry for `Install BBB` step in Automated Tests
This commit is contained in:
Gustavo Trott 2024-10-25 14:45:58 -03:00 committed by GitHub
commit c0ed6bc8cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -255,6 +255,7 @@ jobs:
run: | run: |
sudo sh -c ' sudo sh -c '
apt --purge -y remove apache2-bin apt --purge -y remove apache2-bin
apt-mark hold firefox #hold ff once bbb-install frequently stuck at `Installing the firefox snap`
' '
- name: Install BBB - name: Install BBB
env: env:
@ -303,6 +304,7 @@ jobs:
rm -f /var/lib/dpkg/lock-frontend rm -f /var/lib/dpkg/lock-frontend
rm -f /var/lib/dpkg/lock rm -f /var/lib/dpkg/lock
rm -f /var/cache/apt/archives/lock rm -f /var/cache/apt/archives/lock
rm -f /var/cache/debconf/config.dat
echo "Reconfigure the package manager" echo "Reconfigure the package manager"
dpkg --configure -a dpkg --configure -a