Skip to content

Commit

Permalink
fix spell check errors
Browse files Browse the repository at this point in the history
  • Loading branch information
lokesh-couchbase committed Aug 8, 2024
1 parent f92bc53 commit b8b9910
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions test_e2e/dest/couchbase.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ DESTINATION_CB_SCOPE="_default"
DESTINATION_CB_COLLECTION="_default"
CI=${CI:-"false"}

# shellcheck disable=SC1091
source "$SCRIPT_DIR"/env_setup/couchbase/common/constants.env

# Check if all necessary environment variables are set
Expand Down
11 changes: 6 additions & 5 deletions test_e2e/env_setup/couchbase/common/setup_couchbase_cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ set -e
SCRIPT_DIR=$(dirname "$(realpath "$0")")
ENV_FILE="$SCRIPT_DIR"/constants.env

# shellcheck disable=SC1090
source "$ENV_FILE"

docker compose version
Expand All @@ -14,12 +15,12 @@ docker compose -f "$SCRIPT_DIR"/docker-compose.yaml ps
echo "Cluster is live."

echo "Initializing Couchbase cluster"
docker exec -it couchbase-db couchbase-cli cluster-init -c $CB_CONN_STR \
--cluster-username $CB_USERNAME --cluster-password $CB_PASSWORD --cluster-ramsize 512 \
docker exec -it couchbase-db couchbase-cli cluster-init -c "$CB_CONN_STR" \
--cluster-username "$CB_USERNAME" --cluster-password "$CB_PASSWORD" --cluster-ramsize 512 \
--cluster-index-ramsize 512 --cluster-fts-ramsize 512 --services data,index,query,fts &&
docker exec -it couchbase-db couchbase-cli bucket-create -c $CB_CONN_STR \
--username $CB_USERNAME --password $CB_PASSWORD \
--bucket $CB_BUCKET --bucket-type couchbase --bucket-ramsize 200
docker exec -it couchbase-db couchbase-cli bucket-create -c "$CB_CONN_STR" \
--username "$CB_USERNAME" --password "$CB_PASSWORD" \
--bucket "$CB_BUCKET" --bucket-type couchbase --bucket-ramsize 200

echo "Couchbase cluster initialized"

Expand Down

0 comments on commit b8b9910

Please sign in to comment.