From d3f7caaa25d2d7cc8460597826bec7dd9e53edcd Mon Sep 17 00:00:00 2001 From: Sijie Guo Date: Tue, 4 Feb 2020 17:23:01 -0800 Subject: [PATCH] Add .asf.yaml for configuring the github project (#6217) *Motivation* ASF Infra provides `.asf.yaml` to control features for a given github repo https://cwiki.apache.org/confluence/display/INFRA/.asf.yaml+features+for+git+repositories --- .asf.yaml | 42 +++++++++++++++++++ .github/workflows/ci-cpp.yaml | 2 +- .github/workflows/ci-go-functions-style.yaml | 2 +- .github/workflows/ci-go-functions-test.yaml | 2 +- ...i-integration-backwards-compatibility.yaml | 2 +- .github/workflows/ci-integration-cli.yaml | 2 +- .../ci-integration-function-state.yaml | 2 +- .../workflows/ci-integration-messaging.yaml | 2 +- .github/workflows/ci-integration-process.yaml | 2 +- .github/workflows/ci-integration-schema.yaml | 2 +- .github/workflows/ci-integration-sql.yaml | 2 +- .../workflows/ci-integration-standalone.yaml | 2 +- .github/workflows/ci-integration-thread.yaml | 2 +- .../ci-integration-tiered-filesystem.yaml | 2 +- .../ci-integration-tiered-jcloud.yaml | 2 +- .github/workflows/ci-license.yaml | 2 +- .github/workflows/ci-unit-adaptors.yml | 2 +- .github/workflows/ci-unit-broker-sasl.yml | 2 +- .github/workflows/ci-unit-broker.yml | 2 +- .github/workflows/ci-unit-flaky.yaml | 2 +- .github/workflows/ci-unit-proxy.yaml | 2 +- .github/workflows/ci-unit.yaml | 2 +- 22 files changed, 63 insertions(+), 21 deletions(-) create mode 100644 .asf.yaml diff --git a/.asf.yaml b/.asf.yaml new file mode 100644 index 0000000000000..e261c74cccd73 --- /dev/null +++ b/.asf.yaml @@ -0,0 +1,42 @@ +# +# 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 \ No newline at end of file diff --git a/.github/workflows/ci-cpp.yaml b/.github/workflows/ci-cpp.yaml index 3badb036f7e02..6507d1a3cedaa 100644 --- a/.github/workflows/ci-cpp.yaml +++ b/.github/workflows/ci-cpp.yaml @@ -40,7 +40,7 @@ jobs: # TODO: move this action to an apache repo uses: sijie/pulsar-github-actions/diff-only@master with: - args: site2 .github deployment + args: site2 .github deployment .asf.yaml - name: Set up JDK 1.8 uses: actions/setup-java@v1 diff --git a/.github/workflows/ci-go-functions-style.yaml b/.github/workflows/ci-go-functions-style.yaml index 6502c3ffba9d2..2ba0393e8117e 100644 --- a/.github/workflows/ci-go-functions-style.yaml +++ b/.github/workflows/ci-go-functions-style.yaml @@ -39,7 +39,7 @@ jobs: # TODO: move this action to an apache repo uses: sijie/pulsar-github-actions/diff-only@master with: - args: site2 .github deployment + args: site2 .github deployment .asf.yaml - name: Set up Go 1.12 uses: actions/setup-go@v1 diff --git a/.github/workflows/ci-go-functions-test.yaml b/.github/workflows/ci-go-functions-test.yaml index 58ec4ea836128..c8dd75871db38 100644 --- a/.github/workflows/ci-go-functions-test.yaml +++ b/.github/workflows/ci-go-functions-test.yaml @@ -42,7 +42,7 @@ jobs: # TODO: move this action to an apache repo uses: sijie/pulsar-github-actions/diff-only@master with: - args: site2 .github deployment + args: site2 .github deployment .asf.yaml - name: Set up Go 1.12 uses: actions/setup-go@v1 diff --git a/.github/workflows/ci-integration-backwards-compatibility.yaml b/.github/workflows/ci-integration-backwards-compatibility.yaml index 0488801d4349b..0ee1974a50a55 100644 --- a/.github/workflows/ci-integration-backwards-compatibility.yaml +++ b/.github/workflows/ci-integration-backwards-compatibility.yaml @@ -39,7 +39,7 @@ jobs: # TODO: move this action to an apache repo uses: sijie/pulsar-github-actions/diff-only@master with: - args: site2 .github deployment + args: site2 .github deployment .asf.yaml - name: Set up JDK 1.8 if: steps.docs.outputs.changed_only == 'no' diff --git a/.github/workflows/ci-integration-cli.yaml b/.github/workflows/ci-integration-cli.yaml index 7acb87c70ddd9..2b5aac413c1ba 100644 --- a/.github/workflows/ci-integration-cli.yaml +++ b/.github/workflows/ci-integration-cli.yaml @@ -39,7 +39,7 @@ jobs: # TODO: move this action to an apache repo uses: sijie/pulsar-github-actions/diff-only@master with: - args: site2 .github deployment + args: site2 .github deployment .asf.yaml - name: Set up JDK 1.8 uses: actions/setup-java@v1 diff --git a/.github/workflows/ci-integration-function-state.yaml b/.github/workflows/ci-integration-function-state.yaml index 0343d2fadc29c..b368fa2271d46 100644 --- a/.github/workflows/ci-integration-function-state.yaml +++ b/.github/workflows/ci-integration-function-state.yaml @@ -39,7 +39,7 @@ jobs: # TODO: move this action to an apache repo uses: sijie/pulsar-github-actions/diff-only@master with: - args: site2 .github deployment + args: site2 .github deployment .asf.yaml - name: Set up JDK 1.8 uses: actions/setup-java@v1 diff --git a/.github/workflows/ci-integration-messaging.yaml b/.github/workflows/ci-integration-messaging.yaml index 38bdbb7424583..78bf16eb39c85 100644 --- a/.github/workflows/ci-integration-messaging.yaml +++ b/.github/workflows/ci-integration-messaging.yaml @@ -39,7 +39,7 @@ jobs: # TODO: move this action to an apache repo uses: sijie/pulsar-github-actions/diff-only@master with: - args: site2 .github deployment + args: site2 .github deployment .asf.yaml - name: Set up JDK 1.8 uses: actions/setup-java@v1 diff --git a/.github/workflows/ci-integration-process.yaml b/.github/workflows/ci-integration-process.yaml index 4510842905f32..32900c360fe20 100644 --- a/.github/workflows/ci-integration-process.yaml +++ b/.github/workflows/ci-integration-process.yaml @@ -39,7 +39,7 @@ jobs: # TODO: move this action to an apache repo uses: sijie/pulsar-github-actions/diff-only@master with: - args: site2 .github deployment + args: site2 .github deployment .asf.yaml - name: Set up JDK 1.8 uses: actions/setup-java@v1 diff --git a/.github/workflows/ci-integration-schema.yaml b/.github/workflows/ci-integration-schema.yaml index 4de36e1c50590..58b93d1b7d926 100644 --- a/.github/workflows/ci-integration-schema.yaml +++ b/.github/workflows/ci-integration-schema.yaml @@ -39,7 +39,7 @@ jobs: # TODO: move this action to an apache repo uses: sijie/pulsar-github-actions/diff-only@master with: - args: site2 .github deployment + args: site2 .github deployment .asf.yaml - name: Set up JDK 1.8 uses: actions/setup-java@v1 diff --git a/.github/workflows/ci-integration-sql.yaml b/.github/workflows/ci-integration-sql.yaml index e5320ad7abc09..348fb383c116e 100644 --- a/.github/workflows/ci-integration-sql.yaml +++ b/.github/workflows/ci-integration-sql.yaml @@ -39,7 +39,7 @@ jobs: # TODO: move this action to an apache repo uses: sijie/pulsar-github-actions/diff-only@master with: - args: site2 .github deployment + args: site2 .github deployment .asf.yaml - name: Set up JDK 1.8 uses: actions/setup-java@v1 diff --git a/.github/workflows/ci-integration-standalone.yaml b/.github/workflows/ci-integration-standalone.yaml index 424a0674a8b33..d6e581376451f 100644 --- a/.github/workflows/ci-integration-standalone.yaml +++ b/.github/workflows/ci-integration-standalone.yaml @@ -39,7 +39,7 @@ jobs: # TODO: move this action to an apache repo uses: sijie/pulsar-github-actions/diff-only@master with: - args: site2 .github deployment + args: site2 .github deployment .asf.yaml - name: Set up JDK 1.8 uses: actions/setup-java@v1 diff --git a/.github/workflows/ci-integration-thread.yaml b/.github/workflows/ci-integration-thread.yaml index c30eaf3d8151d..5050f943f85ec 100644 --- a/.github/workflows/ci-integration-thread.yaml +++ b/.github/workflows/ci-integration-thread.yaml @@ -39,7 +39,7 @@ jobs: # TODO: move this action to an apache repo uses: sijie/pulsar-github-actions/diff-only@master with: - args: site2 .github deployment + args: site2 .github deployment .asf.yaml - name: Set up JDK 1.8 uses: actions/setup-java@v1 diff --git a/.github/workflows/ci-integration-tiered-filesystem.yaml b/.github/workflows/ci-integration-tiered-filesystem.yaml index d595f45ae7ef3..ac05434c84223 100644 --- a/.github/workflows/ci-integration-tiered-filesystem.yaml +++ b/.github/workflows/ci-integration-tiered-filesystem.yaml @@ -39,7 +39,7 @@ jobs: # TODO: move this action to an apache repo uses: sijie/pulsar-github-actions/diff-only@master with: - args: site2 .github deployment + args: site2 .github deployment .asf.yaml - name: Set up JDK 1.8 uses: actions/setup-java@v1 diff --git a/.github/workflows/ci-integration-tiered-jcloud.yaml b/.github/workflows/ci-integration-tiered-jcloud.yaml index 51142adefbfaa..f32770d191b36 100644 --- a/.github/workflows/ci-integration-tiered-jcloud.yaml +++ b/.github/workflows/ci-integration-tiered-jcloud.yaml @@ -39,7 +39,7 @@ jobs: # TODO: move this action to an apache repo uses: sijie/pulsar-github-actions/diff-only@master with: - args: site2 .github deployment + args: site2 .github deployment .asf.yaml - name: Set up JDK 1.8 uses: actions/setup-java@v1 diff --git a/.github/workflows/ci-license.yaml b/.github/workflows/ci-license.yaml index 22251c4fedce7..8084afff4467f 100644 --- a/.github/workflows/ci-license.yaml +++ b/.github/workflows/ci-license.yaml @@ -39,7 +39,7 @@ jobs: # TODO: move this action to an apache repo uses: sijie/pulsar-github-actions/diff-only@master with: - args: site2 .github deployment + args: site2 .github deployment .asf.yaml - name: Set up JDK 1.8 uses: actions/setup-java@v1 diff --git a/.github/workflows/ci-unit-adaptors.yml b/.github/workflows/ci-unit-adaptors.yml index c414d6e8e17ff..9999c17818be5 100644 --- a/.github/workflows/ci-unit-adaptors.yml +++ b/.github/workflows/ci-unit-adaptors.yml @@ -39,7 +39,7 @@ jobs: # TODO: move this action to an apache repo uses: sijie/pulsar-github-actions/diff-only@master with: - args: site2 .github deployment + args: site2 .github deployment .asf.yaml - name: Set up JDK 1.8 uses: actions/setup-java@v1 diff --git a/.github/workflows/ci-unit-broker-sasl.yml b/.github/workflows/ci-unit-broker-sasl.yml index a03ca8517cadc..c2a976e03003b 100644 --- a/.github/workflows/ci-unit-broker-sasl.yml +++ b/.github/workflows/ci-unit-broker-sasl.yml @@ -39,7 +39,7 @@ jobs: # TODO: move this action to an apache repo uses: sijie/pulsar-github-actions/diff-only@master with: - args: site2 .github deployment + args: site2 .github deployment .asf.yaml - name: Set up JDK 1.8 uses: actions/setup-java@v1 diff --git a/.github/workflows/ci-unit-broker.yml b/.github/workflows/ci-unit-broker.yml index 1711c28f74f9c..361dde5456566 100644 --- a/.github/workflows/ci-unit-broker.yml +++ b/.github/workflows/ci-unit-broker.yml @@ -39,7 +39,7 @@ jobs: # TODO: move this action to an apache repo uses: sijie/pulsar-github-actions/diff-only@master with: - args: site2 .github deployment + args: site2 .github deployment .asf.yaml - name: Set up JDK 1.8 uses: actions/setup-java@v1 diff --git a/.github/workflows/ci-unit-flaky.yaml b/.github/workflows/ci-unit-flaky.yaml index 41f68e2b12f39..ca08756fc753c 100644 --- a/.github/workflows/ci-unit-flaky.yaml +++ b/.github/workflows/ci-unit-flaky.yaml @@ -39,7 +39,7 @@ jobs: # TODO: move this action to an apache repo uses: sijie/pulsar-github-actions/diff-only@master with: - args: site2 .github deployment + args: site2 .github deployment .asf.yaml - name: Set up JDK 1.8 uses: actions/setup-java@v1 diff --git a/.github/workflows/ci-unit-proxy.yaml b/.github/workflows/ci-unit-proxy.yaml index 98d325c57a71f..4f36224e991a4 100644 --- a/.github/workflows/ci-unit-proxy.yaml +++ b/.github/workflows/ci-unit-proxy.yaml @@ -39,7 +39,7 @@ jobs: # TODO: move this action to an apache repo uses: sijie/pulsar-github-actions/diff-only@master with: - args: site2 .github deployment + args: site2 .github deployment .asf.yaml - name: Set up JDK 1.8 uses: actions/setup-java@v1 diff --git a/.github/workflows/ci-unit.yaml b/.github/workflows/ci-unit.yaml index 225a717781f26..e154ec813fbd2 100644 --- a/.github/workflows/ci-unit.yaml +++ b/.github/workflows/ci-unit.yaml @@ -39,7 +39,7 @@ jobs: # TODO: move this action to an apache repo uses: sijie/pulsar-github-actions/diff-only@master with: - args: site2 .github deployment + args: site2 .github deployment .asf.yaml - name: Set up JDK 1.8 uses: actions/setup-java@v1