Skip to content

Commit 96355d3

Browse files
committed
workflows: Add steps to install netavark-1.14
Signed-off-by: Monika Kairaityte <[email protected]>
1 parent 760b079 commit 96355d3

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/test.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,28 @@ jobs:
7979
- name: Verify crun-1.21 installation
8080
run: |
8181
dpkg -l | awk '$2=="crun" {print $3}'
82+
- name: Download necessary netavark-1.14 .deb files from podman-compose-test-data repository # podman-5.4.2 requires netavark-1.14
83+
if: matrix.podman-version == '5.4.2'
84+
shell: bash
85+
run: |
86+
BASE_URL="https://raw.githubusercontent.com/mokibit/podman-compose-test-data/main/deb_files/netavark-1.14"
87+
FILES=(
88+
"netavark-dbgsym_1.14.0-2_amd64.deb"
89+
"netavark_1.14.0-2_amd64.deb"
90+
)
91+
for FILE in "${FILES[@]}"; do
92+
URL="${BASE_URL}/${FILE}"
93+
echo "Downloading: $FILE"
94+
curl -L -f -O "$URL" || { echo "Failed to download $FILE"; exit 1; }
95+
done
96+
- name: Install netavark-1.14 from .deb packages
97+
if: matrix.podman-version == '5.4.2'
98+
run: |
99+
dpkg -i ./netavark_1.14.0-2_amd64.deb
100+
apt-get install -f -y
101+
- name: Verify netavark_1.14 installation
102+
run: |
103+
dpkg -l | awk '$2=="netavark" {print $3}'
82104
- name: Install other test dependencies
83105
run: |
84106
set -e

0 commit comments

Comments
 (0)