From 3e13c69864cea8f9e8f079819779077679096485 Mon Sep 17 00:00:00 2001 From: John Gee Date: Wed, 8 Feb 2023 17:43:03 +1300 Subject: [PATCH] Add fedora as a second Linux for main tests (#756) --- test/bin/run-all-tests | 2 +- test/docker-compose.yml | 7 +++++++ test/dockerfiles/Dockerfile-fedora-curl | 3 +++ 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 test/dockerfiles/Dockerfile-fedora-curl diff --git a/test/bin/run-all-tests b/test/bin/run-all-tests index 0f55471..dabaeab 100755 --- a/test/bin/run-all-tests +++ b/test/bin/run-all-tests @@ -2,7 +2,7 @@ BIN_DIRECTORY="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" # We want to cover curl and wget especially, gz and xz and variety of OS a bonus. -services=( ubuntu-curl ubuntu-wget ) +services=( fedora-curl ubuntu-wget ) cd "$(dirname "${BIN_DIRECTORY}")" || exit 2 for service in "${services[@]}" ; do diff --git a/test/docker-compose.yml b/test/docker-compose.yml index dc5b658..458a9ef 100644 --- a/test/docker-compose.yml +++ b/test/docker-compose.yml @@ -14,3 +14,10 @@ services: build: context: dockerfiles dockerfile: Dockerfile-ubuntu-wget + fedora-curl: + extends: + file: ./docker-base.yml + service: testbed + build: + context: dockerfiles + dockerfile: Dockerfile-fedora-curl diff --git a/test/dockerfiles/Dockerfile-fedora-curl b/test/dockerfiles/Dockerfile-fedora-curl new file mode 100644 index 0000000..e391f01 --- /dev/null +++ b/test/dockerfiles/Dockerfile-fedora-curl @@ -0,0 +1,3 @@ +FROM fedora:latest + +CMD ["/bin/bash"]