[ubuntu] pin podmanm, add testcase for podman networking (#7763)

Related: https://github.com/actions/runner-images/issues/7753
This commit is contained in:
ilia-shipitsin
2023-09-04 10:50:30 +02:00
committed by GitHub
parent 1e590b77aa
commit 1a30e20713
2 changed files with 15 additions and 1 deletions

View File

@@ -6,7 +6,15 @@
source $HELPER_SCRIPTS/os.sh
install_packages=(podman buildah skopeo)
#
# pin podman due to https://github.com/actions/runner-images/issues/7753
# https://bugs.launchpad.net/ubuntu/+source/libpod/+bug/2024394
#
if isUbuntu20; then
install_packages=(podman buildah skopeo)
else
install_packages=(podman=3.4.4+ds1-1ubuntu1 buildah skopeo)
fi
# Packages is available in the official Ubuntu upstream starting from Ubuntu 21
if isUbuntu20; then

View File

@@ -341,6 +341,12 @@ Describe "Containers" {
"$ContainerCommand -v" | Should -ReturnZeroExitCode
}
# https://github.com/actions/runner-images/issues/7753
It "podman networking" -TestCases "podman CNI plugins" {
"podman network create -d bridge test-net && podman network ls" | Should -Not -MatchCommandOutput "Error"
}
}
Describe "nvm" {