-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bats based MS Graph acceptance test (#85)
* Fix bats based MS Graph acceptance test 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 - remove duplicate roles array - update to vault-1.9.3
- Loading branch information
Showing
6 changed files
with
261 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.