Skip to content

Commit

Permalink
Use go 1.21.8 in workflows (#737)
Browse files Browse the repository at this point in the history
* Use go 1.21.8 in workflows

* Replace streamnative/pulsar-all to streamnative/sn-platform

* Fix ci

* Fix ci

* Fix ci

* Do not build images for OAuth2 ci

* Bump runner image to 3.2.2.1

* Fix ci
  • Loading branch information
jiangpengcheng authored Apr 9, 2024
1 parent 96bf789 commit c7cce3e
Show file tree
Hide file tree
Showing 67 changed files with 158 additions and 139 deletions.
2 changes: 1 addition & 1 deletion .ci/clusters/compute_v1alpha1_function.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: function-sample
namespace: default
spec:
image: streamnative/pulsar-functions-java-sample:2.9.2.23
image: streamnative/pulsar-functions-java-sample:3.2.2.1
className: org.apache.pulsar.functions.api.examples.ExclamationFunction
forwardSourceMessageProperty: true
maxPendingAsyncRequests: 1000
Expand Down
2 changes: 1 addition & 1 deletion .ci/clusters/compute_v1alpha1_function_builtin_hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: function-builtin-hpa-sample
namespace: default
spec:
image: streamnative/pulsar-functions-java-sample:2.9.2.23
image: streamnative/pulsar-functions-java-sample:3.2.2.1
className: org.apache.pulsar.functions.api.examples.ExclamationFunction
forwardSourceMessageProperty: true
maxPendingAsyncRequests: 1000
Expand Down
2 changes: 1 addition & 1 deletion .ci/clusters/compute_v1alpha1_function_hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: function-hpa-sample
namespace: default
spec:
image: streamnative/pulsar-functions-java-sample:2.9.2.23
image: streamnative/pulsar-functions-java-sample:3.2.2.1
className: org.apache.pulsar.functions.api.examples.ExclamationFunction
forwardSourceMessageProperty: true
maxPendingAsyncRequests: 1000
Expand Down
2 changes: 1 addition & 1 deletion .ci/clusters/compute_v1alpha1_function_stateful.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: python-function-stateful-sample
namespace: default
spec:
image: streamnative/pulsar-functions-python-sample:2.9.2.23
image: streamnative/pulsar-functions-python-sample:3.2.2.1
className: wordcount_function.WordCountFunction
forwardSourceMessageProperty: true
maxPendingAsyncRequests: 1000
Expand Down
6 changes: 3 additions & 3 deletions .ci/clusters/compute_v1alpha1_functionmesh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
spec:
functions:
- name: java-function
image: streamnative/pulsar-functions-java-sample:2.9.2.23
image: streamnative/pulsar-functions-java-sample:3.2.2.1
className: org.apache.pulsar.functions.api.examples.ExclamationFunction
replicas: 1
maxReplicas: 1
Expand All @@ -31,7 +31,7 @@ spec:
memory: 1.1G
clusterName: test
- name: golang-function
image: streamnative/pulsar-functions-go-sample:2.9.2.23
image: streamnative/pulsar-functions-go-sample:3.2.2.1
replicas: 1
maxReplicas: 1
input:
Expand All @@ -56,7 +56,7 @@ spec:
memory: 1.1G
clusterName: test
- name: python-function
image: streamnative/pulsar-functions-python-sample:2.9.2.23
image: streamnative/pulsar-functions-python-sample:3.2.2.1
className: exclamation_function.ExclamationFunction
replicas: 1
maxReplicas: 1
Expand Down
2 changes: 1 addition & 1 deletion .ci/clusters/compute_v1alpha1_go_function.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: go-function-sample
namespace: default
spec:
image: streamnative/pulsar-functions-go-sample:2.9.2.23
image: streamnative/pulsar-functions-go-sample:3.2.2.1
forwardSourceMessageProperty: true
maxPendingAsyncRequests: 1000
replicas: 1
Expand Down
2 changes: 1 addition & 1 deletion .ci/clusters/compute_v1alpha1_py_function.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: py-function-sample
namespace: default
spec:
image: streamnative/pulsar-functions-python-sample:2.9.2.23
image: streamnative/pulsar-functions-python-sample:3.2.2.1
className: exclamation_function.ExclamationFunction
forwardSourceMessageProperty: true
maxPendingAsyncRequests: 1000
Expand Down
18 changes: 9 additions & 9 deletions .ci/clusters/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,25 +44,25 @@ monitoring:

images:
zookeeper:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.9.2.23
bookie:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.9.2.23
autorecovery:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.9.2.23
broker:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.9.2.23
functions:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.9.2.23
proxy:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.9.2.23
presto:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.9.2.23

zookeeper:
Expand All @@ -73,7 +73,7 @@ bookkeeper:
replicaCount: 0
metadata:
image:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.9.2.23
configData:
PULSAR_PREFIX_autoRecoveryDaemonEnabled: "false"
Expand Down Expand Up @@ -107,7 +107,7 @@ bookkeeper:
pulsar_metadata:
image:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.9.2.23

broker:
Expand Down
16 changes: 8 additions & 8 deletions .ci/clusters/values_cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,22 +41,22 @@ monitoring:

images:
zookeeper:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.10.0.0-rc10
bookie:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.10.0.0-rc10
autorecovery:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.10.0.0-rc10
broker:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.10.0.0-rc10
functions:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.10.0.0-rc10
proxy:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.10.0.0-rc10

zookeeper:
Expand All @@ -66,7 +66,7 @@ bookkeeper:
replicaCount: 1
metadata:
image:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.10.0.0-rc10
configData:
# `BOOKIE_MEM` is used for `bookie shell`
Expand Down Expand Up @@ -96,7 +96,7 @@ bookkeeper:
pulsar_metadata:
image:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.10.0.0-rc10

broker:
Expand Down
22 changes: 11 additions & 11 deletions .ci/clusters/values_custom_runner_images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,27 +40,27 @@ monitoring:

images:
zookeeper:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.9.2.23
pullPolicy: IfNotPresent
bookie:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.9.2.23
pullPolicy: IfNotPresent
autorecovery:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.9.2.23
pullPolicy: IfNotPresent
broker:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.9.2.23
pullPolicy: IfNotPresent
proxy:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.9.2.23
pullPolicy: IfNotPresent
functions:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.9.2.23
pullPolicy: IfNotPresent

Expand All @@ -71,7 +71,7 @@ bookkeeper:
replicaCount: 1
metadata:
image:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.9.2.23
configData:
PULSAR_PREFIX_autoRecoveryDaemonEnabled: "false"
Expand Down Expand Up @@ -108,7 +108,7 @@ bookkeeper:
pulsar_metadata:
image:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.9.2.23
pullPolicy: IfNotPresent

Expand Down Expand Up @@ -157,9 +157,9 @@ functions:
narExtractionDirectory: ""
functionRuntimeFactoryConfigs:
functionDockerImages:
JAVA: "streamnative/pulsar-functions-java-runner:2.9.2.23"
PYTHON: "streamnative/pulsar-functions-python-runner:2.9.2.23"
GO: "streamnative/pulsar-functions-go-runner:2.9.2.23"
JAVA: "streamnative/pulsar-functions-java-runner:3.2.2.1"
PYTHON: "streamnative/pulsar-functions-python-runner:3.2.2.1"
GO: "streamnative/pulsar-functions-go-runner:3.2.2.1"

proxy:
replicaCount: 1
24 changes: 12 additions & 12 deletions .ci/clusters/values_runner_images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,31 +40,31 @@ monitoring:

images:
zookeeper:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.9.2.23
pullPolicy: IfNotPresent
bookie:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.9.2.23
pullPolicy: IfNotPresent
autorecovery:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.9.2.23
pullPolicy: IfNotPresent
broker:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.9.2.23
pullPolicy: IfNotPresent
proxy:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.9.2.23
pullPolicy: IfNotPresent
functions:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.9.2.23
pullPolicy: IfNotPresent
presto:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.9.2.23
pullPolicy: IfNotPresent

Expand All @@ -75,7 +75,7 @@ bookkeeper:
replicaCount: 0
metadata:
image:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.9.2.23
configData:
PULSAR_PREFIX_autoRecoveryDaemonEnabled: "false"
Expand Down Expand Up @@ -109,7 +109,7 @@ bookkeeper:
pulsar_metadata:
image:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.9.2.23
pullPolicy: IfNotPresent

Expand Down Expand Up @@ -172,9 +172,9 @@ functions:
disk: 1048576000
functionRuntimeFactoryConfigs:
functionDockerImages:
JAVA: "localhost:5000/pulsar-functions-java-runner:2.9.2.23"
PYTHON: "localhost:5000/pulsar-functions-python-runner:2.9.2.23"
GO: "localhost:5000/pulsar-functions-go-runner:2.9.2.23"
JAVA: "localhost:5000/pulsar-functions-java-runner:3.2.2.1"
PYTHON: "localhost:5000/pulsar-functions-python-runner:3.2.2.1"
GO: "localhost:5000/pulsar-functions-go-runner:3.2.2.1"
functionInstanceMinResources:
cpu: 0.1
ram: 10485760
Expand Down
12 changes: 6 additions & 6 deletions .ci/clusters/values_skywalking_e2e_cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@ monitoring:

images:
zookeeper:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.9.2.23
bookie:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.9.2.23
broker:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.9.2.23
functions:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.9.2.23

zookeeper:
Expand All @@ -66,7 +66,7 @@ bookkeeper:
replicaCount: 0
metadata:
image:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.9.2.23
resources:
requests:
Expand Down Expand Up @@ -104,7 +104,7 @@ bookkeeper:
pulsar_metadata:
image:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.9.2.23

broker:
Expand Down
4 changes: 2 additions & 2 deletions .ci/clusters/values_skywalking_e2e_cluster_with_oauth.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ bookkeeper:
replicaCount: 0
metadata:
image:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.9.2.23
resources:
requests:
Expand Down Expand Up @@ -104,7 +104,7 @@ bookkeeper:
pulsar_metadata:
image:
repository: streamnative/pulsar-all
repository: streamnative/sn-platform
tag: 2.9.2.23

broker:
Expand Down
Loading

0 comments on commit c7cce3e

Please sign in to comment.