Skip to content

Commit

Permalink
use correct env and redpanda
Browse files Browse the repository at this point in the history
Signed-off-by: Bugen Zhao <[email protected]>
  • Loading branch information
BugenZhao committed May 6, 2024
1 parent 94fdcdd commit 48110e1
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions backwards-compat-tests/scripts/run_local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ full-without-monitoring:
- use: compactor
- use: kafka
user-managed: true
address: kafka
port: 9093
address: message_queue
port: 29092
EOF

cat <<EOF > risedev-components.user.env
Expand Down
4 changes: 2 additions & 2 deletions backwards-compat-tests/scripts/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,15 @@ check_version() {
}

create_kafka_topic() {
RPK_BROKERS=kafka:9093 \
RPK_BROKERS=message_queue:29092 \
rpk topic create backwards_compat_test_kafka_source
}

insert_json_kafka() {
local JSON=$1

echo "$JSON" | \
RPK_BROKERS=kafka:9093 \
RPK_BROKERS=message_queue:29092 \
rpk topic produce backwards_compat_test_kafka_source -f "%k,%v"
}

Expand Down
2 changes: 1 addition & 1 deletion backwards-compat-tests/slt/kafka/invalid_options/seed.slt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ CREATE SOURCE IF NOT EXISTS kafka_source_with_invalid_option
WITH (
connector='kafka',
topic='backwards_compat_test_kafka_source',
properties.bootstrap.server='kafka:9093',
properties.bootstrap.server='message_queue:29092',
scan.startup.mode='earliest',
invalid_option='oops'
) FORMAT PLAIN ENCODE JSON;
Expand Down
2 changes: 1 addition & 1 deletion backwards-compat-tests/slt/kafka/seed.slt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ CREATE SOURCE IF NOT EXISTS kafka_source
WITH (
connector='kafka',
topic='backwards_compat_test_kafka_source',
properties.bootstrap.server='kafka:9093',
properties.bootstrap.server='message_queue:29092',
scan.startup.mode='earliest',
) FORMAT PLAIN ENCODE JSON;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ CREATE TABLE IF NOT EXISTS kafka_table
WITH (
connector='kafka',
topic='backwards_compat_test_kafka_source',
properties.bootstrap.server='kafka:9093',
properties.bootstrap.server='message_queue:29092',
scan.startup.mode='earliest',
) FORMAT UPSERT ENCODE JSON;
2 changes: 1 addition & 1 deletion backwards-compat-tests/slt/kafka/upsert/include_key_as.slt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ INCLUDE key as _rw_key
WITH (
connector='kafka',
topic='backwards_compat_test_kafka_source',
properties.bootstrap.server='kafka:9093',
properties.bootstrap.server='message_queue:29092',
scan.startup.mode='earliest',
) FORMAT UPSERT ENCODE JSON;
2 changes: 1 addition & 1 deletion ci/workflows/main-cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ steps:
- "build"
plugins:
- docker-compose#v5.1.0:
run: rw-build-env
run: source-test-env
config: ci/docker-compose.yml
mount-buildkite-agent: true
- ./ci/plugins/upload-failure-logs
Expand Down
2 changes: 1 addition & 1 deletion ci/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ steps:
- "build"
plugins:
- docker-compose#v5.1.0:
run: rw-build-env
run: source-test-env
config: ci/docker-compose.yml
mount-buildkite-agent: true
- ./ci/plugins/upload-failure-logs
Expand Down

0 comments on commit 48110e1

Please sign in to comment.