test(e2e): Add test for worker-led worker registration (#4014)

* refact(e2e): Create module to run boundary commands

* test(e2e): Add worker-led registration test
This commit is contained in:
Michael Li authored and GitHub committed 2023-11-09 09:55:47 -05:00
1 parent 527c383ea3
commit b0127116f3
13 files changed
+432 -66

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
#!/usr/bin/env sh
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1
set -eu -o pipefail
boundary workers create worker-led \
-worker-generated-auth-token $WORKER_TOKEN \
-token env://BOUNDARY_TOKEN \
-format json