diff --git a/library/tox b/library/tox new file mode 100644 index 00000000000000..c9b4a6d944a8e2 --- /dev/null +++ b/library/tox @@ -0,0 +1,7 @@ +Maintainers: Elisey Zanko (@31z4) +GitRepo: https://github.com/31z4/tox-docker.git +GitFetch: refs/heads/main +Architectures: amd64, arm64v8, ppc64le, s390x + +Tags: 4-3, 4-3.0, 4-3.0.1, 4, 4.4-3, 4.4-3.0, 4.4-3.0.1, 4.4, 4.4.7-3, 4.4.7-3.0, 4.4.7-3.0.1, 4.4.7, latest +GitCommit: 881e2f195d431ca14d1da7e2e5044c3e0ff932b7 diff --git a/test/config.sh b/test/config.sh index fcdeb8cc7959ef..814f2c35537dc0 100644 --- a/test/config.sh +++ b/test/config.sh @@ -265,6 +265,9 @@ imageTests+=( [tomcat]=' tomcat-hello-world ' + [tox]=' + tox-basics + ' [varnish]=' varnish ' diff --git a/test/tests/tox-basics/run.sh b/test/tests/tox-basics/run.sh new file mode 100755 index 00000000000000..2e6a692bf50248 --- /dev/null +++ b/test/tests/tox-basics/run.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +set -x + +set -eo pipefail + +testDir="$(readlink -f "$(dirname "$BASH_SOURCE")")" +runDir="$(dirname "$(readlink -f "$BASH_SOURCE")")" + +image="$1" + +newImage="$("$runDir/image-name.sh" librarytest/tox-basics "$image")" +"$runDir/docker-build.sh" "$testDir" "$newImage" <