Skip to content

Commit

Permalink
Merge pull request #508 from containers/podman-5-ci
Browse files Browse the repository at this point in the history
Add installation steps for Podman 5 in CI workflows
  • Loading branch information
rhatdan authored Dec 13, 2024
2 parents fe2e96c + 74ff688 commit f246975
Show file tree
Hide file tree
Showing 4 changed files with 80 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Upgrade to podman 5
run: |
set -e
# Enable universe repository which contains podman
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu oracular universe"
# Update package lists
sudo apt-get update
# Install specific podman version
sudo apt-get upgrade
- name: install
shell: bash
run: |
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@ jobs:
make install-requirements
pip install tqdm --break-system-packages
- name: Upgrade to podman 5
run: |
set -e
# Enable universe repository which contains podman
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu oracular universe"
# Update package lists
sudo apt-get update
# Install specific podman version
sudo apt-get upgrade
- name: run bats
run: |
make validate
Expand All @@ -35,6 +45,16 @@ jobs:
sudo apt-get install podman bats bash codespell python3-argcomplete pipx
make install-requirements
- name: Upgrade to podman 5
run: |
set -e
# Enable universe repository which contains podman
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu oracular universe"
# Update package lists
sudo apt-get update
# Install specific podman version
sudo apt-get upgrade
- name: bats-nocontainer
run: |
pip install tqdm --break-system-packages
Expand All @@ -51,6 +71,16 @@ jobs:
sudo apt-get install bats bash codespell python3-argcomplete pipx
make install-requirements
- name: Upgrade to podman 5
run: |
set -e
# Enable universe repository which contains podman
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu oracular universe"
# Update package lists
sudo apt-get update
# Install specific podman version
sudo apt-get upgrade
- name: Free Disk Space Linux
shell: bash
run: |
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@ jobs:
/usr/lib/jvm || true
sudo apt install aptitude -y >/dev/null 2>&1
- name: Upgrade to podman 5
run: |
set -e
# Enable universe repository which contains podman
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu oracular universe"
# Update package lists
sudo apt-get update
# Install specific podman version
sudo apt-get upgrade
# /mnt has ~ 65 GB free disk space. / is too small.
- name: Reconfigure Docker data-root
run: |
Expand Down Expand Up @@ -59,6 +69,16 @@ jobs:
with:
ref: 's'

- name: Upgrade to podman 5
run: |
set -e
# Enable universe repository which contains podman
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu oracular universe"
# Update package lists
sudo apt-get update
# Install specific podman version
sudo apt-get upgrade
- name: Free Disk Space Linux
shell: bash
run: |
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@ jobs:
/usr/lib/jvm || true
sudo apt install aptitude -y >/dev/null 2>&1
- name: Upgrade to podman 5
run: |
set -e
# Enable universe repository which contains podman
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu oracular universe"
# Update package lists
sudo apt-get update
# Install specific podman version
sudo apt-get upgrade
# /mnt has ~ 65 GB free disk space. / is too small.
- name: Reconfigure Docker data-root
run: |
Expand Down Expand Up @@ -54,6 +64,16 @@ jobs:
with:
ref: 'main'

- name: Upgrade to podman 5
run: |
set -e
# Enable universe repository which contains podman
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu oracular universe"
# Update package lists
sudo apt-get update
# Install specific podman version
sudo apt-get upgrade
- name: install qemu-user-static
run: |
sudo apt-get update
Expand Down

0 comments on commit f246975

Please sign in to comment.