Skip to content

Commit 97dc102

Browse files
committed
kafkatest: fix deploy script paths
1 parent 8a4c1b0 commit 97dc102

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

confluent_kafka/kafkatest/deploy.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66

77
set -ex
88

9+
# Relative directory where we put our stuff.
10+
# $KAFKA_DIR/$REL_DIR on host, and /vagrant/$REL_DIR on worker
11+
REL_DIR=tests/confluent-kafka-python
12+
913
if [[ $1 == "--prepare" ]]; then
1014
#
1115
# On host: prepare kafka directory with artifacts needed on worker instances
@@ -25,7 +29,7 @@ if [[ $1 == "--prepare" ]]; then
2529
exit 1
2630
fi
2731

28-
DIR="$KAFKA_DIR/tests/confluent-kafka-python"
32+
DIR="$KAFKA_DIR/$REL_DIR"
2933
mkdir -p $DIR
3034

3135
# Copy this script
@@ -92,7 +96,7 @@ function install_librdkafka {
9296

9397
function install_client {
9498
pip uninstall -y confluent_kafka || true
95-
pip install -U --only-binary confluent_kafka --no-index -f /vagrant/wheels/ confluent_kafka
99+
pip install -U --only-binary confluent_kafka --no-index -f /vagrant/$REL_DIR confluent_kafka
96100
}
97101

98102
function verify_client {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy