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>
This commit is contained in:
1 parent
029aa361bd
commit
4d3cb76c28
10 files changed
+504
-1
No files matched your search
@@ -15,7 +15,26 @@ apt update
|
||||
# lsb-release is used for adding the hashicorp apt source
|
||||
# postgresql-client is used for postgres tests
|
||||
# default-mysql-client is used for mysql tests
|
||||
apt install unzip pass lsb-release postgresql-client default-mysql-client -y
|
||||
# wget is used for downloading external dependencies and repository keys
|
||||
# apt-transport-https enables HTTPS transport for APT repositories
|
||||
apt install unzip pass lsb-release postgresql-client default-mysql-client wget apt-transport-https -y
|
||||
|
||||
# Function to install Cassandra
|
||||
install_cassandra() {
|
||||
# Add Cassandra repository key
|
||||
wget -q -O - https://www.apache.org/dist/cassandra/KEYS | apt-key add -
|
||||
|
||||
# Add Cassandra repository
|
||||
echo "deb https://debian.cassandra.apache.org 41x main" | tee -a /etc/apt/sources.list.d/cassandra.sources.list
|
||||
|
||||
# Update package list and install Cassandra
|
||||
apt update
|
||||
apt install cassandra -y
|
||||
}
|
||||
|
||||
# Install Cassandra
|
||||
install_cassandra
|
||||
|
||||
|
||||
# Create a GPG key
|
||||
export KEY_PW=boundary
|
||||
|
||||
Reference in new issue
Block a user