mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
[ubuntu] pin podmanm, add testcase for podman networking (#7763)
Related: https://github.com/actions/runner-images/issues/7753
This commit is contained in:
@@ -6,7 +6,15 @@
|
|||||||
|
|
||||||
source $HELPER_SCRIPTS/os.sh
|
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
|
# Packages is available in the official Ubuntu upstream starting from Ubuntu 21
|
||||||
if isUbuntu20; then
|
if isUbuntu20; then
|
||||||
|
|||||||
@@ -341,6 +341,12 @@ Describe "Containers" {
|
|||||||
|
|
||||||
"$ContainerCommand -v" | Should -ReturnZeroExitCode
|
"$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" {
|
Describe "nvm" {
|
||||||
|
|||||||
Reference in New Issue
Block a user