chore(project): 添加项目配置文件和忽略规则
- 添加 Babel 配置文件支持 ES6+ 语法转换 - 添加 ESLint 忽略规则和配置文件 - 添加 Git 忽略规则文件 - 添加 Travis CI 配置文件 - 添加 1.4.2 版本变更日志文件 - 添加 Helm 图表辅助模板文件 - 添加 Helm 忽略规则文件
This commit is contained in:
38
.github/ISSUE_TEMPLATE/BUG_REPORT.md
vendored
Normal file
38
.github/ISSUE_TEMPLATE/BUG_REPORT.md
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
---
|
||||
name: Bug Report
|
||||
about: If you would like to report a issue to Seata, please use this template.
|
||||
|
||||
|
||||
---
|
||||
|
||||
- [ ] I have searched the [issues](https://github.com/seata/seata/issues) of this repository and believe that this is not a duplicate.
|
||||
|
||||
### Ⅰ. Issue Description
|
||||
|
||||
|
||||
### Ⅱ. Describe what happened
|
||||
|
||||
If there is an exception, please attach the exception trace:
|
||||
|
||||
```
|
||||
Just paste your stack trace here!
|
||||
```
|
||||
|
||||
|
||||
### Ⅲ. Describe what you expected to happen
|
||||
|
||||
|
||||
### Ⅳ. How to reproduce it (as minimally and precisely as possible)
|
||||
|
||||
1. xxx
|
||||
2. xxx
|
||||
3. xxx
|
||||
|
||||
### Ⅴ. Anything else we need to know?
|
||||
|
||||
|
||||
### Ⅵ. Environment:
|
||||
|
||||
- JDK version :
|
||||
- OS :
|
||||
- Others:
|
||||
16
.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md
vendored
Normal file
16
.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
name: Feature Request
|
||||
about: Suggest an idea for Seata
|
||||
|
||||
---
|
||||
|
||||
## Why you need it?
|
||||
Is your feature request related to a problem? Please describe in details
|
||||
|
||||
|
||||
## How it could be?
|
||||
A clear and concise description of what you want to happen. You can explain more about input of the feature, and output of it.
|
||||
|
||||
|
||||
## Other related information
|
||||
Add any other context or screenshots about the feature request here.
|
||||
17
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
17
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
<!-- Please make sure you have read and understood the contributing guidelines -->
|
||||
|
||||
### Ⅰ. Describe what this PR did
|
||||
|
||||
|
||||
### Ⅱ. Does this pull request fix one issue?
|
||||
<!-- If that, add "fixes #xxx" below in the next line, for example, fixes #97. -->
|
||||
|
||||
|
||||
### Ⅲ. Why don't you add test cases (unit test/integration test)?
|
||||
|
||||
|
||||
### Ⅳ. Describe how to verify it
|
||||
|
||||
|
||||
### Ⅴ. Special notes for reviews
|
||||
|
||||
41
.github/workflows/build.yml
vendored
Normal file
41
.github/workflows/build.yml
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
name: build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ develop,master ]
|
||||
pull_request:
|
||||
branches: [ develop,master ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
java: [8, 11]
|
||||
os: [ ubuntu-18.04 ]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up JDK
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: ${{ matrix.java }}
|
||||
- name: Set up ENV
|
||||
# https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-commands-for-github-actions#setting-an-environment-variable
|
||||
run: if [ "${{ matrix.java }}" == "8" ]; then
|
||||
echo "IMAGE_NAME=openjdk:8u212-jre-alpine" >> $GITHUB_ENV;
|
||||
elif [ "${{ matrix.java }}" == "11" ]; then
|
||||
echo "IMAGE_NAME=openjdk:11-jre-stretch" >> $GITHUB_ENV;
|
||||
fi
|
||||
- name: Build with Maven
|
||||
env:
|
||||
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
|
||||
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
# https://docs.github.com/cn/free-pro-team@latest/actions/reference/context-and-expression-syntax-for-github-actions#github-context
|
||||
run: if [ "${{github.event_name}}" == "push" ] && [ "${{github.ref}}" == "refs/heads/develop" ]; then
|
||||
./mvnw clean install -DskipTests=false -Dcheckstyle.skip=false -Dlicense.skip=false -P image -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn;
|
||||
else
|
||||
./mvnw clean install -DskipTests=false -Dcheckstyle.skip=false -Dlicense.skip=false -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn;
|
||||
fi
|
||||
- name: Codecov
|
||||
uses: codecov/codecov-action@v1
|
||||
Reference in New Issue
Block a user