Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

DEVPROD-5529 Update logkeeper bootstrap script with additional environment variables #514

Merged
merged 2 commits into from
Mar 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions scripts/bootstrap-logkeeper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ NC='\033[0m' # No Color
YELLOW='\033[1;33m'
GREEN='\033[0;32m'

SPRUCE_DIR=pwd

# Check to see if we have a _bucketdata directory
if [ ! -d "bin/_bucketdata" ]; then
echo "${RED}No _bucketdata directory found!${NC}"
Expand Down Expand Up @@ -48,5 +46,5 @@ else
fi


Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i notice a random unused variable called SPRUCE_DIR in here 👀 could maybe delete

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good eye!

echo "Use the following command to start logkeeper:"
echo "${YELLOW}LK_CORS_ORIGINS=http:\/\/localhost:\\\d+ go run main/logkeeper.go --localPath $PWD/bin/_bucketdata${NC}"
echo "Use the following command within the logkeeper directory to start logkeeper:"
echo "${YELLOW}LK_CORS_ORIGINS=http:\/\/localhost:\\\d+ LK_EVERGREEN_ORIGIN=http://localhost:8080 LK_PARSLEY_ORIGIN=http://localhost:5173 go run main/logkeeper.go --localPath $PWD/bin/_bucketdata${NC}"
Loading