Skip to content
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

update paths #2

Merged
merged 2 commits into from
Feb 11, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion scripts/deploy-connector.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash

# Install connector chart
helm install coinbase-connector ../kubernetes/connector/ -f ../kubernetes/connector/values.yaml --namespace dev --wait
helm install coinbase-connector ../charts/connector/ -f ../charts/connector/values.yaml --namespace dev --wait
2 changes: 1 addition & 1 deletion scripts/deploy-kafka.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# Install Kafka cluster
helm install kafka-cluster ../kubernetes/kafka/ -f ../kubernetes/kafka/values.yaml --namespace dev --wait
helm install kafka-cluster ../charts/kafka/ -f ../charts/kafka/values.yaml --namespace dev --wait

# Wait for the Kafka pod to be created
POD_NAME="kafka-cluster-kafka-0"
Expand Down
2 changes: 1 addition & 1 deletion scripts/run-consumer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ KAFKA_NAMESPACE="dev"
KAFKA_POD_NAME=kafka-cluster-kafka-0

# For stopping when message consumption
TIMEOUT_DURATION=10
TIMEOUT_DURATION=30

# # Command to list all Kafka topics
# echo "Listing all Kafka topics:"
Expand Down
6 changes: 3 additions & 3 deletions src/coinbase/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@


def get_project_root():
integration_tests_dir = os.path.dirname(os.path.abspath(__file__))
tests_dir = os.path.dirname(integration_tests_dir)
project_root = os.path.dirname(tests_dir)
library_dir = os.path.dirname(os.path.abspath(__file__))
src_dir = os.path.dirname(library_dir)
project_root = os.path.dirname(src_dir)
return project_root


Expand Down
Loading