diff options
Diffstat (limited to 'test/terraform')
-rw-r--r-- | test/terraform/install_sentinel.sh | 15 | ||||
-rw-r--r-- | test/terraform/scenarios.json | 8 |
2 files changed, 23 insertions, 0 deletions
diff --git a/test/terraform/install_sentinel.sh b/test/terraform/install_sentinel.sh new file mode 100644 index 0000000..e26ec33 --- /dev/null +++ b/test/terraform/install_sentinel.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +set -e + +# Import test library for `check` command +source dev-container-features-test-lib + +# Check to make sure the user is vscode +check "user is vscode" whoami | grep vscode + +# Sentinel specific tests +check "sentinel" sentinel --version + +# Report result +reportResults
\ No newline at end of file diff --git a/test/terraform/scenarios.json b/test/terraform/scenarios.json index 2365643..8977635 100644 --- a/test/terraform/scenarios.json +++ b/test/terraform/scenarios.json @@ -1,4 +1,12 @@ { + "install_sentinel": { + "image": "mcr.microsoft.com/devcontainers/base:jammy", + "features": { + "terraform": { + "installSentinel": true + } + } + }, "install_tfsec": { "image": "mcr.microsoft.com/devcontainers/base:jammy", "features": { |