Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
ed7f745
feat: add allow auto update schema cmd (#567)
nodece Jan 24, 2022
21682ac
fix: create non-partitions topic (#577)
nodece Feb 11, 2022
8900464
ci: disable cgo (#584)
nodece Feb 11, 2022
dea53de
Fix test compatibility issue.
mattisonchao Feb 12, 2022
59ef950
Revert "Fix test compatibility issue." (#588)
mattisonchao Feb 12, 2022
0fdce6c
test: fix dynamic config assert (#591)
nodece Feb 14, 2022
225855a
test: fix the get runtime config (#587)
nodece Feb 14, 2022
681e974
fix: fix encode json body (#610)
nodece Feb 18, 2022
276ab61
ci: use root (#617)
nodece Feb 21, 2022
ee35e64
[CI] Add doc bot (#637)
yaalsn Mar 15, 2022
06d64a7
test: fix splite bundle test and update pulsar image (#663)
nodece Mar 21, 2022
09f449b
fix: use nil instead of empty string as request body (#662)
nodece Apr 29, 2022
4fce5a9
support build with go 1.18 (#699)
freeznet May 5, 2022
6a08024
fix: skip fix_mac_openssl for non-mac os in pulsarctl-security_tool (…
raohuaming May 18, 2022
0230b47
Add the update-auth data option to sink update and sources update (#728)
AlvaroStream Jun 1, 2022
64d37ff
fix: fix tls insecure connection (#731)
nodece Jun 6, 2022
30be9e9
Fix test new with custom auth provider (#734)
nodece Jun 8, 2022
9ea6c6a
test: upgrade the pulsar image (#765)
nodece Jun 29, 2022
a0af09d
Remove old releases mention (#771)
AlvaroStream Jun 30, 2022
b8befd1
fix: fix windows releases (#747)
nodece Jul 6, 2022
88ec2c1
Build docker image for amd64 linux (#774)
jiangpengcheng Jul 7, 2022
66efc5f
test: fix get internal config test (#830)
nodece Sep 14, 2022
2cb124c
fix: Remove encoding for the topic (#828)
nodece Sep 14, 2022
6f14a58
"Created by snbot"
Sep 16, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 69 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@

<!--
### Contribution Checklist

- Fill out the template below to describe the changes contributed by the pull request. That will give reviewers the context they need to do the review.

- Each pull request should address only one issue, not mix up code from multiple issues.

- Each commit in the pull request has a meaningful commit message

- Once all items of the checklist are addressed, remove the above text and this checklist, leaving only the filled out template below.

**(The sections below can be removed for hotfixes of typos)**
-->

*(If this PR fixes a github issue, please add `Fixes #<xyz>`.)*

Fixes #<xyz>

*(or if this PR is one task of a github issue, please add `Master Issue: #<xyz>` to link to the master issue.)*

Master Issue: #<xyz>

### Motivation

*Explain here the context, and why you're making that change. What is the problem you're trying to solve.*

### Modifications

*Describe the modifications you've done.*

### Verifying this change

- [ ] Make sure that the change passes the CI checks.

*(Please pick either of the following options)*

This change is a trivial rework / code cleanup without any test coverage.

*(or)*

This change is already covered by existing tests, such as *(please describe tests)*.

*(or)*

This change added tests and can be verified as follows:

*(example:)*
- *Added integration tests for end-to-end deployment with large payloads (10MB)*
- *Extended integration test for recovery after broker failure*

### Documentation

Check the box below.

Need to update docs?

- [ ] `doc-required`

(If you need help on updating docs, create a doc issue)

- [ ] `no-need-doc`

(Please explain why)

- [ ] `doc`

(If this PR contains doc changes)

25 changes: 16 additions & 9 deletions .github/workflows/ci-auth-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,24 @@ name: Pulsarctl
on:
pull_request:
branches:
- '*'
- '*'
path-ignores:
- 'docs/**'
- 'README.md'
- 'CONTRIBUTING.md'
- 'docs/**'
- 'README.md'
- 'CONTRIBUTING.md'
jobs:
auth-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run token tests
run: scripts/run-integration-tests.sh token
- name: Run TLS tests
run: scripts/run-integration-tests.sh tls
- uses: s4u/maven-settings-action@v2.6.0
with:
servers: '[{"id": "ossrh", "username": "${{ secrets.SONATYPE_USERNAME }}",
"password": "${{ secrets.SONATYPE_PASSWORD }}"}]'
- name: Login to cloudsmith
run: docker login -u="${{ secrets.CLOUDSMITH_USERNAME }}" -p="${{ secrets.CLOUDSMITH_API_KEY
}}" docker.cloudsmith.io
- uses: actions/checkout@v2
- name: Run token tests
run: scripts/run-integration-tests.sh token
- name: Run TLS tests
run: scripts/run-integration-tests.sh tls
19 changes: 13 additions & 6 deletions .github/workflows/ci-bookie-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,26 @@ name: Pulsarctl
on:
pull_request:
branches:
- '*'
- '*'
path-ignores:
- 'docs/**'
- 'README.md'
- 'CONTRIBUTING.md'
- 'docs/**'
- 'README.md'
- 'CONTRIBUTING.md'
jobs:
bookie-ut-tests:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.13
- uses: s4u/maven-settings-action@v2.6.0
with:
servers: '[{"id": "ossrh", "username": "${{ secrets.SONATYPE_USERNAME }}",
"password": "${{ secrets.SONATYPE_PASSWORD }}"}]'
- name: Login to cloudsmith
run: docker login -u="${{ secrets.CLOUDSMITH_USERNAME }}" -p="${{ secrets.CLOUDSMITH_API_KEY
}}" docker.cloudsmith.io
- name: Set up Go 1.18
uses: actions/setup-go@v1
with:
go-version: 1.13
go-version: 1.18
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand Down
15 changes: 11 additions & 4 deletions .github/workflows/ci-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,22 @@ name: Pulsarctl
on:
pull_request:
branches:
- '*'
- '*'
path-ignores:
- 'docs/**'
- 'README.md'
- 'CONTRIBUTING.md'
- 'docs/**'
- 'README.md'
- 'CONTRIBUTING.md'
jobs:
ut-tests:
runs-on: ubuntu-latest
steps:
- uses: s4u/maven-settings-action@v2.6.0
with:
servers: '[{"id": "ossrh", "username": "${{ secrets.SONATYPE_USERNAME }}",
"password": "${{ secrets.SONATYPE_PASSWORD }}"}]'
- name: Login to cloudsmith
run: docker login -u="${{ secrets.CLOUDSMITH_USERNAME }}" -p="${{ secrets.CLOUDSMITH_API_KEY
}}" docker.cloudsmith.io
- uses: actions/checkout@v2
- name: Run tests
run: scripts/run-integration-tests.sh
69 changes: 45 additions & 24 deletions .github/workflows/ci-functions-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,26 @@ name: Pulsarctl
on:
pull_request:
branches:
- '*'
- '*'
path-ignores:
- 'docs/**'
- 'README.md'
- 'CONTRIBUTING.md'
- 'docs/**'
- 'README.md'
- 'CONTRIBUTING.md'
jobs:
function-tests:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.13
- uses: s4u/maven-settings-action@v2.6.0
with:
servers: '[{"id": "ossrh", "username": "${{ secrets.SONATYPE_USERNAME }}",
"password": "${{ secrets.SONATYPE_PASSWORD }}"}]'
- name: Login to cloudsmith
run: docker login -u="${{ secrets.CLOUDSMITH_USERNAME }}" -p="${{ secrets.CLOUDSMITH_API_KEY
}}" docker.cloudsmith.io
- name: Set up Go 1.18
uses: actions/setup-go@v1
with:
go-version: 1.13
go-version: 1.18
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand All @@ -23,24 +30,38 @@ jobs:
sink-tests:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.13
uses: actions/setup-go@v1
with:
go-version: 1.13
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Sink tests
run: scripts/run-integration-tests.sh sink
- uses: s4u/maven-settings-action@v2.6.0
with:
servers: '[{"id": "ossrh", "username": "${{ secrets.SONATYPE_USERNAME }}",
"password": "${{ secrets.SONATYPE_PASSWORD }}"}]'
- name: Login to cloudsmith
run: docker login -u="${{ secrets.CLOUDSMITH_USERNAME }}" -p="${{ secrets.CLOUDSMITH_API_KEY
}}" docker.cloudsmith.io
- name: Set up Go 1.18
uses: actions/setup-go@v1
with:
go-version: 1.18
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Sink tests
run: scripts/run-integration-tests.sh sink
source-tests:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.13
uses: actions/setup-go@v1
with:
go-version: 1.13
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Source tests
run: scripts/run-integration-tests.sh source
- uses: s4u/maven-settings-action@v2.6.0
with:
servers: '[{"id": "ossrh", "username": "${{ secrets.SONATYPE_USERNAME }}",
"password": "${{ secrets.SONATYPE_PASSWORD }}"}]'
- name: Login to cloudsmith
run: docker login -u="${{ secrets.CLOUDSMITH_USERNAME }}" -p="${{ secrets.CLOUDSMITH_API_KEY
}}" docker.cloudsmith.io
- name: Set up Go 1.18
uses: actions/setup-go@v1
with:
go-version: 1.18
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Source tests
run: scripts/run-integration-tests.sh source
13 changes: 10 additions & 3 deletions .github/workflows/ci-install-script-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,21 @@ name: Pulsarctl
on:
pull_request:
branches:
- '*'
- '*'
paths:
- 'install.sh'
- 'stable.txt'
- 'install.sh'
- 'stable.txt'
jobs:
install-script-check:
runs-on: ubuntu-latest
steps:
- uses: s4u/maven-settings-action@v2.6.0
with:
servers: '[{"id": "ossrh", "username": "${{ secrets.SONATYPE_USERNAME }}",
"password": "${{ secrets.SONATYPE_PASSWORD }}"}]'
- name: Login to cloudsmith
run: docker login -u="${{ secrets.CLOUDSMITH_USERNAME }}" -p="${{ secrets.CLOUDSMITH_API_KEY
}}" docker.cloudsmith.io
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Test install
Expand Down
33 changes: 20 additions & 13 deletions .github/workflows/ci-packages-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,28 @@ name: Pulsarctl
on:
pull_request:
branches:
- '*'
- '*'
path-ignores:
- 'docs/**'
- 'README.md'
- 'CONTRIBUTING.md'
- 'docs/**'
- 'README.md'
- 'CONTRIBUTING.md'
jobs:
packages-tests:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.13
uses: actions/setup-go@v1
with:
go-version: 1.13
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Packages tests
run: scripts/run-integration-tests.sh packages
- uses: s4u/maven-settings-action@v2.6.0
with:
servers: '[{"id": "ossrh", "username": "${{ secrets.SONATYPE_USERNAME }}",
"password": "${{ secrets.SONATYPE_PASSWORD }}"}]'
- name: Login to cloudsmith
run: docker login -u="${{ secrets.CLOUDSMITH_USERNAME }}" -p="${{ secrets.CLOUDSMITH_API_KEY
}}" docker.cloudsmith.io
- name: Set up Go 1.18
uses: actions/setup-go@v1
with:
go-version: 1.18
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Packages tests
run: scripts/run-integration-tests.sh packages
51 changes: 30 additions & 21 deletions .github/workflows/ci-release-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,40 @@ name: Pulsarctl
on:
pull_request:
branches:
- '*'
- '*'
path-ignores:
- 'docs/**'
- 'README.md'
- 'CONTRIBUTING.md'
- 'docs/**'
- 'README.md'
- 'CONTRIBUTING.md'

jobs:
release-check:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.13, 1.14, 1.15, 1.16, 1.17, 1.18]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v1
with:
go-version: 1.13
id: go
- uses: s4u/maven-settings-action@v2.6.0
with:
servers: '[{"id": "ossrh", "username": "${{ secrets.SONATYPE_USERNAME }}",
"password": "${{ secrets.SONATYPE_PASSWORD }}"}]'
- name: Login to cloudsmith
run: docker login -u="${{ secrets.CLOUDSMITH_USERNAME }}" -p="${{ secrets.CLOUDSMITH_API_KEY
}}" docker.cloudsmith.io
- uses: actions/checkout@v2
- uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go-version }}
id: go

- name: build
run: |
version=`cat VERSION`
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o pulsarctl-amd64-linux -ldflags "-X github.com/streamnative/pulsarctl/pkg/pulsar.ReleaseVersion=Pulsarctl-Go-$version" .
CGO_ENABLED=0 GOOS=linux GOARCH=386 go build -o pulsarctl-386-linux -ldflags "-X github.com/streamnative/pulsarctl/pkg/pulsar.ReleaseVersion=Pulsarctl-Go-$version" .
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o pulsarctl-amd64-darwin -ldflags "-X github.com/streamnative/pulsarctl/pkg/pulsar.ReleaseVersion=Pulsarctl-Go-$version" .
CGO_ENABLED=0 GOOS=darwin GOARCH=386 go build -o pulsarctl-386-darwin -ldflags "-X github.com/streamnative/pulsarctl/pkg/pulsar.ReleaseVersion=Pulsarctl-Go-$version" .
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o pulsarctl-amd64-windows.exe -ldflags "-X github.com/streamnative/pulsarctl/pkg/pulsar.ReleaseVersion=Pulsarctl-Go-$version" .
CGO_ENABLED=0 GOOS=windows GOARCH=386 go build -o pulsarctl-386-windows.exe -ldflags "-X github.com/streamnative/pulsarctl/pkg/pulsar.ReleaseVersion=Pulsarctl-Go-$version" .
- name: build-site
run: |
make cli
- name: build
run: |
version=`cat VERSION`
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o pulsarctl-amd64-linux -ldflags "-X github.com/streamnative/pulsarctl/pkg/pulsar.ReleaseVersion=Pulsarctl-Go-$version" .
CGO_ENABLED=0 GOOS=linux GOARCH=386 go build -o pulsarctl-386-linux -ldflags "-X github.com/streamnative/pulsarctl/pkg/pulsar.ReleaseVersion=Pulsarctl-Go-$version" .
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o pulsarctl-amd64-darwin -ldflags "-X github.com/streamnative/pulsarctl/pkg/pulsar.ReleaseVersion=Pulsarctl-Go-$version" .
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o pulsarctl-amd64-windows.exe -ldflags "-X github.com/streamnative/pulsarctl/pkg/pulsar.ReleaseVersion=Pulsarctl-Go-$version" .
CGO_ENABLED=0 GOOS=windows GOARCH=386 go build -o pulsarctl-386-windows.exe -ldflags "-X github.com/streamnative/pulsarctl/pkg/pulsar.ReleaseVersion=Pulsarctl-Go-$version" .
- name: build-site
run: |
make cli
Loading