@@ -19,10 +19,34 @@ jobs:
19
19
options : --privileged --cgroupns=host
20
20
steps :
21
21
- uses : actions/checkout@v4
22
- - name : Install dependencies
22
+ - name : Download necessary .deb files from man-compose-test-data repository
23
+ run : |
24
+ BASE_URL="https://raw.githubusercontent.com/mokibit/podman-compose-test-data/tree/main/deb_files/podman-5.4.2"
25
+
26
+ FILES=(
27
+ "podman_5.4.2+composetest-1_amd64.deb"
28
+ "podman-docker_5.4.2+composetest-1_amd64.deb"
29
+ "podman-remote_5.4.2+composetest-1_amd64.deb"
30
+ )
31
+ for FILE in "${FILES[@]}"; do
32
+ URL="${BASE_URL}/${FILE}"
33
+ echo "Downloading: $URL"
34
+ curl -L -f -O "$URL" || { echo "Failed to download $FILE"; exit 1; }
35
+ done
36
+ - name : Install podman v5.4.2 from .deb packages
37
+ run : |
38
+ dpkg -i podman_5.4.2+composetest-1_amd64.deb
39
+ dpkg -i podman-docker_5.4.2+composetest-1_amd64.deb
40
+ dpkg -i podman-remote_5.4.2+composetest-1_amd64.deb
41
+ apt-get install -f -y
42
+ - name : Verify podman installation
43
+ run : |
44
+ podman --version
45
+ podman-remote --version
46
+ podman-docker version || echo "podman-docker not available"
47
+ - name : Install other test dependencies
23
48
run : |
24
49
set -e
25
- apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y podman
26
50
python -m pip install --upgrade pip
27
51
pip install -r requirements.txt
28
52
pip install -r test-requirements.txt
0 commit comments