Skip to content

Commit

Permalink
[ci] Stop trying to update podman from OBS
Browse files Browse the repository at this point in the history
The OBS repository in libcontainers_unstable is not taken care of very well and
doesn't work at all on the 24.04 runners
  • Loading branch information
dcermak committed Jan 13, 2025
1 parent 85c9135 commit 0c1164b
Showing 1 changed file with 0 additions and 58 deletions.
58 changes: 0 additions & 58 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,81 +34,37 @@ jobs:
matrix:
python_version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
container_runtime: ["podman", "docker"]
update_runtime: [ true, false ]
without_buildah: [ false ]
os_version: ["ubuntu-latest"]

exclude:
- container_runtime: "docker"
python_version: "3.8"
update_runtime: true
without_buildah: false
os_version: "ubuntu-latest"
- container_runtime: "docker"
python_version: "3.9"
update_runtime: true
without_buildah: false
os_version: "ubuntu-latest"
- container_runtime: "docker"
python_version: "3.10"
update_runtime: true
without_buildah: false
os_version: "ubuntu-latest"
- container_runtime: "docker"
python_version: "3.11"
update_runtime: true
without_buildah: false
os_version: "ubuntu-latest"
- container_runtime: "docker"
python_version: "3.12"
update_runtime: true
without_buildah: false
os_version: "ubuntu-latest"
- container_runtime: "docker"
python_version: "3.13"
update_runtime: true
without_buildah: false
os_version: "ubuntu-latest"

include:
# include python 3.7 on ubuntu 22.04
- container_runtime: "podman"
python_version: "3.7"
update_runtime: true
without_buildah: false
os_version: "ubuntu-latest"
- container_runtime: "podman"
python_version: "3.7"
update_runtime: false
without_buildah: false
os_version: "ubuntu-latest"
- container_runtime: "docker"
python_version: "3.7"
update_runtime: false
without_buildah: false
os_version: "ubuntu-latest"

# also test without buildah, but only on the latest python
- python_version: "3.13"
container_runtime: "podman"
update_runtime: true
without_buildah: true
os_version: "ubuntu-latest"
- python_version: "3.13"
container_runtime: "podman"
update_runtime: false
without_buildah: true
os_version: "ubuntu-latest"

# and test python3.6 on ubuntu 20.04
- python_version: "3.6"
container_runtime: "podman"
update_runtime: false
without_buildah: false
os_version: "ubuntu-20.04"
- python_version: "3.6"
container_runtime: "docker"
update_runtime: false
without_buildah: false
os_version: "ubuntu-20.04"

Expand All @@ -125,20 +81,6 @@ jobs:

- run: pip install tox

- name: update the container runtime
if: ${{ matrix.update_runtime }}
run: |
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/unstable/xUbuntu_$(lsb_release -rs)/Release.key \
| gpg --dearmor \
| sudo tee /etc/apt/keyrings/devel_kubic_libcontainers_unstable.gpg > /dev/null
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/devel_kubic_libcontainers_unstable.gpg]\
https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/unstable/xUbuntu_$(lsb_release -rs)/ /" \
| sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:unstable.list > /dev/null
sudo apt-get update -qq
sudo apt-get -qq -y install podman buildah
- name: remove buildah
if: ${{ matrix.without_buildah }}
run: |
Expand Down

0 comments on commit 0c1164b

Please sign in to comment.