Skip to content

Commit 702576c

Browse files
authored
chore: merge master into add-set-replication-clusters-cmd
2 parents 8328b07 + da10b8f commit 702576c

68 files changed

Lines changed: 1593 additions & 82 deletions

Some content is hidden

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

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @mattisonchao @zymap @nlu90
1+
* @mattisonchao @zymap @nlu90 @streamnative/platform @streamnative/compute

.github/workflows/ci-auth-checks.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,13 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v2
1515
- name: Login SN docker hub
16+
if: github.actor == 'streamnativebot'
1617
run: docker login -u="${{ secrets.DOCKER_USER }}" -p="${{ secrets.DOCKER_PASSWORD}}"
1718
- name: Run token tests
1819
run: scripts/run-integration-tests.sh token
20+
env:
21+
PULSAR_IMAGE: ${{ github.actor == 'streamnativebot' && 'snstage/pulsar-all' || 'apachepulsar/pulsar-all' }}
1922
- name: Run TLS tests
2023
run: scripts/run-integration-tests.sh tls
24+
env:
25+
PULSAR_IMAGE: ${{ github.actor == 'streamnativebot' && 'snstage/pulsar-all' || 'apachepulsar/pulsar-all' }}

.github/workflows/ci-bookie-checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
bookie-ut-tests:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- name: Set up Go 1.25
14+
- name: Set up Go 1.25.11
1515
uses: actions/setup-go@v6
1616
with:
17-
go-version: 1.25
17+
go-version: 1.25.11
1818
id: go
1919
- name: Check out code into the Go module directory
2020
uses: actions/checkout@v2

.github/workflows/ci-checks.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Login SN docker hub
15+
if: github.actor == 'streamnativebot'
1516
run: docker login -u="${{ secrets.DOCKER_USER }}" -p="${{ secrets.DOCKER_PASSWORD}}"
1617
- uses: actions/checkout@v2
1718
- name: Run tests
1819
run: scripts/run-integration-tests.sh
20+
env:
21+
PULSAR_IMAGE: ${{ github.actor == 'streamnativebot' && 'snstage/pulsar-all' || 'apachepulsar/pulsar-all' }}

.github/workflows/ci-functions-checks.yml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,44 +12,53 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Login SN docker hub
15+
if: github.actor == 'streamnativebot'
1516
run: docker login -u="${{ secrets.DOCKER_USER }}" -p="${{ secrets.DOCKER_PASSWORD}}"
16-
- name: Set up Go 1.25
17+
- name: Set up Go 1.25.11
1718
uses: actions/setup-go@v6
1819
with:
19-
go-version: 1.25
20+
go-version: 1.25.11
2021
id: go
2122
- name: Check out code into the Go module directory
2223
uses: actions/checkout@v2
2324
- name: Function tests
2425
run: scripts/run-integration-tests.sh function
26+
env:
27+
PULSAR_IMAGE: ${{ github.actor == 'streamnativebot' && 'snstage/pulsar-all' || 'apachepulsar/pulsar-all' }}
2528
- name: Setup tmate session
2629
if: failure()
2730
uses: mxschmitt/action-tmate@v3
2831
sink-tests:
2932
runs-on: ubuntu-latest
3033
steps:
3134
- name: Login SN docker hub
35+
if: github.actor == 'streamnativebot'
3236
run: docker login -u="${{ secrets.DOCKER_USER }}" -p="${{ secrets.DOCKER_PASSWORD}}"
33-
- name: Set up Go 1.25
37+
- name: Set up Go 1.25.11
3438
uses: actions/setup-go@v6
3539
with:
36-
go-version: 1.25
40+
go-version: 1.25.11
3741
id: go
3842
- name: Check out code into the Go module directory
3943
uses: actions/checkout@v2
4044
- name: Sink tests
4145
run: scripts/run-integration-tests.sh sink
46+
env:
47+
PULSAR_IMAGE: ${{ github.actor == 'streamnativebot' && 'snstage/pulsar-all' || 'apachepulsar/pulsar-all' }}
4248
source-tests:
4349
runs-on: ubuntu-latest
4450
steps:
4551
- name: Login SN docker hub
52+
if: github.actor == 'streamnativebot'
4653
run: docker login -u="${{ secrets.DOCKER_USER }}" -p="${{ secrets.DOCKER_PASSWORD}}"
47-
- name: Set up Go 1.25
54+
- name: Set up Go 1.25.11
4855
uses: actions/setup-go@v6
4956
with:
50-
go-version: 1.25
57+
go-version: 1.25.11
5158
id: go
5259
- name: Check out code into the Go module directory
5360
uses: actions/checkout@v2
5461
- name: Source tests
5562
run: scripts/run-integration-tests.sh source
63+
env:
64+
PULSAR_IMAGE: ${{ github.actor == 'streamnativebot' && 'snstage/pulsar-all' || 'apachepulsar/pulsar-all' }}

.github/workflows/ci-install-script-checks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Login SN docker hub
14+
if: github.actor == 'streamnativebot'
1415
run: docker login -u="${{ secrets.DOCKER_USER }}" -p="${{ secrets.DOCKER_PASSWORD}}"
1516
- name: Check out code into the Go module directory
1617
uses: actions/checkout@v2

.github/workflows/ci-packages-checks.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,19 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Login SN docker hub
15+
if: github.actor == 'streamnativebot'
1516
run: docker login -u="${{ secrets.DOCKER_USER }}" -p="${{ secrets.DOCKER_PASSWORD}}"
16-
- name: Set up Go 1.25
17+
- name: Set up Go 1.25.11
1718
uses: actions/setup-go@v5
1819
with:
19-
go-version: 1.25
20+
go-version: 1.25.11
2021
id: go
2122
- name: Check out code into the Go module directory
2223
uses: actions/checkout@v2
2324
- name: Packages tests
2425
run: scripts/run-integration-tests.sh packages
26+
env:
27+
PULSAR_IMAGE: ${{ github.actor == 'streamnativebot' && 'snstage/pulsar-all' || 'apachepulsar/pulsar-all' }}
2528
- name: Setup tmate session
2629
if: failure()
2730
uses: mxschmitt/action-tmate@v3

.github/workflows/ci-release-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
go-version: [ 1.25 ]
17+
go-version: [ 1.25.11 ]
1818
steps:
1919
- uses: actions/checkout@v2
2020
- uses: actions/setup-go@v5

.github/workflows/ci-style-checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
style-check:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- name: Set up Go 1.25
14+
- name: Set up Go 1.25.11
1515
uses: actions/setup-go@v5
1616
with:
17-
go-version: 1.25
17+
go-version: 1.25.11
1818
id: go
1919
- name: Check out code into the Go module directory
2020
uses: actions/checkout@v2

.github/workflows/ci-trivy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
scan-vulnerabilities:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- name: Set up Go 1.25
15+
- name: Set up Go 1.25.11
1616
uses: actions/setup-go@v5
1717
with:
18-
go-version: 1.25
18+
go-version: 1.25.11
1919
id: go
2020

2121
- name: Check out code into the Go module directory
@@ -28,10 +28,10 @@ jobs:
2828
run: docker build -f docker/amd64-linux.Dockerfile -t pulsarctl .
2929

3030
- name: Run Trivy vulnerability scanner
31-
uses: aquasecurity/trivy-action@master
31+
uses: aquasecurity/trivy-action@v0.35.0
3232
with:
3333
image-ref: 'pulsarctl:latest'
3434
format: 'table'
3535
exit-code: '1'
3636
severity: "MEDIUM,HIGH,CRITICAL"
37-
vuln-type: "library"
37+
vuln-type: "library"

0 commit comments

Comments
 (0)