mirror of
https://github.com/apache/dubbo.git
synced 2024-10-23 07:04:37 +08:00
Migrate Github Rule Profile (#8090)
* move pr template * move travis properties * add .asf.yaml * upgrade version * change travis branch
This commit is contained in:
parent
15232b0557
commit
4a5ec3e554
41
.asf.yaml
Normal file
41
.asf.yaml
Normal file
@ -0,0 +1,41 @@
|
||||
#
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
#
|
||||
|
||||
notifications:
|
||||
commits: commits@dubbo.apache.org
|
||||
issues: notifications@dubbo.apache.org
|
||||
pullrequests: notifications@dubbo.apache.org
|
||||
jira_options: link label link label
|
||||
|
||||
github:
|
||||
homepage: https://dubbo.apache.org/
|
||||
features:
|
||||
# Enable wiki for documentation
|
||||
wiki: true
|
||||
# Enable issue management
|
||||
issues: true
|
||||
# Enable projects for project management boards
|
||||
projects: true
|
||||
protected_branches:
|
||||
master:
|
||||
# only disable force push
|
||||
foo: bar
|
||||
3.0:
|
||||
# only disable force push
|
||||
foo: bar
|
30
.travis.yml
Normal file
30
.travis.yml
Normal file
@ -0,0 +1,30 @@
|
||||
sudo: false # faster builds
|
||||
os: linux
|
||||
dist: focal
|
||||
arch: arm64-graviton2
|
||||
virt: lxd
|
||||
group: edge
|
||||
|
||||
language: java
|
||||
jdk: openjdk11
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/.m2
|
||||
|
||||
install: true
|
||||
|
||||
branches:
|
||||
only:
|
||||
- '3.0'
|
||||
|
||||
before_script:
|
||||
- rm -rf $HOME/.m2/repository/org/glassfish/javax.el/3.0.1-b08
|
||||
|
||||
script: if [[ "${TRAVIS_EVENT_TYPE}" == "cron" ]]; then travis_wait 60 ./mvnw --batch-mode -U -e --no-transfer-progress clean test -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=5 -DskipTests=false -DskipIntegrationTests=false -Dcheckstyle.skip=false -Drat.skip=false -Dmaven.javadoc.skip=true; fi
|
||||
|
||||
after_success:
|
||||
- bash <(curl -s https://codecov.io/bash)
|
||||
|
||||
after_failure:
|
||||
- echo "build failed!"
|
@ -10,9 +10,12 @@
|
||||
|
||||
<!-- Follow this checklist to help us incorporate your contribution quickly and easily: -->
|
||||
|
||||
## Checklist
|
||||
- [x] Make sure there is a [GitHub_issue](https://github.com/apache/dubbo/issues) field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
|
||||
- [ ] Format the pull request title like `[Dubbo-XXX] Fix UnknownException when host config not exist #XXX`. Each commit in the pull request should have a meaningful subject line and body.
|
||||
- [ ] Each commit in the pull request should have a meaningful subject line and body.
|
||||
- [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
|
||||
- [ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
|
||||
- [ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in [dubbo samples](https://github.com/apache/dubbo-samples) project.
|
||||
- [ ] Run `mvn clean install -DskipTests=false` & `mvn clean test-compile failsafe:integration-test` to make sure unit-test and integration-test pass.
|
||||
- [ ] Add some description to [dubbo-website](https://github.com/apache/dubbo-website) project if you are requesting to add a feature.
|
||||
- [ ] GitHub Actions works fine on your own branch.
|
||||
- [ ] If this contribution is large, please follow the [Software Donation Guide](https://github.com/apache/dubbo/wiki/Software-donation-guide).
|
||||
|
@ -1,5 +1,6 @@
|
||||
# Apache Dubbo Project
|
||||
|
||||
[![Build Status](https://github.com/apache/dubbo/workflows/Build%20and%20Test%20For%20Dubbo%203/badge.svg?branch=3.0)](https://github.com/apache/dubbo/actions/workflows/build-and-test-3.yml?query=branch%3A3.0)
|
||||
[![Build Status](https://travis-ci.com/apache/dubbo.svg?branch=master)](https://travis-ci.com/apache/dubbo)
|
||||
[![Codecov](https://codecov.io/gh/apache/dubbo/branch/master/graph/badge.svg)](https://codecov.io/gh/apache/dubbo)
|
||||
![Maven](https://img.shields.io/maven-central/v/org.apache.dubbo/dubbo.svg)
|
||||
@ -42,7 +43,7 @@ There's a [README](https://github.com/apache/dubbo-samples/tree/master/dubbo-sam
|
||||
|
||||
```xml
|
||||
<properties>
|
||||
<dubbo.version>2.7.8</dubbo.version>
|
||||
<dubbo.version>3.0.0</dubbo.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -6,6 +6,7 @@ Below is a table that shows versions that we accept security fixes.
|
||||
|
||||
| Version | Supported |
|
||||
| ------- | ------------------ |
|
||||
| 3.0.x | :white_check_mark: |
|
||||
| 2.7.x | :white_check_mark: |
|
||||
| 2.6.x | :white_check_mark: |
|
||||
| 2.5.x | :x: |
|
||||
|
Loading…
Reference in New Issue
Block a user