From a398ee46f38bf39d688c300745bda836f1ded7bb Mon Sep 17 00:00:00 2001 From: Rui Fu Date: Thu, 30 Sep 2021 15:55:30 +0800 Subject: [PATCH] bump to pulsar 2.8.1.3 --- .ci/clusters/compute_v1alpha1_function.yaml | 2 +- ...compute_v1alpha1_function_builtin_hpa.yaml | 2 +- .../compute_v1alpha1_function_hpa.yaml | 2 +- .../compute_v1alpha1_functionmesh.yaml | 6 ++--- .../compute_v1alpha1_go_function.yaml | 2 +- .../compute_v1alpha1_py_function.yaml | 2 +- .ci/clusters/values.yaml | 16 ++++++------- .ci/clusters/values_cluster.yaml | 16 ++++++------- .ci/clusters/values_custom_runner_images.yaml | 24 +++++++++---------- .ci/clusters/values_runner_images.yaml | 24 +++++++++---------- .github/workflows/test-e2e-crypto.yml | 2 +- .../test-function-key-based-batcher.yml | 2 +- .github/workflows/test-function-runner.yml | 2 +- .../test-integration-kind-samples.yml | 4 ++-- .../test-integration-mesh-worker-service.yml | 2 +- controllers/spec/common.go | 2 +- .../integration-tests/docker/Dockerfile | 2 +- .../integration-tests/docker/connectors.yaml | 4 ++-- mesh-worker-service/pom.xml | 2 +- 19 files changed, 59 insertions(+), 59 deletions(-) diff --git a/.ci/clusters/compute_v1alpha1_function.yaml b/.ci/clusters/compute_v1alpha1_function.yaml index 8a7b5441a..d99e7f113 100644 --- a/.ci/clusters/compute_v1alpha1_function.yaml +++ b/.ci/clusters/compute_v1alpha1_function.yaml @@ -4,7 +4,7 @@ metadata: name: function-sample namespace: default spec: - image: streamnative/pulsar-functions-java-sample:2.8.0.14 + image: streamnative/pulsar-functions-java-sample:2.8.1.3 className: org.apache.pulsar.functions.api.examples.ExclamationFunction forwardSourceMessageProperty: true MaxPendingAsyncRequests: 1000 diff --git a/.ci/clusters/compute_v1alpha1_function_builtin_hpa.yaml b/.ci/clusters/compute_v1alpha1_function_builtin_hpa.yaml index 67cc68b8b..9dbd86347 100644 --- a/.ci/clusters/compute_v1alpha1_function_builtin_hpa.yaml +++ b/.ci/clusters/compute_v1alpha1_function_builtin_hpa.yaml @@ -4,7 +4,7 @@ metadata: name: function-builtin-hpa-sample namespace: default spec: - image: streamnative/pulsar-functions-java-sample:2.8.0.14 + image: streamnative/pulsar-functions-java-sample:2.8.1.3 className: org.apache.pulsar.functions.api.examples.ExclamationFunction forwardSourceMessageProperty: true MaxPendingAsyncRequests: 1000 diff --git a/.ci/clusters/compute_v1alpha1_function_hpa.yaml b/.ci/clusters/compute_v1alpha1_function_hpa.yaml index 7d1d0bdbb..95e8319fc 100644 --- a/.ci/clusters/compute_v1alpha1_function_hpa.yaml +++ b/.ci/clusters/compute_v1alpha1_function_hpa.yaml @@ -4,7 +4,7 @@ metadata: name: function-hpa-sample namespace: default spec: - image: streamnative/pulsar-functions-java-sample:2.8.0.14 + image: streamnative/pulsar-functions-java-sample:2.8.1.3 className: org.apache.pulsar.functions.api.examples.ExclamationFunction forwardSourceMessageProperty: true MaxPendingAsyncRequests: 1000 diff --git a/.ci/clusters/compute_v1alpha1_functionmesh.yaml b/.ci/clusters/compute_v1alpha1_functionmesh.yaml index 54d15b7b9..65a658904 100644 --- a/.ci/clusters/compute_v1alpha1_functionmesh.yaml +++ b/.ci/clusters/compute_v1alpha1_functionmesh.yaml @@ -5,7 +5,7 @@ metadata: spec: functions: - name: java-function - image: streamnative/pulsar-functions-java-sample:2.8.0.14 + image: streamnative/pulsar-functions-java-sample:2.8.1.3 className: org.apache.pulsar.functions.api.examples.ExclamationFunction replicas: 1 maxReplicas: 1 @@ -31,7 +31,7 @@ spec: memory: 1.1G clusterName: test - name: golang-function - image: streamnative/pulsar-functions-go-sample:2.8.0.14 + image: streamnative/pulsar-functions-go-sample:2.8.1.3 replicas: 1 maxReplicas: 1 input: @@ -56,7 +56,7 @@ spec: memory: 1.1G clusterName: test - name: python-function - image: streamnative/pulsar-functions-python-sample:2.8.0.14 + image: streamnative/pulsar-functions-python-sample:2.8.1.3 className: exclamation_function.ExclamationFunction replicas: 1 maxReplicas: 1 diff --git a/.ci/clusters/compute_v1alpha1_go_function.yaml b/.ci/clusters/compute_v1alpha1_go_function.yaml index 6d6a22a86..1301f543c 100644 --- a/.ci/clusters/compute_v1alpha1_go_function.yaml +++ b/.ci/clusters/compute_v1alpha1_go_function.yaml @@ -4,7 +4,7 @@ metadata: name: go-function-sample namespace: default spec: - image: streamnative/pulsar-functions-go-sample:2.8.0.14 + image: streamnative/pulsar-functions-go-sample:2.8.1.3 forwardSourceMessageProperty: true MaxPendingAsyncRequests: 1000 replicas: 1 diff --git a/.ci/clusters/compute_v1alpha1_py_function.yaml b/.ci/clusters/compute_v1alpha1_py_function.yaml index 4ad156b38..828495ebb 100644 --- a/.ci/clusters/compute_v1alpha1_py_function.yaml +++ b/.ci/clusters/compute_v1alpha1_py_function.yaml @@ -4,7 +4,7 @@ metadata: name: py-function-sample namespace: default spec: - image: streamnative/pulsar-functions-python-sample:2.8.0.14 + image: streamnative/pulsar-functions-python-sample:2.8.1.3 className: exclamation_function.ExclamationFunction forwardSourceMessageProperty: true MaxPendingAsyncRequests: 1000 diff --git a/.ci/clusters/values.yaml b/.ci/clusters/values.yaml index f181c77c6..c6f6f7b61 100644 --- a/.ci/clusters/values.yaml +++ b/.ci/clusters/values.yaml @@ -42,22 +42,22 @@ monitoring: images: zookeeper: repository: streamnative/pulsar-all - tag: 2.8.0.14 + tag: 2.8.1.3 bookie: repository: streamnative/pulsar-all - tag: 2.8.0.14 + tag: 2.8.1.3 autorecovery: repository: streamnative/pulsar-all - tag: 2.8.0.14 + tag: 2.8.1.3 broker: repository: streamnative/pulsar-all - tag: 2.8.0.14 + tag: 2.8.1.3 functions: repository: streamnative/pulsar-all - tag: 2.8.0.14 + tag: 2.8.1.3 proxy: repository: streamnative/pulsar-all - tag: 2.8.0.14 + tag: 2.8.1.3 zookeeper: replicaCount: 1 @@ -67,7 +67,7 @@ bookkeeper: metadata: image: repository: streamnative/pulsar-all - tag: 2.8.0.14 + tag: 2.8.1.3 configData: # `BOOKIE_MEM` is used for `bookie shell` BOOKIE_MEM: > @@ -97,7 +97,7 @@ bookkeeper: pulsar_metadata: image: repository: streamnative/pulsar-all - tag: 2.8.0.14 + tag: 2.8.1.3 broker: replicaCount: 1 diff --git a/.ci/clusters/values_cluster.yaml b/.ci/clusters/values_cluster.yaml index f181c77c6..c6f6f7b61 100644 --- a/.ci/clusters/values_cluster.yaml +++ b/.ci/clusters/values_cluster.yaml @@ -42,22 +42,22 @@ monitoring: images: zookeeper: repository: streamnative/pulsar-all - tag: 2.8.0.14 + tag: 2.8.1.3 bookie: repository: streamnative/pulsar-all - tag: 2.8.0.14 + tag: 2.8.1.3 autorecovery: repository: streamnative/pulsar-all - tag: 2.8.0.14 + tag: 2.8.1.3 broker: repository: streamnative/pulsar-all - tag: 2.8.0.14 + tag: 2.8.1.3 functions: repository: streamnative/pulsar-all - tag: 2.8.0.14 + tag: 2.8.1.3 proxy: repository: streamnative/pulsar-all - tag: 2.8.0.14 + tag: 2.8.1.3 zookeeper: replicaCount: 1 @@ -67,7 +67,7 @@ bookkeeper: metadata: image: repository: streamnative/pulsar-all - tag: 2.8.0.14 + tag: 2.8.1.3 configData: # `BOOKIE_MEM` is used for `bookie shell` BOOKIE_MEM: > @@ -97,7 +97,7 @@ bookkeeper: pulsar_metadata: image: repository: streamnative/pulsar-all - tag: 2.8.0.14 + tag: 2.8.1.3 broker: replicaCount: 1 diff --git a/.ci/clusters/values_custom_runner_images.yaml b/.ci/clusters/values_custom_runner_images.yaml index 3e2fb4bfe..c04ca93eb 100644 --- a/.ci/clusters/values_custom_runner_images.yaml +++ b/.ci/clusters/values_custom_runner_images.yaml @@ -41,27 +41,27 @@ monitoring: images: zookeeper: repository: streamnative/pulsar-all - tag: 2.8.0.14 + tag: 2.8.1.3 pullPolicy: IfNotPresent bookie: repository: streamnative/pulsar-all - tag: 2.8.0.14 + tag: 2.8.1.3 pullPolicy: IfNotPresent autorecovery: repository: streamnative/pulsar-all - tag: 2.8.0.14 + tag: 2.8.1.3 pullPolicy: IfNotPresent broker: repository: streamnative/pulsar-all - tag: 2.8.0.14 + tag: 2.8.1.3 pullPolicy: IfNotPresent proxy: repository: streamnative/pulsar-all - tag: 2.8.0.14 + tag: 2.8.1.3 pullPolicy: IfNotPresent functions: repository: streamnative/pulsar-all - tag: 2.8.0.14 + tag: 2.8.1.3 pullPolicy: IfNotPresent zookeeper: @@ -71,8 +71,8 @@ bookkeeper: replicaCount: 1 metadata: image: - repository: freeznet/fm-pulsar-all - tag: 2.8.0-rc-202106012229 + repository: streamnative/pulsar-all + tag: 2.8.1.3 configData: # `BOOKIE_MEM` is used for `bookie shell` BOOKIE_MEM: > @@ -102,7 +102,7 @@ bookkeeper: pulsar_metadata: image: repository: streamnative/pulsar-all - tag: 2.8.0.14 + tag: 2.8.1.3 pullPolicy: IfNotPresent broker: @@ -148,9 +148,9 @@ functions: narExtractionDirectory: "" functionRuntimeFactoryConfigs: functionDockerImages: - JAVA: "streamnative/pulsar-functions-java-runner:2.8.0.14" - PYTHON: "streamnative/pulsar-functions-python-runner:2.8.0.14" - GO: "streamnative/pulsar-functions-go-runner:2.8.0.14" + JAVA: "streamnative/pulsar-functions-java-runner:2.8.1.3" + PYTHON: "streamnative/pulsar-functions-python-runner:2.8.1.3" + GO: "streamnative/pulsar-functions-go-runner:2.8.1.3" proxy: replicaCount: 1 diff --git a/.ci/clusters/values_runner_images.yaml b/.ci/clusters/values_runner_images.yaml index e21035935..c91e939da 100644 --- a/.ci/clusters/values_runner_images.yaml +++ b/.ci/clusters/values_runner_images.yaml @@ -40,27 +40,27 @@ monitoring: images: zookeeper: repository: streamnative/pulsar-all - tag: 2.8.0.14 + tag: 2.8.1.3 pullPolicy: IfNotPresent bookie: repository: streamnative/pulsar-all - tag: 2.8.0.14 + tag: 2.8.1.3 pullPolicy: IfNotPresent autorecovery: repository: streamnative/pulsar-all - tag: 2.8.0.14 + tag: 2.8.1.3 pullPolicy: IfNotPresent broker: repository: streamnative/pulsar-all - tag: 2.8.0.14 + tag: 2.8.1.3 pullPolicy: IfNotPresent proxy: repository: streamnative/pulsar-all - tag: 2.8.0.14 + tag: 2.8.1.3 pullPolicy: IfNotPresent functions: repository: streamnative/pulsar-all - tag: 2.8.0.14 + tag: 2.8.1.3 pullPolicy: IfNotPresent zookeeper: @@ -70,8 +70,8 @@ bookkeeper: replicaCount: 1 metadata: image: - repository: freeznet/fm-pulsar-all - tag: 2.8.0-rc-202106012229 + repository: streamnative/pulsar-all + tag: 2.8.1.3 configData: # `BOOKIE_MEM` is used for `bookie shell` BOOKIE_MEM: > @@ -101,7 +101,7 @@ bookkeeper: pulsar_metadata: image: repository: streamnative/pulsar-all - tag: 2.8.0.14 + tag: 2.8.1.3 pullPolicy: IfNotPresent broker: @@ -161,9 +161,9 @@ functions: disk: 1048576000 functionRuntimeFactoryConfigs: functionDockerImages: - JAVA: "streamnative/pulsar-functions-java-runner:2.8.0.14" - PYTHON: "streamnative/pulsar-functions-python-runner:2.8.0.14" - GO: "streamnative/pulsar-functions-go-runner:2.8.0.14" + JAVA: "streamnative/pulsar-functions-java-runner:2.8.1.3" + PYTHON: "streamnative/pulsar-functions-python-runner:2.8.1.3" + GO: "streamnative/pulsar-functions-go-runner:2.8.1.3" functionInstanceMinResources: cpu: 0.1 ram: 10485760 diff --git a/.github/workflows/test-e2e-crypto.yml b/.github/workflows/test-e2e-crypto.yml index 191f9cc14..3c95f1f3a 100644 --- a/.github/workflows/test-e2e-crypto.yml +++ b/.github/workflows/test-e2e-crypto.yml @@ -34,7 +34,7 @@ jobs: - name: Build runner images run: | - PULSAR_IMAGE_TAG=2.8.0.14 PULSAR_IMAGE=streamnative/pulsar-all KIND_PUSH=true images/build.sh + PULSAR_IMAGE_TAG=2.8.1.3 PULSAR_IMAGE=streamnative/pulsar-all KIND_PUSH=true images/build.sh - name: Install operator-sdk run: | diff --git a/.github/workflows/test-function-key-based-batcher.yml b/.github/workflows/test-function-key-based-batcher.yml index 00e5b4edb..41276e780 100644 --- a/.github/workflows/test-function-key-based-batcher.yml +++ b/.github/workflows/test-function-key-based-batcher.yml @@ -34,7 +34,7 @@ jobs: - name: Build runner images run: | - PULSAR_IMAGE_TAG=2.8.0.14 PULSAR_IMAGE=streamnative/pulsar-all KIND_PUSH=true images/build.sh + PULSAR_IMAGE_TAG=2.8.1.3 PULSAR_IMAGE=streamnative/pulsar-all KIND_PUSH=true images/build.sh - name: Install operator-sdk run: | diff --git a/.github/workflows/test-function-runner.yml b/.github/workflows/test-function-runner.yml index 082b55c77..63d8b1594 100644 --- a/.github/workflows/test-function-runner.yml +++ b/.github/workflows/test-function-runner.yml @@ -34,7 +34,7 @@ jobs: - name: Build runner images run: | - PULSAR_IMAGE_TAG=2.8.0.14 PULSAR_IMAGE=streamnative/pulsar-all KIND_PUSH=true images/build.sh + PULSAR_IMAGE_TAG=2.8.1.3 PULSAR_IMAGE=streamnative/pulsar-all KIND_PUSH=true images/build.sh - name: Verify function runner run: | diff --git a/.github/workflows/test-integration-kind-samples.yml b/.github/workflows/test-integration-kind-samples.yml index 6e2b6bc14..d4839082b 100644 --- a/.github/workflows/test-integration-kind-samples.yml +++ b/.github/workflows/test-integration-kind-samples.yml @@ -35,8 +35,8 @@ jobs: - name: Build runner images run: | - PULSAR_IMAGE_TAG=2.8.0.14 PULSAR_IMAGE=streamnative/pulsar-all KIND_PUSH=true images/build.sh - PULSAR_IMAGE_TAG=2.8.0.14 KIND_PUSH=true images/samples/build.sh + PULSAR_IMAGE_TAG=2.8.1.3 PULSAR_IMAGE=streamnative/pulsar-all KIND_PUSH=true images/build.sh + PULSAR_IMAGE_TAG=2.8.1.3 KIND_PUSH=true images/samples/build.sh - name: Install operator-sdk run: | diff --git a/.github/workflows/test-integration-mesh-worker-service.yml b/.github/workflows/test-integration-mesh-worker-service.yml index d4303fda9..32e03cb3f 100644 --- a/.github/workflows/test-integration-mesh-worker-service.yml +++ b/.github/workflows/test-integration-mesh-worker-service.yml @@ -80,7 +80,7 @@ jobs: - name: Build runner images run: | - PULSAR_IMAGE_TAG=2.8.0.14 PULSAR_IMAGE=streamnative/pulsar-all KIND_PUSH=true images/build.sh + PULSAR_IMAGE_TAG=2.8.1.3 PULSAR_IMAGE=streamnative/pulsar-all KIND_PUSH=true images/build.sh - name: verify mesh-worker-service run: | diff --git a/controllers/spec/common.go b/controllers/spec/common.go index d9cf3478d..2e25579e0 100644 --- a/controllers/spec/common.go +++ b/controllers/spec/common.go @@ -35,7 +35,7 @@ import ( const ( EnvShardID = "SHARD_ID" FunctionsInstanceClasspath = "pulsar.functions.instance.classpath" - DefaultRunnerTag = "2.8.0.14" + DefaultRunnerTag = "2.8.1.3" DefaultRunnerPrefix = "streamnative/" DefaultRunnerImage = DefaultRunnerPrefix + "pulsar-all:" + DefaultRunnerTag DefaultJavaRunnerImage = DefaultRunnerPrefix + "pulsar-functions-java-runner:" + DefaultRunnerTag diff --git a/mesh-worker-service/integration-tests/docker/Dockerfile b/mesh-worker-service/integration-tests/docker/Dockerfile index 1c7b7c229..09f52085c 100644 --- a/mesh-worker-service/integration-tests/docker/Dockerfile +++ b/mesh-worker-service/integration-tests/docker/Dockerfile @@ -17,7 +17,7 @@ # under the License. # -FROM streamnative/pulsar:2.8.0.14 +FROM streamnative/pulsar:2.8.1.3 COPY ./target/mesh-worker-service*.nar /pulsar/mesh-worker-service.nar COPY ./integration-tests/docker/connectors.yaml /pulsar/conf/connectors.yaml RUN mkdir -p /pulsar-nar diff --git a/mesh-worker-service/integration-tests/docker/connectors.yaml b/mesh-worker-service/integration-tests/docker/connectors.yaml index d16fdb043..20c4b1cc7 100644 --- a/mesh-worker-service/integration-tests/docker/connectors.yaml +++ b/mesh-worker-service/integration-tests/docker/connectors.yaml @@ -24,6 +24,6 @@ sourceConfigClass: org.apache.pulsar.io.datagenerator.DataGeneratorSourceConfig sinkClass: org.apache.pulsar.io.datagenerator.DataGeneratorPrintSink imageRepository: streamnative/pulsar-io-data-generator - version: 2.8.0.14 - imageTag: 2.8.0.14 + version: 2.8.1.3 + imageTag: 2.8.1.3 typeClassName: org.apache.pulsar.client.impl.schema.JSONSchema diff --git a/mesh-worker-service/pom.xml b/mesh-worker-service/pom.xml index a0eb562cf..195cc36a6 100644 --- a/mesh-worker-service/pom.xml +++ b/mesh-worker-service/pom.xml @@ -29,7 +29,7 @@ v0.1.7 - 2.8.0.14 + 2.8.1.3 1.18.16 2.14.0 12.0.1