From 7dcbe4015fb4fdad92d71742b2b71022f7cf6c32 Mon Sep 17 00:00:00 2001 From: Derek Wang Date: Thu, 23 Jan 2025 15:51:30 -0800 Subject: [PATCH 01/14] chore: pin nats version for unit tests Signed-off-by: Derek Wang --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index daa101b16..6c6f6d69e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -72,7 +72,7 @@ jobs: --health-timeout 5s --health-retries 5 nats: - image: "bitnami/nats:latest" + image: "bitnami/nats:2.10.23" ports: - 4222:4222 env: From 0f324a09486b315fc83fc4b57c048e2cecc91378 Mon Sep 17 00:00:00 2001 From: Derek Wang Date: Thu, 23 Jan 2025 22:28:02 -0800 Subject: [PATCH 02/14] . Signed-off-by: Derek Wang --- .github/workflows/ci.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6c6f6d69e..48197f534 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -72,11 +72,13 @@ jobs: --health-timeout 5s --health-retries 5 nats: - image: "bitnami/nats:2.10.23" + image: "bitnami/nats:latest" ports: - 4222:4222 - env: - NATS_EXTRA_ARGS: -js + - 6222:6222 + - 8222:8222 + options: | + -js steps: - name: Start Pulsar standalone container From 840206d85e60782cc8d702f512066085c4b2ba65 Mon Sep 17 00:00:00 2001 From: Derek Wang Date: Thu, 23 Jan 2025 22:46:53 -0800 Subject: [PATCH 03/14] . Signed-off-by: Derek Wang --- .github/workflows/ci.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 48197f534..7f99d3e41 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -73,12 +73,11 @@ jobs: --health-retries 5 nats: image: "bitnami/nats:latest" + entrypoint: /nats-server -js ports: - 4222:4222 - 6222:6222 - 8222:8222 - options: | - -js steps: - name: Start Pulsar standalone container From 56394aa142eefba105f3bded223dd67515b070c6 Mon Sep 17 00:00:00 2001 From: Derek Wang Date: Thu, 23 Jan 2025 22:53:37 -0800 Subject: [PATCH 04/14] . Signed-off-by: Derek Wang --- .github/workflows/ci.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7f99d3e41..a318f4b52 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -76,8 +76,6 @@ jobs: entrypoint: /nats-server -js ports: - 4222:4222 - - 6222:6222 - - 8222:8222 steps: - name: Start Pulsar standalone container From 3181293281d636ae24b102cc2abab081330d261a Mon Sep 17 00:00:00 2001 From: Derek Wang Date: Thu, 23 Jan 2025 22:54:50 -0800 Subject: [PATCH 05/14] . Signed-off-by: Derek Wang --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a318f4b52..9fd34ecb6 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -73,7 +73,7 @@ jobs: --health-retries 5 nats: image: "bitnami/nats:latest" - entrypoint: /nats-server -js + entrypoint: "/nats-server -js" ports: - 4222:4222 From 60557879cab2b4ddbe5236a7b5d61f29ab3bda34 Mon Sep 17 00:00:00 2001 From: Derek Wang Date: Thu, 23 Jan 2025 23:03:07 -0800 Subject: [PATCH 06/14] . Signed-off-by: Derek Wang --- .github/workflows/ci.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9fd34ecb6..97f5e9f70 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -73,9 +73,10 @@ jobs: --health-retries 5 nats: image: "bitnami/nats:latest" - entrypoint: "/nats-server -js" ports: - 4222:4222 + options: >- + --entrypoint /nats-server -js steps: - name: Start Pulsar standalone container From ff759e5087e4620ab182fe832989ffc8c82a4822 Mon Sep 17 00:00:00 2001 From: Derek Wang Date: Thu, 23 Jan 2025 23:05:19 -0800 Subject: [PATCH 07/14] . Signed-off-by: Derek Wang --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 97f5e9f70..8eaf6a865 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -76,7 +76,7 @@ jobs: ports: - 4222:4222 options: >- - --entrypoint /nats-server -js + --entrypoint="/nats-server -js" steps: - name: Start Pulsar standalone container From db3307a611fdd0ec24b1c86b131ac492fa258999 Mon Sep 17 00:00:00 2001 From: Derek Wang Date: Thu, 23 Jan 2025 23:13:00 -0800 Subject: [PATCH 08/14] . Signed-off-by: Derek Wang --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8eaf6a865..d2f9a5c23 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -76,7 +76,7 @@ jobs: ports: - 4222:4222 options: >- - --entrypoint="/nats-server -js" + --entrypoint "[\"/nats-server\", \"-js\"]" steps: - name: Start Pulsar standalone container From 47135c85bf0a20a08d01c52d7158ee5ca78a8283 Mon Sep 17 00:00:00 2001 From: Derek Wang Date: Thu, 23 Jan 2025 23:15:03 -0800 Subject: [PATCH 09/14] . Signed-off-by: Derek Wang --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d2f9a5c23..4c9f63203 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -76,7 +76,7 @@ jobs: ports: - 4222:4222 options: >- - --entrypoint "[\"/nats-server\", \"-js\"]" + --entrypoint "/nats-server" steps: - name: Start Pulsar standalone container From 9e03dcd0fed32b5ba7cf9c4e49ef2c4d1fca950a Mon Sep 17 00:00:00 2001 From: Derek Wang Date: Thu, 23 Jan 2025 23:29:39 -0800 Subject: [PATCH 10/14] . Signed-off-by: Derek Wang --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4c9f63203..2f1a5bc32 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -76,7 +76,7 @@ jobs: ports: - 4222:4222 options: >- - --entrypoint "/nats-server" + --entrypoint "/nats-server -js" steps: - name: Start Pulsar standalone container From 68386a72226b2e3f5fa09af5b470e96e6ab7f384 Mon Sep 17 00:00:00 2001 From: Derek Wang Date: Thu, 23 Jan 2025 23:37:26 -0800 Subject: [PATCH 11/14] . Signed-off-by: Derek Wang --- .github/workflows/ci.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2f1a5bc32..6576da66b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -72,11 +72,9 @@ jobs: --health-timeout 5s --health-retries 5 nats: - image: "bitnami/nats:latest" + image: "nats:latest" ports: - 4222:4222 - options: >- - --entrypoint "/nats-server -js" steps: - name: Start Pulsar standalone container From 8bd34aba7556de77a089a420467ac1559105a3f1 Mon Sep 17 00:00:00 2001 From: Derek Wang Date: Fri, 24 Jan 2025 00:19:37 -0800 Subject: [PATCH 12/14] . Signed-off-by: Derek Wang --- .github/workflows/ci.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6576da66b..2a7841527 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -71,15 +71,14 @@ jobs: --health-interval 10s --health-timeout 5s --health-retries 5 - nats: - image: "nats:latest" - ports: - - 4222:4222 steps: - name: Start Pulsar standalone container run: docker run -d -p 6650:6650 -p 8080:8080 apachepulsar/pulsar:4.0.0 bin/pulsar standalone + - name: Start JetStream + run: docker run -d -p 4222:4222 nats:latest + - name: Set up Go 1.x uses: actions/setup-go@v5 with: From 1940115ac94c2d71f61191a4e1e0e09720c6bcaf Mon Sep 17 00:00:00 2001 From: Derek Wang Date: Fri, 24 Jan 2025 00:29:06 -0800 Subject: [PATCH 13/14] . Signed-off-by: Derek Wang --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2a7841527..2a2fbf48f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -77,7 +77,7 @@ jobs: run: docker run -d -p 6650:6650 -p 8080:8080 apachepulsar/pulsar:4.0.0 bin/pulsar standalone - name: Start JetStream - run: docker run -d -p 4222:4222 nats:latest + run: docker run -d -p 4222:4222 nats:latest -js - name: Set up Go 1.x uses: actions/setup-go@v5 From 46f7cc28ba30110bbc9d3ca139e066e799a2f80a Mon Sep 17 00:00:00 2001 From: Derek Wang Date: Fri, 24 Jan 2025 11:17:30 -0800 Subject: [PATCH 14/14] . Signed-off-by: Derek Wang --- .github/workflows/ci.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2a2fbf48f..7e685969a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -73,12 +73,12 @@ jobs: --health-retries 5 steps: - - name: Start Pulsar standalone container - run: docker run -d -p 6650:6650 -p 8080:8080 apachepulsar/pulsar:4.0.0 bin/pulsar standalone - - name: Start JetStream run: docker run -d -p 4222:4222 nats:latest -js + - name: Start Pulsar standalone container + run: docker run -d -p 6650:6650 -p 8080:8080 apachepulsar/pulsar:4.0.0 bin/pulsar standalone + - name: Set up Go 1.x uses: actions/setup-go@v5 with: