The permissions for the MS Graph tests were incomplete, unfortunately
the issue was not caught by the bats test. Essentially doing a local
variable assignment from a sub-shell's stdout does not result in the
test failing when the sub-shell exits with a non-zero status
Summary of fixes:
bats: add support testing Azure data plane roles
terraform: ensure that 'MS Graph' test has all required permissions for
the plugin to generate secrets
terraform: wait for grant assignment after admin-consent
bats: factor out common code to common.sh
bats: ensure that all variable assignment from sub-shell values fail the
test in the case that the sub-shell process exits with a non-zero
status
bats: add better test logging
bats: add support for specifying a custom log file
build: optionally build the plugin for the target vault docker image
os/arch
build: extend to better support bats acceptance test from make
The permissions for the MS Graph tests were incomplete, unfortunately the issue was not caught by the bats test. Essentially doing a local variable assignment from a sub-shell's stdout does not result in the test failing when the sub-shell exits with a non-zero status
Summary of fixes:
admin-consent
common.sh