File tree Expand file tree Collapse file tree 2 files changed +16
-10
lines changed Expand file tree Collapse file tree 2 files changed +16
-10
lines changed Original file line number Diff line number Diff line change @@ -75,15 +75,18 @@ jobs:
75
75
76
76
- name : Update podman
77
77
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"
80
81
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"
81
82
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}"
83
86
sudo apt-get install -qq libprotobuf32t64 python3-protobuf libnet1
84
- # install criu manually from static location
87
+ echo " install criu manually from static location"
85
88
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..."
87
90
sudo apt-get -qq -y install podman || { echo "Start fallback steps for podman nightly installation from a static mirror" && \
88
91
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" && \
89
92
curl -L "http://ftp.lysator.liu.se/pub/opensuse/repositories/devel:/kubic:/libcontainers:/unstable/xUbuntu_${ubuntu_version}/Release.key" | sudo apt-key add - && \
Original file line number Diff line number Diff line change @@ -86,15 +86,18 @@ jobs:
86
86
87
87
- name : Update podman
88
88
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"
91
92
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"
92
93
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}"
94
97
sudo apt-get install -qq libprotobuf32t64 python3-protobuf libnet1
95
- # install criu manually from static location
98
+ echo " install criu manually from static location"
96
99
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..."
98
101
sudo apt-get -qq -y install podman || { echo "Start fallback steps for podman nightly installation from a static mirror" && \
99
102
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" && \
100
103
curl -L "http://ftp.lysator.liu.se/pub/opensuse/repositories/devel:/kubic:/libcontainers:/unstable/xUbuntu_${ubuntu_version}/Release.key" | sudo apt-key add - && \
You can’t perform that action at this time.
0 commit comments