Commit Graph
166 Commits
Author SHA1 Message Date
dillanb-hashi d0050ad881 refact(e2e): Enable token to be passed into methods (#6248)
* ce: chore(e2e): Address setup flakiness when getting hostname
* ce: refact(e2e): Enable token to be passed into methods
Co-authored-by: Michael Li <michael.li@hashicorp.com>
2025-11-13 13:19:33 -07:00
dillanb-hashi 1a135dd711 test(rdp): added public controller ip as an output for github runner rdp tests (#6246) 2025-11-12 17:45:29 -05:00
Michael Li b3c6cb7929 test(e2e): Add RDP test for Vault LDAP (ce commits) (#6237)
* refact(e2e): Add error output to SetupLdapWithOpenLdap

(cherry picked from commit 12874ec3227500ac03ece452e342f44d9f1ebc7a)

* test(e2e): Add method for setting up vault ldap with active directory

(cherry picked from commit 4f0fe7bba78d25005a5d98e203a3d0bc037a2b69)

* chore(e2e): Add domain controller ipv6 address to e2e tests

(cherry picked from commit 3215194053cd82a4e650522e56f4699946f62ef3)
2025-11-10 13:31:47 -05:00
Michael Li 89c577ddd7 chore(e2e): Update go mod download to run on the correct user (#6227)
* chore(e2e): Ensure go modules are downloaded for test user

* chore(e2e): Add additional debug lines in script

* chore(e2e): Exclude boundary-ui clone when zipping boundary src
2025-11-07 12:03:27 -05:00
Michael Li 272cad00b2 chore(e2e): Enable Vault for RDP e2e tests (#6223)
* chore(e2e): Update vault addresses

* chore(e2e): Install vault CLI on windows client
2025-11-06 13:49:17 -05:00
dillanb-hashi 4e78c68195 chore(rdp): add client ssh key to enos variable output (#6224) 2025-11-06 09:28:44 -07:00
Michael Li 31277e0b23 chore(e2e): Change RDP scenario to use ipv4 only (#6218)
* chore(e2e): go mod download

* chore(e2e): Change RDP scenario to use ipv4 only

(cherry picked from commit e65cc563e94523ba454acb1afa2b4b2306f985df)
2025-11-04 14:16:59 -05:00
Michael Li 5885a40ab8 chore(e2e): Disable snap assist (#6214) 2025-10-29 18:21:32 -04:00
dillanb-hashi 4bdb811dc4 chore(e2e): Added variable to fix enos scenario (#6205) 2025-10-28 10:41:12 -07:00
dillanb-hashi 420f7cb334 test(rdp): pass through server and client version to e2e output (#6201)
* test(rdp): pass through server and client version to e2e output
2025-10-28 09:05:22 -07:00
Michael Li 1497db1623 chore(e2e): Update artifact name (#6192) 2025-10-27 15:04:16 -04:00
Michael Li 1023a7c53d chore(e2e): Add steps to download opencv from workflow (#6177)
* chore(e2e): Add steps to download opencv from github

* CR: comment

* CR
2025-10-22 13:01:46 -04:00
Michael Li e4e724bbc5 test(e2e): Add support for Vault LDAP testing (#6175)
* chore(e2e): Update vault version that has vault ldap feature

* chore(e2e): Fix firewall and security group rules

* chore(e2e): Setup ldaps

* CR: spacing
2025-10-22 10:18:32 -04:00
dillanb-hashi 0779ce4f35 chore(e2e): fix for enos docker build (#6166)
* chore(e2e): fix for enos docker build
2025-10-17 13:49:36 -07:00
dillanb-hashi f7a52473b0 chore(e2e): Add source override to admin ui build script
* override build source for automation. Allowing enterprise builds from boundary-ui source
2025-10-17 07:44:12 -07:00
dillanb-hashi 725093f8d8 chore(e2e): Add some dependencies for RDP automation
* added dependencies for automation
2025-10-16 15:09:45 -07:00
Johan Brandhorst-Satzkorn 8f5bb3a8b1 config: remove unused telemetry stanza (#6137)
I think this was somehow accidentally included from Vault
back in the day and never removed. As far as I can tell
these options have absolutely no effect on anything
in Boundary and will probably only cause confusion.
2025-10-10 23:33:36 -04:00
4078838f56 feat(mongo): Add MongoDB connection support for Boundary CLI PORT (#6069)
* feat(mongo): add mongo for boundary cli

* Fix: remove changes added by mistake during testing

* feat(enos): install MongoDB client (mongosh) in e2e Docker test runtime

* Remove explicit Boundary DB/server startup from target_tcp_connect_mongo_test.go

* Add a full stop and trigger CI

* feat: add mongosh support to boundary connect mongo

* feat: add mongosh support to boundary connect mongo

* feat: add auth-source flag for MongoDB connect command

- Add -auth-source flag with default value 'admin' for root users
- Add BOUNDARY_CONNECT_MONGO_AUTH_SOURCE environment variable support
- Update documentation with new flag and correct mongosh default
- Improve MongoDB test with explicit auth-source parameter
- Fix Docker configuration formatting for better readability

This ensures MongoDB root users authenticate against the admin database
by default while allowing flexibility for custom authentication databases.

* test(e2e): Fixed false positive in Mongo connect test; use UriNetwork and container hostname

* make gen

* fix: Removed unnecessary variable containerName from the MongoDB E2E test

* feat(connect/mongo): Build URI compatible with mongosh and set default authSource

* feat(connect/mongo): use mongosh flags following PostgreSQL pattern

* remove 'connection string' from auth-source usage text

* Update internal/cmd/commands/connect/mongo.go

Co-authored-by: Bharath Gajjala <120367134+bgajjala8@users.noreply.github.com>

* remove 'connection string' from auth-source usage text

* refacotr: replace authSource flag with authenticationDatabase

---------

Co-authored-by: Enbiya <100806254+enbiyagoral@users.noreply.github.com>
Co-authored-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>
2025-10-09 11:13:47 -05:00
dillanb-hashi f1cac7046f small change in docker enos build (#6120)
* small change in docker build to enable enos github runner
2025-10-07 10:49:05 -07:00
Pradeep Sekar fac22dfc4a chore: updated ec2 configurations to require imdsv2 (#6005) 2025-09-30 13:40:18 -04:00
Tony bc40164871 chore(e2e): Update framework to remove boundary_docker_image_name (#6092)
* remove name var necessity in docker scenario

* rm log

* parse from docker load

* rm docker image name var from enos-variables

* rm boundary_docker_image_name from files
2025-09-30 10:25:37 -04:00
Michael Li 3a7f5d08c5 chore(e2e): Allow AWS to select default db version (#6090)
Rather than hard-coding a version and needing to update this every time it becomes deprecated, we just pick the current default that AWS has set (which should be close to the latest).
2025-09-26 09:26:05 -04:00
Michael Li 2593b62430 fix(e2e): Use worker config from variable (#6081) 2025-09-24 13:46:58 -04:00
Justin Nguyen 4548028efe ICU-14484: redis connect helper (#6001)
* add redis connect support
* Setup redis in docker for e2e testing
* Update docs and changelog
* Commenting out e2e tests for now, will revisit in a separate task
2025-09-19 16:20:11 -05:00
Michael Li f8a5894e29 chore(e2e): Update windows worker module to support other configs (#6077) 2025-09-19 16:12:29 -04:00
Michael Li 487107e958 chore(e2e): Ensure permissions on key file are correct (#6062) 2025-09-18 16:27:43 -04:00
Michael Li 57d69637f8 chore(e2e): Update firewall rules for instances in the windows domain (#6059)
* chore(e2e): Update firewall rules

* fix(e2e): Add ipv6_address
2025-09-18 12:57:06 -04:00
Michael Li c2585d8fb8 chore(e2e): Allow worker task on windows instances to run indefinitely (#6043)
* chore(e2e): Allow worker to run indefinitely

* chore(e2e): Add time sync to ensure windows instances are in sync

* CR: Remove semicolons
2025-09-12 14:02:12 -04:00
dillanb-hashi 31ab2cdce8 chore(e2e): fixed enos scripts to allow for crt builder in windows scenario (#6042) 2025-09-09 11:12:17 -07:00
Johan Brandhorst-Satzkorn 30d97687b5 Upgrade Go to 1.25 (#6011)
* Upgrade Go to 1.25

* Upgrade to golangci-lint v2

* Remove use of apt-key
2025-09-02 18:27:22 -04:00
dillanb-hashi 8d6f0d4e28 chore(e2e): Added the option to make member server kerberos only (#5997)
* chore(e2e): Added the option to make member server kerberos only
2025-08-22 14:06:32 -07:00
Michael Li 8647e3f347 chore(e2e): Add support for Windows Server 2016 (#5994)
* chore: Fix spacing

* chore(e2e): Add support for windows server 2016

* fix(e2e): Pass region into worker module

* CR: Rename scenario

* CR: enos fmt

* CR: Add username to enos vpc

* CR: Add vault environment variables
2025-08-21 16:11:42 -04:00
dillanb-hashi 2e17f06cd2 chore(e2e): Added checks to userdata scripts to reduce setup flakiness (#5991)
* chore(e2e): Added checks to userdata scripts to reduce setup flakiness
2025-08-20 15:30:12 -07:00
Michael Li 41e5cacb7c chore(e2e): Enable audio service (#5988) 2025-08-20 11:43:23 -04:00
Michael Li f91e10630d chore(e2e): Ensure domain controller reboots (#5986) 2025-08-20 10:40:27 -04:00
Michael Li 049109fb10 chore(e2e): Increase test timeout to 30m (#5987) 2025-08-19 12:20:11 -04:00
dillanb-hashi f39e0b07c7 chore(e2e): Added windows based boundary worker scenario and module (#5973)
* Added windows based boundary worker scenario and module
* powershell script to run boundary on startup
* merged member server scenario
2025-08-18 07:53:24 -07:00
Michael Li 71fc7a5ec4 chore(e2e): Add module for rdp member server (#5976)
* chore(e2e): Add module for rdp member server

* CR: Update Domain mode to be compatible with newer versions of Windows

* CR: Add comments to ports

* CR: Simplify adding computer to the domain
2025-08-12 18:02:18 -04:00
dillanb-hashi 76fccfb912 test(e2e): Created module for windows client (#5942)
e2e(test): Created module and scenario for windows client for rdp testing
2025-08-06 09:55:15 -07:00
Ryan DerrandBharath Gajjala 4d3cb76c28 Cassandra Connect Support (#5952)
* Init cassandra

* Init cassandra

* Initial Cassandra Command Support For cqlsh

* Add Make Gen

* adding cassandra test

* Cleanup cassandra docker setup

* Adding container wait

* Container restart

* Minor Fix

* Cleanup docker and test

* Adding final tests

* Removing comment

* Fixing cleanup (uncomment)

* Removing bad yaml

* Cleanup

* Cleanup

* Adressing PR review comments

* Adding test support

* fix spacing

* Adding changelog

* docs

* docs

* adding cassandra page

* nav

* Versbose commenting

* cleanup naming of file

* updating helper func to return errors

* doc change

* Removed an incorrect comment and now passing the config by reference.

* Comment cleanup

* Fix option warning in cassandra connect command (#5951)

* Add healthcheck to caller function as it's resposible for container health

* Resolve Comments

* Update Log Typo

---------

Co-authored-by: Bharath Gajjala <120367134+bgajjala8@users.noreply.github.com>
2025-07-30 16:21:11 -05:00
Michael Li 9778cb95f8 chore(e2e): Fix availability zone check (#5935) 2025-07-17 16:30:27 -04:00
dillanb-hashi 05fe8f9511 chore(e2e): created an enos scenario for an rdp target (#5932)
* chore(e2e): created an enos scenario for an rdp target
2025-07-16 10:01:41 -07:00
Michael Li 9ce79ab8fe chore(e2e): Add recovery key to boundary config (#5933) 2025-07-15 14:07:50 -04:00
Michael Li e000aeafcd chore(e2e): Fix bucket lifecycle warning (#5912)
The provider was returning the following warning, which will become an error in future versions of the provider.

No attribute specified when one (and only one) of [rule[0].filter,rules[0].prefix] is required
2025-07-09 12:14:49 -04:00
8b8fb28228 feat: add MySQL command support PORT (#5891)
* feat: add MySQL command support

* Fix MySQL connection according to review feedback

* Update internal/cmd/commands/connect/mysql.go

Co-authored-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>

* Update internal/cmd/commands/connect/mysql.go

Co-authored-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>

* Update internal/cmd/commands/connect/mysql.go

Co-authored-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>

* feat: add MySQL support to boundary connect

* docs: add MySQL to navigation menu

   Fixes content check error by adding mysql.mdx to docs navigation.
   MySQL page now appears in Commands > connect section alongside postgres.

* Update testing/internal/e2e/tests/base_plus/target_tcp_connect_mysql_test.go

Co-authored-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>

* test: add containerized MySQL connection test for target functionality

* Remove MySQL environment variables from e2e test config

* test: move MySQL e2e test from base_plus to base folder

* Fix MySQL test to support both MySQL and MariaDB clients

* Fix MySQL test to support both MySQL and MariaDB clients

* lint cleanup

* adding error checks

* Make gen

* Test case testing

* Reverting bad comment

* cleaning up extra test file

* Add Mysql to runner (#5893)

* Adding back correct test file

* Removing base plus test file

* Removing base plus test file

* Revert "Removing base plus test file"

This reverts commit ace9cb3e90a028adc1f7c8ef55436ca843abfc15.

* forcing enos docker network name

* Revert "forcing enos docker network name"

This reverts commit 631bdb4a0ef87f5435e06456e8ec0a4573ab3e49.

* changing hosts to looks for sql container

* fix container name

* Adjusting for e2e tests and a bit of cleanup

* missed a commented string

* Bgajjala mysql e2etest v2 (#5900)

* Using Env Vars rather than parsing uri

* Comments fix

* spacing

* Update testing/internal/e2e/tests/base/target_tcp_connect_mysql_test.go

* Spacing

* Update internal/cmd/commands/connect/mysql.go

* adding error checks

* Make gen

* Update testing/internal/e2e/tests/base/target_tcp_connect_mysql_test.go

* Update internal/cmd/commands/connect/mysql.go

* Make gen

* derving target port from uri

* nit

* updating test to use url strings

* nit: spacing

* nit: code organization

* nit: code organization
Co-authored-by: Enbiya Göral

---------

Co-authored-by: Enbiya <menbiyagoral@gmail.com>
Co-authored-by: Enbiya Göral <100806254+enbiyagoral@users.noreply.github.com>
Co-authored-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>
Co-authored-by: Ryan Derr <54389874+RyanDerr@users.noreply.github.com>
2025-07-08 17:07:27 -05:00
hashicc 67207899cb Migrate ui-related scripts to use pnpm instead of yarn (#5815) 2025-06-16 13:27:38 -07:00
Michael Li 284cb5e7aa chore(e2e): Set auth_storage_path to a non-temp directory (#5786) 2025-06-02 09:27:58 -04:00
Hugo 08bd39f9fa fix(enos): Remove brackets from standalone IPv6 addresses (#5739) 2025-05-14 18:00:34 +01:00
dillanb-hashi 1e8c345126 chore(e2e): Added support for boundary license to be an env for enos (#5704)
* chore(e2e): Added support for boundary license to be an env for enos
2025-05-07 12:47:09 -07:00
Michael Li 90b7d2c0d6 chore(e2e): Add encryption to target ec2 instance (#5672) 2025-04-28 08:29:22 -04:00