Skip to content

Commit 945488c

Browse files
feat: rename packageService to pulsarPackageService (#832)
* feat: rename packageService to pulsarPackageService * fix * fix ci * fix vulner * fix test * generate * fix test * fix test
1 parent 7ed66e3 commit 945488c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+1892
-1802
lines changed

.ci/olm-tests/catalog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ metadata:
55
namespace: olm
66
spec:
77
sourceType: grpc
8-
image: kind-registry:5000/streamnativeio/function-mesh-catalog:v0.26.1
8+
image: localhost:5000/streamnativeio/function-mesh-catalog:v0.26.1

.ci/tests/integration-oauth2/cases/java-download-function-with-package-service/manifests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ spec:
4646
issuerUrl: https://auth.sncloud-stg.dev/
4747
keySecretName: sn-platform-oauth2-private-key
4848
keySecretKey: auth.json
49-
packageService:
49+
pulsarPackageService:
5050
pulsarConfig: "test-pulsar-package-service"
5151
tlsConfig:
5252
enabled: false

.github/workflows/bundle-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ jobs:
4949
username: ${{ secrets.DOCKER_USER }}
5050
password: ${{ secrets.DOCKER_PASSWORD }}
5151

52-
- name: Set up GO 1.24.13
52+
- name: Set up GO 1.25.8
5353
uses: actions/setup-go@v5
5454
with:
55-
go-version: 1.24.13
55+
go-version: 1.25.8
5656
id: go
5757

5858
- name: InstallKubebuilder
@@ -180,10 +180,10 @@ jobs:
180180
username: ${{ secrets.DOCKER_USER }}
181181
password: ${{ secrets.DOCKER_PASSWORD }}
182182

183-
- name: Set up GO 1.24.13
183+
- name: Set up GO 1.25.8
184184
uses: actions/setup-go@v5
185185
with:
186-
go-version: 1.24.13
186+
go-version: 1.25.8
187187
id: go
188188

189189
- name: InstallKubebuilder

.github/workflows/olm-verify.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ jobs:
3434
- name: checkout
3535
uses: actions/checkout@v2
3636

37-
- name: Set up GO 1.24.13
37+
- name: Set up GO 1.25.8
3838
uses: actions/setup-go@v5
3939
with:
40-
go-version: 1.24.13
40+
go-version: 1.25.8
4141
id: go
4242

4343
- name: InstallKubebuilder
@@ -57,15 +57,14 @@ jobs:
5757
sudo chmod +x /usr/bin/yq
5858
yq --help
5959
60-
- name: Kubernetes KinD Cluster
61-
uses: container-tools/kind-action@v1
62-
with:
63-
node_image: kindest/node:v1.23.17
60+
- name: Create kind cluster
61+
run: |
62+
hack/kind-cluster-build.sh --name olm-verify -c 1 -v 10 --k8sVersion v1.23.17
6463
6564
- name: Build RedHat certificated bundle And Publish to Quay
6665
env:
67-
DOCKER_REPO: kind-registry:5000/streamnativeio
68-
IMAGE_TAG_BASE: kind-registry:5000/streamnativeio/function-mesh
66+
DOCKER_REPO: localhost:5000/streamnativeio
67+
IMAGE_TAG_BASE: localhost:5000/streamnativeio/function-mesh
6968
CATALOG_BRANCH_TAG: latest
7069
run: |
7170
echo $VERSION

.github/workflows/project.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
go-version: [1.22.12, 1.24.13]
21+
go-version: [1.25.8]
2222
steps:
2323
- name: Free Disk Space (Ubuntu)
2424
uses: jlumbroso/free-disk-space@v1.3.0
@@ -51,7 +51,7 @@ jobs:
5151
5252
- name: InstallTool
5353
run: |
54-
wget -O - -q https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s v1.64.7
54+
GOBIN=$(pwd)/bin go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.64.7
5555
./bin/golangci-lint --version
5656
5757
- name: validate controller-gen

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ jobs:
3737
username: ${{ secrets.DOCKER_USER }}
3838
password: ${{ secrets.DOCKER_PASSWORD }}
3939

40-
- name: Set up GO 1.24.13
40+
- name: Set up GO 1.25.8
4141
uses: actions/setup-go@v5
4242
with:
43-
go-version: 1.24.13
43+
go-version: 1.25.8
4444
id: go
4545

4646
- name: InstallKubebuilder

.github/workflows/test-helm-charts.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,11 @@ jobs:
8383
run: hack/kind-cluster-build.sh --name chart-testing -c 1 -v 10 --k8sVersion v1.23.17
8484
if: steps.list-changed.outputs.changed == 'true'
8585

86-
- name: Set up GO 1.24.13
86+
- name: Set up GO 1.25.8
8787
if: steps.list-changed.outputs.changed == 'true'
8888
uses: actions/setup-go@v5
8989
with:
90-
go-version: 1.24.13
90+
go-version: 1.25.8
9191
id: go
9292

9393
- name: setup kubebuilder 3.6.0

.github/workflows/trivy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ jobs:
5757
repository: ${{github.event.pull_request.head.repo.full_name}}
5858
ref: ${{ github.event.pull_request.head.sha }}
5959

60-
- name: Set up GO 1.24.13
60+
- name: Set up GO 1.25.8
6161
uses: actions/setup-go@v5
6262
with:
63-
go-version: 1.24.13
63+
go-version: 1.25.8
6464
id: go
6565

6666
- name: InstallKubebuilder

.github/workflows/trivy_scheduled_master.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ jobs:
6767
repository: ${{github.event.pull_request.head.repo.full_name}}
6868
ref: ${{ github.event.pull_request.head.sha }}
6969

70-
- name: Set up GO 1.24.13
70+
- name: Set up GO 1.25.8
7171
uses: actions/setup-go@v5
7272
with:
73-
go-version: 1.24.13
73+
go-version: 1.25.8
7474
id: go
7575

7676
- name: InstallKubebuilder

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ index_build_*/
3333

3434
*.bak
3535
.DS_Store
36+
.cache/
3637
config/crd/bases/vpa-v1-crd.yaml
3738
Listeners
3839
.tool-versions

0 commit comments

Comments
 (0)