From 44d266dc3e263a0865a80e0174d6895bfc9d5755 Mon Sep 17 00:00:00 2001 From: Sergey Date: Tue, 23 Feb 2021 01:23:27 +0200 Subject: [PATCH] Change Ubuntu 16 to latest in connection tests (#206) --- .github/workflows/connections_tests.yml | 2 +- ci/run_connection_test.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/connections_tests.yml b/.github/workflows/connections_tests.yml index 14ab30b..f976b49 100644 --- a/.github/workflows/connections_tests.yml +++ b/.github/workflows/connections_tests.yml @@ -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: diff --git a/ci/run_connection_test.sh b/ci/run_connection_test.sh index 55b7ee7..430a86f 100755 --- a/ci/run_connection_test.sh +++ b/ci/run_connection_test.sh @@ -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