From baba9b41a4db69b74aa16c8a08da48ba46c0684f Mon Sep 17 00:00:00 2001 From: Tomas Jelinek Date: Fri, 1 Nov 2024 17:08:44 +0100 Subject: [PATCH] ci: fix pcs dependencies in ubuntu --- .github/config/ubuntu-requirements.txt | 1 + .github/workflows/python-unit-test.yml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.github/config/ubuntu-requirements.txt b/.github/config/ubuntu-requirements.txt index 1fc4bdab..affdaa7d 100644 --- a/.github/config/ubuntu-requirements.txt +++ b/.github/config/ubuntu-requirements.txt @@ -7,6 +7,7 @@ gcc libffi-dev libnss3-tools pacemaker +pacemaker-dev psmisc puma python3-cryptography diff --git a/.github/workflows/python-unit-test.yml b/.github/workflows/python-unit-test.yml index 4e94f1e8..11e70138 100644 --- a/.github/workflows/python-unit-test.yml +++ b/.github/workflows/python-unit-test.yml @@ -53,6 +53,9 @@ jobs: # package per line. if [ -f .github/config/ubuntu-requirements.txt ]; then sudo apt-get install -y $(cat .github/config/ubuntu-requirements.txt) + # remove pcs which is installed as a dependency of pacemaker (since + # ubuntu 23.10) and conflicts with pcs built from source + sudo dpkg --force-depends --purge pcs fi - name: Clone pcs