Skip to content

Commit 16134dc

Browse files
authored
chore(test): updating podman kubic repo (#1803)
Signed-off-by: Vladimir Lazar <[email protected]>
1 parent d25343e commit 16134dc

File tree

2 files changed

+16
-10
lines changed

2 files changed

+16
-10
lines changed

.github/workflows/e2e-main.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,18 @@ jobs:
7575

7676
- name: Update podman
7777
run: |
78-
# ubuntu version from kubic repository to install podman we need (v5)
79-
ubuntu_version='23.04'
78+
echo "ubuntu version from kubic repository to install podman we need (v5)"
79+
ubuntu_version='23.10'
80+
echo "Add unstable kubic repo into list of available sources and get the repo key"
8081
sudo sh -c "echo 'deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/unstable/xUbuntu_${ubuntu_version}/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:unstable.list"
8182
curl -L "https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/unstable/xUbuntu_${ubuntu_version}/Release.key" | sudo apt-key add -
82-
# install necessary dependencies for criu package which is not part of 23.04
83+
echo "Updating database of packages..."
84+
sudo apt-get update -qq
85+
echo "install necessary dependencies for criu package which is not part of ${ubuntu_version}"
8386
sudo apt-get install -qq libprotobuf32t64 python3-protobuf libnet1
84-
# install criu manually from static location
87+
echo "install criu manually from static location"
8588
curl -sLO http://cz.archive.ubuntu.com/ubuntu/pool/universe/c/criu/criu_3.16.1-2_amd64.deb && sudo dpkg -i criu_3.16.1-2_amd64.deb
86-
sudo apt-get update -qq
89+
echo "installing/update podman package..."
8790
sudo apt-get -qq -y install podman || { echo "Start fallback steps for podman nightly installation from a static mirror" && \
8891
sudo sh -c "echo 'deb http://ftp.lysator.liu.se/pub/opensuse/repositories/devel:/kubic:/libcontainers:/unstable/xUbuntu_${ubuntu_version}/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:unstable.list" && \
8992
curl -L "http://ftp.lysator.liu.se/pub/opensuse/repositories/devel:/kubic:/libcontainers:/unstable/xUbuntu_${ubuntu_version}/Release.key" | sudo apt-key add - && \

.github/workflows/pr-check.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,18 @@ jobs:
8686

8787
- name: Update podman
8888
run: |
89-
# ubuntu version from kubic repository to install podman we need (v5)
90-
ubuntu_version='23.04'
89+
echo "ubuntu version from kubic repository to install podman we need (v5)"
90+
ubuntu_version='23.10'
91+
echo "Add unstable kubic repo into list of available sources and get the repo key"
9192
sudo sh -c "echo 'deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/unstable/xUbuntu_${ubuntu_version}/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:unstable.list"
9293
curl -L "https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/unstable/xUbuntu_${ubuntu_version}/Release.key" | sudo apt-key add -
93-
# install necessary dependencies for criu package which is not part of 23.04
94+
echo "Updating database of packages..."
95+
sudo apt-get update -qq
96+
echo "install necessary dependencies for criu package which is not part of ${ubuntu_version}"
9497
sudo apt-get install -qq libprotobuf32t64 python3-protobuf libnet1
95-
# install criu manually from static location
98+
echo "install criu manually from static location"
9699
curl -sLO http://cz.archive.ubuntu.com/ubuntu/pool/universe/c/criu/criu_3.16.1-2_amd64.deb && sudo dpkg -i criu_3.16.1-2_amd64.deb
97-
sudo apt-get update -qq
100+
echo "installing/update podman package..."
98101
sudo apt-get -qq -y install podman || { echo "Start fallback steps for podman nightly installation from a static mirror" && \
99102
sudo sh -c "echo 'deb http://ftp.lysator.liu.se/pub/opensuse/repositories/devel:/kubic:/libcontainers:/unstable/xUbuntu_${ubuntu_version}/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:unstable.list" && \
100103
curl -L "http://ftp.lysator.liu.se/pub/opensuse/repositories/devel:/kubic:/libcontainers:/unstable/xUbuntu_${ubuntu_version}/Release.key" | sudo apt-key add - && \

0 commit comments

Comments
 (0)