mirror of
https://github.com/podman-desktop/podman-desktop
synced 2026-04-21 17:47:22 +00:00
fix(ci): perform update of ubuntu packages earlier (#13177)
Signed-off-by: Simon Rey <sfbrey+eqqe@gmail.com>
This commit is contained in:
parent
f3bc5a1559
commit
5b57b04306
3 changed files with 6 additions and 6 deletions
4
.github/workflows/e2e-kubernetes-main.yaml
vendored
4
.github/workflows/e2e-kubernetes-main.yaml
vendored
|
|
@ -80,12 +80,12 @@ jobs:
|
|||
echo "Add unstable kubic repo into list of available sources and get the repo key"
|
||||
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"
|
||||
curl -L "https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/unstable/xUbuntu_${ubuntu_version}/Release.key" | sudo apt-key add -
|
||||
echo "Updating all dependencies..."
|
||||
sudo apt-get update -qq
|
||||
echo "install necessary dependencies for criu package which is not part of ${ubuntu_version}"
|
||||
sudo apt-get install -qq libprotobuf32t64 python3-protobuf libnet1
|
||||
echo "install criu manually from static location"
|
||||
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
|
||||
echo "Updating all dependencies..."
|
||||
sudo apt-get update -qq
|
||||
echo "installing/update podman package..."
|
||||
sudo apt-get -qq -y install podman || { echo "Start fallback steps for podman nightly installation from a static mirror" && \
|
||||
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" && \
|
||||
|
|
|
|||
4
.github/workflows/e2e-main.yaml
vendored
4
.github/workflows/e2e-main.yaml
vendored
|
|
@ -94,12 +94,12 @@ jobs:
|
|||
echo "Add unstable kubic repo into list of available sources and get the repo key"
|
||||
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"
|
||||
curl -L "https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/unstable/xUbuntu_${ubuntu_version}/Release.key" | sudo apt-key add -
|
||||
echo "Updating all dependencies..."
|
||||
sudo apt-get update -qq
|
||||
echo "install necessary dependencies for criu package which is not part of ${ubuntu_version}"
|
||||
sudo apt-get install -qq libprotobuf32t64 python3-protobuf libnet1
|
||||
echo "install criu manually from static location"
|
||||
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
|
||||
echo "Updating all dependencies..."
|
||||
sudo apt-get update -qq
|
||||
echo "installing/update podman package..."
|
||||
sudo apt-get -qq -y install podman || { echo "Start fallback steps for podman nightly installation from a static mirror" && \
|
||||
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" && \
|
||||
|
|
|
|||
4
.github/workflows/pr-check.yaml
vendored
4
.github/workflows/pr-check.yaml
vendored
|
|
@ -326,12 +326,12 @@ jobs:
|
|||
echo "Add unstable kubic repo into list of available sources and get the repo key"
|
||||
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"
|
||||
curl -L "https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/unstable/xUbuntu_${ubuntu_version}/Release.key" | sudo apt-key add -
|
||||
echo "Updating all dependencies..."
|
||||
sudo apt-get update -qq
|
||||
echo "install necessary dependencies for criu package which is not part of ${ubuntu_version}"
|
||||
sudo apt-get install --allow-unauthenticated -qq libprotobuf32t64 python3-protobuf libnet1
|
||||
echo "install criu manually from static location"
|
||||
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
|
||||
echo "Updating all dependencies..."
|
||||
sudo apt-get update --allow-insecure-repositories -qq
|
||||
echo "installing/update podman package..."
|
||||
sudo apt-get -qq -y install --allow-unauthenticated podman || { echo "Start fallback steps for podman nightly installation from a static mirror" && \
|
||||
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" && \
|
||||
|
|
|
|||
Loading…
Reference in a new issue