features/test/azure-cli/install_extensions.sh
Paul Yu eafa28287e
Add new option to install azure-cli extensions (#165)
* Add new option for azure-cli extensions

* Update to install az extensions as $_REMOTE_USER

* Skip unknown extensions

* Change azure cli extension option type to string

* Adding test for azure-cli extensions
2022-11-14 12:22:02 -08:00

17 lines
402 B
Bash

#!/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
# Extension-specific tests
check "aks-preview" az extension show --name aks-preview
check "amg" az extension show --name amg
check "containerapp" az extension show --name containerapp
# Report result
reportResults