1
0
Fork 0
mirror of https://github.com/containers/ansible-podman-collections.git synced 2026-02-04 07:11:49 +00:00

Change Ubuntu 16 to latest in connection tests (#206)

This commit is contained in:
Sergey 2021-02-23 01:23:27 +02:00 committed by GitHub
parent ee6a47f916
commit 44d266dc3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@ jobs:
strategy:
matrix:
runner-os:
- ubuntu-16.04
- ubuntu-latest
ansible-version:
- git+https://github.com/ansible/ansible.git@devel
runner-python-version:

View file

@ -10,7 +10,7 @@ echo "Testing $CON_TYPE connection ${ROOT:+'with root'}"
if [[ "$CON_TYPE" == "podman" ]]; then
${SUDO} podman ps | grep -q "${CON_TYPE}-container" || \
${SUDO} podman run -d --rm --name "${CON_TYPE}-container" python:3-alpine sleep 1d
${SUDO} podman run -d --name "${CON_TYPE}-container" python:3-alpine sleep 1d
elif [[ "$CON_TYPE" == "buildah" ]]; then
${SUDO} buildah from --name=buildah-container python:2
fi