Skip to content

Commit

Permalink
Merge branch 'master' into fix-sourcetype-in-configfile
Browse files Browse the repository at this point in the history
  • Loading branch information
tisonkun committed Jun 30, 2023
2 parents f917a10 + 6acd01d commit 89aacef
Show file tree
Hide file tree
Showing 939 changed files with 30,331 additions and 12,920 deletions.
6 changes: 2 additions & 4 deletions .asf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,9 @@ github:
# 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
rebase: true
protected_branches:
master:
required_status_checks:
Expand Down Expand Up @@ -82,6 +79,7 @@ github:
branch-2.9: {}
branch-2.10: {}
branch-2.11: {}
branch-3.0: {}

notifications:
commits: commits@pulsar.apache.org
Expand Down
9 changes: 9 additions & 0 deletions .github/ISSUE_TEMPLATE/pip.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
name: PIP
about: '[DEPRECATED. see pip folder] Submit a Pulsar Improvement Proposal (PIP)'
title: 'DEPRECATED - Read https://github.com/apache/pulsar/blob/master/pip/README.md'
labels: PIP
---

We have stopped using GitHub issues to hold the PIP content.
Please read [here](https://github.com/apache/pulsar/blob/master/pip/README.md) how to submit a PIP
82 changes: 0 additions & 82 deletions .github/ISSUE_TEMPLATE/pip.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ Fixes #xyz

<!-- or this PR is one task of an issue -->

Master Issue: #xyz
Main Issue: #xyz

<!-- If the PR belongs to a PIP, please add the PIP link here -->

PIP: #xyz

<!-- Details of when a PIP is required and how the PIP process work, please see: https://github.com/apache/pulsar/blob/master/wiki/proposals/PIP.md -->
<!-- Details of when a PIP is required and how the PIP process work, please see: https://github.com/apache/pulsar/blob/master/pip/README.md -->

### Motivation

Expand Down
36 changes: 0 additions & 36 deletions .github/actions/gradle-enterprise/action.yml

This file was deleted.

7 changes: 4 additions & 3 deletions .github/changes-filter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
all:
- '**'
docs:
- 'site2/**'
- 'deployment/**'
- '.asf.yaml'
- '*.md'
- '**/*.md'
- '.asf.yaml'
- '.github/changes-filter.yaml'
- '.github/ISSUE_TEMPLATE/**'
- '.idea/**'
- 'deployment/**'
- 'wiki/**'
- 'pip/**'
tests:
- added|modified: '**/src/test/java/**/*.java'
need_owasp:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-go-functions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ concurrency:
cancel-in-progress: true

env:
MAVEN_OPTS: -Xss1500k -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3
MAVEN_OPTS: -Xss1500k -Xmx1024m -Daether.connector.http.reuseConnections=false -Daether.connector.requestTimeout=60000 -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3 -Dmaven.wagon.http.retryHandler.requestSentEnabled=true -Dmaven.wagon.http.serviceUnavailableRetryStrategy.class=standard -Dmaven.wagon.rto=60000

jobs:
preconditions:
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/ci-maven-cache-update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,14 @@ on:
- cron: '30 */12 * * *'

env:
MAVEN_OPTS: -Xss1500k -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3
MAVEN_OPTS: -Xss1500k -Xmx1024m -Daether.connector.http.reuseConnections=false -Daether.connector.requestTimeout=60000 -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3 -Dmaven.wagon.http.retryHandler.requestSentEnabled=true -Dmaven.wagon.http.serviceUnavailableRetryStrategy.class=standard -Dmaven.wagon.rto=60000

jobs:
update-maven-dependencies-cache:
name: Update Maven dependency cache for ${{ matrix.name }}
env:
JOB_NAME: Update Maven dependency cache for ${{ matrix.name }}
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
runs-on: ${{ matrix.runs-on }}
timeout-minutes: 45

Expand Down Expand Up @@ -77,11 +78,6 @@ jobs:
- name: Tune Runner VM
uses: ./.github/actions/tune-runner-vm

- name: Configure Gradle Enterprise
uses: ./.github/actions/gradle-enterprise
with:
token: ${{ secrets.GE_ACCESS_TOKEN }}

- name: Detect changed files
if: ${{ github.event_name != 'schedule' }}
id: changes
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/ci-owasp-dependency-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,23 @@ on:
workflow_dispatch:

env:
MAVEN_OPTS: -Xss1500k -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3
MAVEN_OPTS: -Xss1500k -Xmx1024m -Daether.connector.http.reuseConnections=false -Daether.connector.requestTimeout=60000 -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3 -Dmaven.wagon.http.retryHandler.requestSentEnabled=true -Dmaven.wagon.http.serviceUnavailableRetryStrategy.class=standard -Dmaven.wagon.rto=60000

jobs:
run-owasp-dependency-check:
if: ${{ github.repository == 'apache/pulsar' || github.event_name == 'workflow_dispatch' }}
name: Check ${{ matrix.branch }}
env:
JOB_NAME: Check ${{ matrix.branch }}
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
runs-on: ubuntu-20.04
timeout-minutes: 45
strategy:
fail-fast: false
matrix:
include:
- branch: master
- branch: branch-3.0
- branch: branch-2.11
- branch: branch-2.10
jdk: 11
Expand All @@ -56,12 +58,6 @@ jobs:
- name: Tune Runner VM
uses: ./.github/actions/tune-runner-vm

- name: Configure Gradle Enterprise
if: ${{ matrix.branch == 'master' }}
uses: ./.github/actions/gradle-enterprise
with:
token: ${{ secrets.GE_ACCESS_TOKEN }}

- name: Cache local Maven repository
uses: actions/cache@v3
timeout-minutes: 5
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/pulsar-ci-flaky.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ concurrency:
cancel-in-progress: true

env:
MAVEN_OPTS: -Xss1500k -Xmx1024m -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3
MAVEN_OPTS: -Xss1500k -Xmx1024m -Daether.connector.http.reuseConnections=false -Daether.connector.requestTimeout=60000 -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3 -Dmaven.wagon.http.retryHandler.requestSentEnabled=true -Dmaven.wagon.http.serviceUnavailableRetryStrategy.class=standard -Dmaven.wagon.rto=60000
# defines the retention period for the intermediate build artifacts needed for rerunning a failed build job
# it's possible to rerun individual failed jobs when the build artifacts are available
# if the artifacts have already been expired, the complete workflow can be rerun by closing and reopening the PR or by rebasing the PR
Expand Down Expand Up @@ -94,6 +94,7 @@ jobs:
env:
JOB_NAME: Flaky tests suite
COLLECT_COVERAGE: "${{ needs.preconditions.outputs.collect_coverage }}"
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
runs-on: ubuntu-20.04
timeout-minutes: 100
if: ${{ needs.preconditions.outputs.docs_only != 'true' }}
Expand All @@ -104,11 +105,6 @@ jobs:
- name: Tune Runner VM
uses: ./.github/actions/tune-runner-vm

- name: Configure Gradle Enterprise
uses: ./.github/actions/gradle-enterprise
with:
token: ${{ secrets.GE_ACCESS_TOKEN }}

- name: Setup ssh access to build runner VM
# ssh access is enabled for builds in own forks
if: ${{ github.repository != 'apache/pulsar' && github.event_name == 'pull_request' }}
Expand Down
Loading

0 comments on commit 89aacef

Please sign in to comment.