Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
134 commits
Select commit Hold shift + click to select a range
c6e258d
[Functions] The argument and description for dead letter topic is wro…
sijie Jan 21, 2020
e4099a2
[docs] Remove Dashboard from sidebar (#6097)
Jennifer88huang-zz Jan 21, 2020
f8a7386
Remove duplicated lombok annotations in the pulsar-functions modules …
vzhikserg Jan 21, 2020
d1afdf9
Apply correct language identifiers to the code blocks in the document…
vzhikserg Jan 21, 2020
f0d339e
Allow to enable/disable delayed delivery for messages on namespace (#…
wolfstudy Jan 21, 2020
7d851a3
[Fix doc issue 6058] Add consumer descriptions (#6088)
Anonymitaet Jan 22, 2020
f9674f7
Fix missing Swagger files for the version 2.5.0 (#6118)
vzhikserg Jan 22, 2020
cb19ee8
[Issue 6094][doc] fix Incorrect picture in pulsar function-overview (…
huangdx0726 Jan 22, 2020
992fc1e
[Issue 3681][docs] Update client-libraries in Get Started chapter (#6…
Jennifer88huang-zz Jan 22, 2020
56280ea
Fix issue 5505 (#6060)
ntysdd Jan 23, 2020
0aee35a
Support for python native logging from python wrapper (#6113)
BlackJohnny Jan 23, 2020
3035aa6
[Issue 5996][docs] Update broken links in 2.4.1 and 2.4.2 releases (#…
sijie Jan 23, 2020
472f448
[Issue 6056][docs] Add example on how to choose partition when using …
Jennifer88huang-zz Jan 23, 2020
c90854a
make acker transient (#6064)
yjshen Jan 23, 2020
f4ad1e8
Improve documentation about batching (#5989)
gmethvin Jan 23, 2020
138f662
[Issue 5983][docs] promote assign the advertisedAddress when startup …
fangpengcheng95 Jan 23, 2020
e23c6a8
[Issue 5690][pulsar-io] Make type name of Elasticsearch sink connecto…
Jan 23, 2020
d0920fc
Remove duplicated lombok annotations in the pulsar-broker module (#6130)
vzhikserg Jan 23, 2020
c078a55
[CPP] Compile fixes for ARM cpus (#6129)
merlimat Jan 23, 2020
9db9605
[website]Fixed website error (#6125)
tuteng Jan 24, 2020
c09314c
Fix zeroQueueConsumer using listener (#6106)
hrsakai Jan 24, 2020
66ea4c3
enable zh-TW website translation (#5956)
erhwenkuo Jan 24, 2020
68c33a7
Fix typo in Reader documentation. (#6103)
bwalendz Jan 24, 2020
8f62eb5
Support CLI pulsar tokens for concise description. (#6037)
murong00 Jan 24, 2020
648ed0e
[pulsar-broker] Fix some comment typos (#5926)
zhenglaizhang Jan 24, 2020
ec122ed
Check for the presence of presto libraries only when sql commands are…
srkukarni Jan 24, 2020
49a9897
[Websocket] Websocket doesn't set the correct cluster data (#6102)
sijie Jan 24, 2020
abb7a50
Simplify templating in log messages (#6133)
vzhikserg Jan 24, 2020
9cc2fe4
move fix for topic deletion in release notes to 2.5.0 (#6136)
EugenDueck Jan 25, 2020
e1e2523
[docs][functions] Remove redundancy (#6138)
EugenDueck Jan 25, 2020
5ae7a00
make bookie ranges stored in path/to/bkdata/ranges (#6082)
bozelf200 Jan 25, 2020
73c013e
[docs] improve statement on ordering guarantees for multi-topic subsc…
EugenDueck Jan 25, 2020
91fbc32
[doc] Invalid code tab markdown for TW translation (#6142)
sijie Jan 26, 2020
2725132
[docs] Correct language idenitifiers in IO quickstart documentation (…
vzhikserg Jan 26, 2020
2976542
[Issue 3289][docs 2.5.0] Append / to metrics url to fix documentation…
agilob Jan 26, 2020
d42cfa1
Add timeout to search for web service URLs to avoid web threads getti…
Jan 28, 2020
6b04f6f
Skip tests if a pull request only changes documentation (#6182)
sijie Feb 1, 2020
b924bad
Fix ConsumerBuilder.create() -> .subscribe() (#6169)
EugenDueck Feb 1, 2020
b8760d5
Fixed the typo (#6167)
abhilashmandaliya Feb 1, 2020
b838c59
[Issue-5994]: Start proxy pods when at least one broker pod is runnin…
roman-popenov Feb 1, 2020
c7cdfa8
Update reference-configuration.md (#6155)
PiotrJander Feb 1, 2020
c76c19e
[Issue-5958][helm]: Fixing templates for helm deployment (#6148)
roman-popenov Feb 1, 2020
efee516
add missing check to dashboard-ingress (helm chart) (#6160)
tmemenga Feb 1, 2020
4ea02a3
Add maxUnackedMessagesPerSubscription and maxUnackedMessagesPerConsum…
wolfstudy Feb 3, 2020
0b06dba
Remove duplicated lombok annotations in the pulsar-client module (#6147)
vzhikserg Feb 3, 2020
af6b5f6
[Issue 6024][pulsar_storm] PulsarSpout emit to multiple streams (#6039)
dawillcox Feb 3, 2020
39380d4
Allow Customization of version and name of python packages (#6188)
aahmed-se Feb 3, 2020
5728977
Expose lastConsumedTimestamp and lastAckedTimestamp to consumer stats…
zymap Feb 4, 2020
e1c8d14
[Issue 4175] [pulsar-function-go] Add Go Function heartbeat (and gRPC…
devinbost Feb 4, 2020
13d8ecd
Add copy file for cli tools (#6210)
tuteng Feb 4, 2020
a5647ef
Add acknowledgement explanation (#6212)
Anonymitaet Feb 4, 2020
0d981fb
[Doc] Fix issue 6186 - Add explanations for methods in producer and c…
Anonymitaet Feb 4, 2020
846e470
[Github actions]Improve integration test (#6184)
tuteng Feb 4, 2020
6ac2b6f
Update functions-overview.md (#6218)
Feb 5, 2020
d3f7caa
Add .asf.yaml for configuring the github project (#6217)
sijie Feb 5, 2020
2d02017
Switch to use github actions hosted under pulsar-test-infra (#6221)
sijie Feb 5, 2020
009e03f
Enable the pulsarbot action to react comments (#6223)
sijie Feb 5, 2020
a8e56b9
Fix license header and always run license check (#6222)
sijie Feb 5, 2020
4a2bceb
[CI] Add GITHUB_TOKEN as the environment variable for running pulsarb…
sijie Feb 5, 2020
92d7102
Revert "Support for python native logging from python wrapper (#6113)…
sijie Feb 6, 2020
0e8d533
Replace client api use correct version (#6240)
tuteng Feb 6, 2020
3b46f50
[Doc] Fix issue 6177 - Correct explanation for routing mode (#6244)
Anonymitaet Feb 6, 2020
d631156
[deployement] make kubernetes yamls for aws operational (#6192)
trexinc Feb 7, 2020
44dd412
Fix get schema version in HttpLookupService. (#6193)
codelipenghui Feb 7, 2020
4018d0b
Use fully qualified hostname as default to advertise brokers (#6235)
merlimat Feb 7, 2020
125a588
Fixed static linking on C++ lib on MacOS (#5581)
merlimat Feb 7, 2020
54b39e6
Fix bug that backlog message that has not yet expired could be delete…
Feb 7, 2020
d63b6c1
[C++] Ensure ExecutorServicePtr is not destroyed while the timer obje…
merlimat Feb 7, 2020
75c145a
Fix mispelling of tolarations. Correctly spelled at tolerations. (#6…
ericpsimon Feb 7, 2020
6511763
add Korean code base. (#6261)
oeegee Feb 8, 2020
28875d5
[ISSUE-6131]: Ensure JVM memory and GC options are set for bookie (#6…
roman-popenov Feb 8, 2020
43d89f2
Create managed ledger path on local zookeeper when create partitions …
codelipenghui Feb 8, 2020
857d63b
Pin the netty-transport-native-epoll to avoid conflicts (#6194)
merlimat Feb 8, 2020
9b296d8
Output resource usage rate to log on broker (#6152)
Feb 8, 2020
98cf15f
Allow path to bash scripts to contain symbolic links from anywhere (#…
slominskir Feb 8, 2020
fed8c30
[Issue 5927][Pulsar Client] Change the time unit of `patternAutoDisco…
zhenglaizhang Feb 8, 2020
04ed23c
[Issue 6274][Test] Fixed integration Pulsar SQL test failed (#6279)
tuteng Feb 9, 2020
4fd17d4
Expose bookkeeper expose explicit lac in broker.conf (#5822)
codelipenghui Feb 10, 2020
5fe096d
[pulsar-kafka] support block-producer on queue-full with sendTimeOut …
rdhabalia Feb 10, 2020
d3f6c55
[Issue 6173][compaction] Fix log compaction for flow control/empty to…
fantapsody Feb 10, 2020
8262ad9
[C++] Fixed memory corruption on ExecutorService destructor (#6270)
merlimat Feb 10, 2020
05c3218
[kinesis] Fix netty dependency conflict in Kinesis (#6199)
addisonj Feb 10, 2020
9b46930
Restore clusterDispatchRate policy for compatibility (#6176)
Feb 10, 2020
739cdcb
[REST API]Annotate the APIs that may throw 307 temporary redirect exc…
yjshen Feb 10, 2020
54a5195
[C++] Fixed handling of canceled timer events on NegativeAcksTracker …
merlimat Feb 10, 2020
29b249c
[C++] Fixed valgrind warnings in unit tests (#6271)
merlimat Feb 10, 2020
d2f37a7
[Broker]Reset cursor with a non-exists position (#6120)
yjshen Feb 10, 2020
bec768f
[deployment][helm] Add Grafana ingress template (#6280)
roman-popenov Feb 10, 2020
fd03be5
Namespace level offloader (#6183)
gaoran10 Feb 10, 2020
981f6cb
[IO] updated aerospike-java-client version and fixed NPE (#6263)
abhilashmandaliya Feb 10, 2020
4af5223
PIP-55: Refresh Authentication Credentials (#6074)
merlimat Feb 10, 2020
e1f3409
When building docker image, copy tarball at the end to use build cach…
merlimat Feb 10, 2020
485f2d2
Fix flakiness in ProducerSemaphoreTest (#6285)
ivankelly Feb 11, 2020
46bc412
Corrected the method name for source implementation (#6190)
abhilashmandaliya Feb 11, 2020
6eb7484
[C++] Fixed triggering timers when the connection is being closed (#6…
merlimat Feb 11, 2020
83799f8
Do not use timed receive in BrokerClientIntegrationTest.testUnsupport…
merlimat Feb 11, 2020
7cb61fe
Fix script apply-config-from-env.py (#6293)
andresgaragiola Feb 11, 2020
22f5957
[C++] Improved time check expectation on BackoffTest.firstBackoffTime…
merlimat Feb 11, 2020
a103c93
[C++] Improve LatchTest.testTimedWait timing (#6294)
merlimat Feb 12, 2020
4264b8d
Fix bug that tenants whose allowed clusters include global cannot be …
Feb 12, 2020
50d3599
Remove problematic semicolon from conf (#6303)
kailevy Feb 12, 2020
50d9352
Increase the retries count for PulsarFunctionStateTest (#5328)
merlimat Feb 12, 2020
22d7824
Added option to configure max HTTP request size (#6296)
merlimat Feb 12, 2020
73986aa
Fix typo: replace property `ack` with `acks` in docs for the Kafka si…
jrpilat Feb 12, 2020
3de4166
Emphasis that a subscription is an important concept from which subsc…
slominskir Feb 12, 2020
24eccaf
PIP-45: Switch ManagedLedger to use MetadataStore interface (#5358)
merlimat Feb 12, 2020
7cade48
Fixed casting in ZooKeeperCache.getDataIfPresent() (#6313)
merlimat Feb 12, 2020
257d1c5
[Fix doc issue 6242] Add a tip about testng in function debug (#6322)
Anonymitaet Feb 13, 2020
bce14ed
add passSourceMessageProperty switch to pulsar functions (#6318)
nlu90 Feb 13, 2020
d3ec620
[Helm] Pulsar Manager do not work if Pulsar authentication is enabled…
SakaSun Feb 13, 2020
33232ca
[Issue 6111][Doc] Add documentation for Debezium Mongodb connector (#…
huangdx0726 Feb 13, 2020
bc1f078
[Issue-6143][helm]: Add the rbac policy to give the brokers permissio…
roman-popenov Feb 13, 2020
1c099da
Supports evenly distribute topics count when splits bundle (#6241)
codelipenghui Feb 13, 2020
45e4f4a
Fix send_async callback documentation (#6070)
vicaya Feb 13, 2020
7dd52b8
Make tests more stable by using JSONAssert equals (#6247)
testfixer Feb 13, 2020
115fa80
[CI] Use PULSARBOT_TOKEN in pulsarbot ci job (#6324)
sijie Feb 14, 2020
2e1c74a
[Issue 4070][pulsar-client-cpp] Fix for possible deadlock when closin…
heronr Feb 14, 2020
b898f49
Should flush the last potential duplicated since can't combine potent…
codelipenghui Feb 14, 2020
5a8f420
Upgrade ZooKeeper to 3.5.7 (#6329)
merlimat Feb 15, 2020
47b944b
Fix deploy of WindowFunctions (#6246)
seeday Feb 16, 2020
d35e6c1
[Issue 5904]Support `unload` all partitions of a partitioned topic (#…
ltamber Feb 16, 2020
bf7302a
[Issue 4175] [pulsar-function-go] Create integration tests for Go Fun…
devinbost Feb 16, 2020
e9083f5
[Issue 5999] Support create/update tenant with empty cluster (#6027)
murong00 Feb 16, 2020
91dfa1a
Introduce maxMessagePublishBufferSizeInMB configuration to avoid brok…
codelipenghui Feb 16, 2020
df15210
Enable get precise backlog and backlog without delayed messages. (#6310)
codelipenghui Feb 16, 2020
3cf6be1
KeyValue schema support for pulsar sql (#6325)
gaoran10 Feb 17, 2020
26d569b
Avoid get partition metadata while the topic name is a partition name…
codelipenghui Feb 17, 2020
7d4df99
explicit statement env 'BOOKIE_MEM' and 'BOOKIE_GC' for values-mini.y…
liyuntao Feb 17, 2020
77971e4
Fix java doc for key shared policy. (#6341)
codelipenghui Feb 17, 2020
2acad27
Enabled grpc plugin to gRPC generate.sh script to fix issues causing …
Jan 11, 2020
7e0a75d
Improved formatting of Go code. Also, added some required comments to…
Feb 17, 2020
2cdf00a
Fixed more Go formatting issues. #6105
Feb 17, 2020
9c89e04
Fixed more formatting issues. #6105
Feb 17, 2020
73e3c92
Ran 'gofmt -s -w .' #6105
Feb 17, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
43 changes: 43 additions & 0 deletions .asf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#

github:
description: "Apache Pulsar - distributed pub-sub messaging system"
homepage: https://pulsar.apache.org/
labels:
- pulsar
- pubsub
- messaging
- streaming
- queuing
- event-streaming
features:
# Enable wiki for documentation
wiki: true
# Enable issues management
issues: true
# Enable projects for project management boards
projects: true
enabled_merge_buttons:
# enable squash button:
squash: true
# disable merge button:
merge: false
# disable rebase button:
rebase: false
19 changes: 14 additions & 5 deletions .github/workflows/ci-cpp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ on:
pull_request:
branches:
- master
paths-ignore:
- '**.md'

jobs:

Expand All @@ -33,24 +31,35 @@ jobs:
timeout-minutes: 120

steps:

- name: checkout
uses: actions/checkout@v1

- name: Check if this pull request only changes documentation
id: docs
uses: apache/pulsar-test-infra/diff-only@master
with:
args: site2 .github deployment .asf.yaml

- name: Set up JDK 1.8
uses: actions/setup-java@v1
if: steps.docs.outputs.changed_only == 'no'
with:
java-version: 1.8

- name: checkout
uses: actions/checkout@v1

- name: build pacakge
if: steps.docs.outputs.changed_only == 'no'
run: mvn -B -Dorg.slf4j.simpleLogger.defaultLogLevel=ERROR package -DskipTests

- name: build cpp artifacts
if: steps.docs.outputs.changed_only == 'no'
run: |
echo "Build C++ client library"
export CMAKE_ARGS="-DCMAKE_BUILD_TYPE=Debug -DBUILD_DYNAMIC_LIB=OFF"
pulsar-client-cpp/docker-build.sh

- name: run c++ tests
if: steps.docs.outputs.changed_only == 'no'
run: pulsar-client-cpp/docker-tests.sh


Expand Down
17 changes: 13 additions & 4 deletions .github/workflows/ci-go-functions-style.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,28 +31,37 @@ jobs:
name: Build
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v1

- name: Check if this pull request only changes documentation
id: docs
uses: apache/pulsar-test-infra/diff-only@master
with:
args: site2 .github deployment .asf.yaml

- name: Set up Go 1.12
uses: actions/setup-go@v1
if: steps.docs.outputs.changed_only == 'no'
with:
go-version: 1.12
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v1

- name: InstallTool
if: steps.docs.outputs.changed_only == 'no'
run: |
cd pulsar-function-go
wget -O - -q https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s v1.18.0
./bin/golangci-lint --version

- name: Build
if: steps.docs.outputs.changed_only == 'no'
run: |
cd pulsar-function-go
go build ./pf
go build ./...

- name: CheckStyle
if: steps.docs.outputs.changed_only == 'no'
run: |
cd pulsar-function-go
./bin/golangci-lint run -c ./golangci.yml ./pf
14 changes: 11 additions & 3 deletions .github/workflows/ci-go-functions-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,24 @@ jobs:
timeout-minutes: 120

steps:
- name: checkout
uses: actions/checkout@v1

- name: Check if this pull request only changes documentation
id: docs
uses: apache/pulsar-test-infra/diff-only@master
with:
args: site2 .github deployment .asf.yaml

- name: Set up Go 1.12
uses: actions/setup-go@v1
if: steps.docs.outputs.changed_only == 'no'
with:
go-version: 1.12
id: go

- name: checkout
uses: actions/checkout@v1

- name: run tests
if: steps.docs.outputs.changed_only == 'no'
run: |
cd pulsar-function-go
go test -v $(go list ./... | grep -v examples)
21 changes: 16 additions & 5 deletions .github/workflows/ci-integration-backwards-compatibility.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ on:
pull_request:
branches:
- master
paths-ignore:
- '**.md'

jobs:

Expand All @@ -33,28 +31,41 @@ jobs:
timeout-minutes: 120

steps:
- name: checkout
uses: actions/checkout@v1

- name: Check if this pull request only changes documentation
id: docs
uses: apache/pulsar-test-infra/diff-only@master
with:
args: site2 .github deployment .asf.yaml

- name: Set up JDK 1.8
if: steps.docs.outputs.changed_only == 'no'
uses: actions/setup-java@v1
with:
java-version: 1.8

- name: checkout
uses: actions/checkout@v1

- name: run install by skip tests
if: steps.docs.outputs.changed_only == 'no'
run: mvn clean install -DskipTests

- name: build artifacts and docker image
if: steps.docs.outputs.changed_only == 'no'
run: mvn -B -f tests/docker-images/pom.xml install -am -Pdocker -DskipTests

- name: clean docker container
if: steps.docs.outputs.changed_only == 'no'
run: docker system prune -f

- name: remove docker node image
if: steps.docs.outputs.changed_only == 'no'
run: docker rmi -f node:10 && docker rmi -f node:12 && docker rmi -f buildpack-deps:stretch

- name: remove docker builder and microsoft image
if: steps.docs.outputs.changed_only == 'no'
run: docker rmi -f jekyll/builder:latest && docker rmi -f mcr.microsoft.com/azure-pipelines/node8-typescript:latest

- name: run integration tests
if: steps.docs.outputs.changed_only == 'no'
run: mvn -B -f tests/pom.xml test -DintegrationTestSuiteFile=pulsar-backwards-compatibility.xml -DintegrationTests -DredirectTestOutputToFile=false
33 changes: 28 additions & 5 deletions .github/workflows/ci-integration-cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ on:
pull_request:
branches:
- master
paths-ignore:
- '**.md'

jobs:

Expand All @@ -33,16 +31,41 @@ jobs:
timeout-minutes: 120

steps:
- name: checkout
uses: actions/checkout@v1

- name: Check if this pull request only changes documentation
id: docs
uses: apache/pulsar-test-infra/diff-only@master
with:
args: site2 .github deployment .asf.yaml

- name: Set up JDK 1.8
uses: actions/setup-java@v1
if: steps.docs.outputs.changed_only == 'no'
with:
java-version: 1.8

- name: checkout
uses: actions/checkout@v1
- name: run install by skip tests
if: steps.docs.outputs.changed_only == 'no'
run: mvn clean install -DskipTests

- name: build artifacts and docker image
run: mvn -B install -Dorg.slf4j.simpleLogger.defaultLogLevel=ERROR -Pdocker -DskipTests
if: steps.docs.outputs.changed_only == 'no'
run: mvn -B -f tests/docker-images/pom.xml install -am -Pdocker -DskipTests

- name: clean docker container
if: steps.docs.outputs.changed_only == 'no'
run: docker system prune -f

- name: remove docker node image
if: steps.docs.outputs.changed_only == 'no'
run: docker rmi -f node:10 && docker rmi -f node:12 && docker rmi -f buildpack-deps:stretch

- name: remove docker builder and microsoft image
if: steps.docs.outputs.changed_only == 'no'
run: docker rmi -f jekyll/builder:latest && docker rmi -f mcr.microsoft.com/azure-pipelines/node8-typescript:latest

- name: run integration tests
if: steps.docs.outputs.changed_only == 'no'
run: mvn -B -f tests/pom.xml test -DintegrationTestSuiteFile=pulsar-cli.xml -DintegrationTests -DredirectTestOutputToFile=false
33 changes: 28 additions & 5 deletions .github/workflows/ci-integration-function-state.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ on:
pull_request:
branches:
- master
paths-ignore:
- '**.md'

jobs:

Expand All @@ -33,16 +31,41 @@ jobs:
timeout-minutes: 120

steps:
- name: checkout
uses: actions/checkout@v1

- name: Check if this pull request only changes documentation
id: docs
uses: apache/pulsar-test-infra/diff-only@master
with:
args: site2 .github deployment .asf.yaml

- name: Set up JDK 1.8
uses: actions/setup-java@v1
if: steps.docs.outputs.changed_only == 'no'
with:
java-version: 1.8

- name: checkout
uses: actions/checkout@v1
- name: run install by skip tests
if: steps.docs.outputs.changed_only == 'no'
run: mvn clean install -DskipTests

- name: build artifacts and docker image
run: mvn -B install -Dorg.slf4j.simpleLogger.defaultLogLevel=ERROR -Pdocker -DskipTests
if: steps.docs.outputs.changed_only == 'no'
run: mvn -B -f tests/docker-images/pom.xml install -am -Pdocker -DskipTests

- name: clean docker container
if: steps.docs.outputs.changed_only == 'no'
run: docker system prune -f

- name: remove docker node image
if: steps.docs.outputs.changed_only == 'no'
run: docker rmi -f node:10 && docker rmi -f node:12 && docker rmi -f buildpack-deps:stretch

- name: remove docker builder and microsoft image
if: steps.docs.outputs.changed_only == 'no'
run: docker rmi -f jekyll/builder:latest && docker rmi -f mcr.microsoft.com/azure-pipelines/node8-typescript:latest

- name: run integration tests
if: steps.docs.outputs.changed_only == 'no'
run: mvn -B -f tests/pom.xml test -DintegrationTestSuiteFile=pulsar-function-state.xml -DintegrationTests -DredirectTestOutputToFile=false
33 changes: 28 additions & 5 deletions .github/workflows/ci-integration-messaging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ on:
pull_request:
branches:
- master
paths-ignore:
- '**.md'

jobs:

Expand All @@ -33,16 +31,41 @@ jobs:
timeout-minutes: 120

steps:
- name: checkout
uses: actions/checkout@v1

- name: Check if this pull request only changes documentation
id: docs
uses: apache/pulsar-test-infra/diff-only@master
with:
args: site2 .github deployment .asf.yaml

- name: Set up JDK 1.8
uses: actions/setup-java@v1
if: steps.docs.outputs.changed_only == 'no'
with:
java-version: 1.8

- name: checkout
uses: actions/checkout@v1
- name: run install by skip tests
if: steps.docs.outputs.changed_only == 'no'
run: mvn clean install -DskipTests

- name: build artifacts and docker image
run: mvn -B install -Dorg.slf4j.simpleLogger.defaultLogLevel=ERROR -Pdocker -DskipTests
if: steps.docs.outputs.changed_only == 'no'
run: mvn -B -f tests/docker-images/pom.xml install -am -Pdocker -DskipTests

- name: clean docker container
if: steps.docs.outputs.changed_only == 'no'
run: docker system prune -f

- name: remove docker node image
if: steps.docs.outputs.changed_only == 'no'
run: docker rmi -f node:10 && docker rmi -f node:12 && docker rmi -f buildpack-deps:stretch

- name: remove docker builder and microsoft image
if: steps.docs.outputs.changed_only == 'no'
run: docker rmi -f jekyll/builder:latest && docker rmi -f mcr.microsoft.com/azure-pipelines/node8-typescript:latest

- name: run integration tests
if: steps.docs.outputs.changed_only == 'no'
run: mvn -B -f tests/pom.xml test -DintegrationTestSuiteFile=pulsar-messaging.xml -DintegrationTests -DredirectTestOutputToFile=false
Loading