This is an automated email from the ASF dual-hosted git repository.
xyz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-client-cpp.git
The following commit(s) were added to refs/heads/main by this push:
new 2491a5a Fix the YAML format error in latest image (#452)
2491a5a is described below
commit 2491a5a5f1f8d8640788c9f065411aa59f3cde2b
Author: Yunze Xu <[email protected]>
AuthorDate: Wed Oct 30 09:58:42 2024 +0800
Fix the YAML format error in latest image (#452)
---
.github/workflows/ci-pr-validation.yaml | 3 ++-
tests/blue-green/docker-compose.yml | 14 +++++++-------
tests/extensibleLM/docker-compose.yml | 13 ++++++-------
3 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/.github/workflows/ci-pr-validation.yaml
b/.github/workflows/ci-pr-validation.yaml
index 9f113b0..31ea57f 100644
--- a/.github/workflows/ci-pr-validation.yaml
+++ b/.github/workflows/ci-pr-validation.yaml
@@ -47,7 +47,8 @@ jobs:
timeout-minutes: 60
strategy:
matrix:
- os: [ubuntu-20.04, macos-12]
+ # TODO: support build on macos-12
+ os: [ubuntu-20.04]
steps:
- name: checkout
diff --git a/tests/blue-green/docker-compose.yml
b/tests/blue-green/docker-compose.yml
index b2d22eb..ee18e7a 100644
--- a/tests/blue-green/docker-compose.yml
+++ b/tests/blue-green/docker-compose.yml
@@ -33,12 +33,12 @@ services:
environment:
- PULSAR_MEM=-Xms128m -Xmx128m -XX:MaxDirectMemorySize=56m
command: >
- bin/pulsar initialize-cluster-metadata \
- --cluster cluster-a \
- --zookeeper zookeeper:2181 \
- --configuration-store zookeeper:2181 \
- --web-service-url http://broker-1:8080 \
- --broker-service-url pulsar://broker-1:6650
+ bin/pulsar initialize-cluster-metadata
+ --cluster cluster-a
+ --zookeeper zookeeper:2181
+ --configuration-store zookeeper:2181
+ --web-service-url http://broker-1:8080
+ --broker-service-url pulsar://broker-1:6650
depends_on:
zookeeper:
condition: service_healthy
@@ -149,4 +149,4 @@ services:
condition: service_healthy
bookie:
condition: service_started
- command: bash -c "bin/apply-config-from-env.py conf/broker.conf && exec
bin/pulsar broker"
\ No newline at end of file
+ command: bash -c "bin/apply-config-from-env.py conf/broker.conf && exec
bin/pulsar broker"
diff --git a/tests/extensibleLM/docker-compose.yml
b/tests/extensibleLM/docker-compose.yml
index 1487639..d74c568 100644
--- a/tests/extensibleLM/docker-compose.yml
+++ b/tests/extensibleLM/docker-compose.yml
@@ -33,12 +33,11 @@ services:
environment:
- PULSAR_MEM=-Xms128m -Xmx128m -XX:MaxDirectMemorySize=56m
command: >
- bin/pulsar initialize-cluster-metadata \
- --cluster cluster-a \
- --zookeeper zookeeper:2181 \
- --configuration-store zookeeper:2181 \
- --web-service-url http://broker-1:8080 \
- --broker-service-url pulsar://broker-1:6650
+ bin/pulsar initialize-cluster-metadata --cluster cluster-a
+ --zookeeper zookeeper:2181
+ --configuration-store zookeeper:2181
+ --web-service-url http://broker-1:8080
+ --broker-service-url pulsar://broker-1:6650
depends_on:
zookeeper:
condition: service_healthy
@@ -151,4 +150,4 @@ services:
condition: service_healthy
bookie:
condition: service_started
- command: bash -c "bin/apply-config-from-env.py conf/broker.conf && exec
bin/pulsar broker"
\ No newline at end of file
+ command: bash -c "bin/apply-config-from-env.py conf/broker.conf && exec
bin/pulsar broker"