-
Notifications
You must be signed in to change notification settings - Fork 310
chore(e2e): Clean up enos variables #6591
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,29 +17,23 @@ for further information regarding installation, execution, or composing Enos sce | |
| * Doormat | ||
| ```shell | ||
| brew tap hashicorp/tap | ||
| brew install hashicorp/tap/vault | ||
| brew install hashicorp/tap/terraform | ||
| brew install hashicorp/tap/enos | ||
| brew install coreutils | ||
| brew install hashicorp/tap/vault | ||
| brew install enos coreutils jq | ||
|
|
||
| # (Optional) | ||
| export ENOS_VAR_boundary_license=${license_key} | ||
|
|
||
| # Install doormat cli | ||
| # Install doormat cli for AWS access | ||
| brew tap hashicorp/security [email protected]:hashicorp/homebrew-security.git | ||
| brew install hashicorp/security/doormat-cli | ||
|
|
||
|
|
||
| # | ||
|
|
||
| ``` | ||
|
|
||
| * AWS access. HashiCorp Boundary developers should use Doormat. | ||
| * An SSH keypair in the AWS region you wish to run the scenario. You can use | ||
| doormat to login to the AWS console to create or upload an existing keypair. | ||
| ```shell | ||
| # Create a SSH Key Pair | ||
| ssh-keygen -t ed25519 -C "[email protected]" | ||
|
|
||
| # <https://doormat.hashicorp.services/> | ||
| # Go to the console for the corresponding AWS account | ||
| # Select the desired AWS region on the top-right | ||
| # Go to EC2 -> Key Pairs -> Actions -> Import Key Pair -> Import public key file (.pub) | ||
| # Note the name of the key pair | ||
| ``` | ||
| * Boundary CLI installed locally | ||
|
|
||
| ### Enos Variables | ||
|
|
@@ -57,15 +51,6 @@ See [enos.vars.hcl](./enos.vars.hcl) for complete descriptions of each variable. | |
| You can either modify `enos.vars.hcl` directly or create your own copy at | ||
| `enos-local.vars.hcl` which gets ignored by git. | ||
|
|
||
| ### System File Modifications | ||
|
|
||
| For docker-based scenarios, you will need to modify `/etc/hosts` to include the | ||
| following lines | ||
| ``` | ||
| 127.0.0.1 localhost boundary | ||
| 127.0.0.1 localhost worker | ||
| 127.0.0.1 localhost vault | ||
| ``` | ||
| ### AWS Credentials | ||
| Copy the AWS Account credentials from doormat and set it in the terminal, where the enos commands are run. | ||
|
|
||
|
|
@@ -210,4 +195,4 @@ This can be done under `Firefox Settings > Privacy & Security > View Certificate | |
| ```shell | ||
| > sudo cp mycert.crt /usr/local/share/ca-certificates/ | ||
| > sudo update-ca-certificates | ||
| ``` | ||
| ``` | ||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.