Skip to content

Commit

Permalink
tests: fix for podman runner (#934)
Browse files Browse the repository at this point in the history
Fix the installation of podman so that tests use the latest stable
version rather than the development one.
  • Loading branch information
ivotron committed Nov 24, 2020
1 parent 9cd44c2 commit 68b2a10
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
dist: bionic
dist: focal

language: python

Expand Down
4 changes: 2 additions & 2 deletions src/scripts/install_podman.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ if [[ $ENGINE != "podman" ]]; then
fi

. /etc/os-release
echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/testing/xUbuntu_${VERSION_ID}/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:testing.list
echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/testing/xUbuntu_${VERSION_ID}/Release.key | sudo apt-key add -
sudo apt-get update -qq
sudo apt-get -qq -y install slirp4netns podman
sudo apt-get -qq -y install podman uidmap slirp4netns
podman version

0 comments on commit 68b2a10

Please sign in to comment.