From fede4055495a9d44efbb65848eb7799771d23f9b Mon Sep 17 00:00:00 2001 From: Mark Phippard Date: Mon, 19 Dec 2022 11:25:32 -0500 Subject: Add support for mariner (#344) --- test/common-utils/mariner.sh | 14 ++++++++++++++ test/common-utils/scenarios.json | 7 +++++++ 2 files changed, 21 insertions(+) create mode 100755 test/common-utils/mariner.sh (limited to 'test') diff --git a/test/common-utils/mariner.sh b/test/common-utils/mariner.sh new file mode 100755 index 0000000..ab6cb6e --- /dev/null +++ b/test/common-utils/mariner.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +set -e + +# Optional: Import test library +source dev-container-features-test-lib + +# Definition specific tests +. /etc/os-release +check "non-root user" test "$(whoami)" = "devcontainer" +check "distro" test "${ID}" = "mariner" + +# Report result +reportResults \ No newline at end of file diff --git a/test/common-utils/scenarios.json b/test/common-utils/scenarios.json index 9b0bc85..bc1c784 100644 --- a/test/common-utils/scenarios.json +++ b/test/common-utils/scenarios.json @@ -62,6 +62,13 @@ "common-utils": {} } }, + "mariner": { + "image": "mcr.microsoft.com/cbl-mariner/base/core:2.0", + "remoteUser": "devcontainer", + "features": { + "common-utils": {} + } + }, "alpine": { "image": "alpine", "remoteUser": "devcontainer", -- cgit v1.2.3