mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-02 03:37:46 +08:00
Merge pull request #1187 from yangkaa/ci
chore: modify ci and documents
This commit is contained in:
commit
2cd1f0118d
15
.github/workflows/commit-ci-build.yml
vendored
15
.github/workflows/commit-ci-build.yml
vendored
@ -2,7 +2,7 @@ name: commit-ci-build
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [master, V5.3, V5.4]
|
branches: [main, V5.*, fixbug*, Develop*]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -14,12 +14,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
# The Go version to download (if necessary) and use. Supports semver spec and ranges.
|
# The Go version to download (if necessary) and use. Supports semver spec and ranges.
|
||||||
go-version: 1.13
|
go-version: 1.13
|
||||||
- name: SonarQube Scan
|
|
||||||
uses: kitabisa/sonarqube-action@v1.1.0
|
# - name: SonarQube Scan
|
||||||
with:
|
# uses: kitabisa/sonarqube-action@v1.1.0
|
||||||
host: ${{ secrets.SONARQUBE_HOST }}
|
# with:
|
||||||
login: ${{ secrets.SONARQUBE_TOKEN }}
|
# host: ${{ secrets.SONARQUBE_HOST }}
|
||||||
projectName: rainbond
|
# login: ${{ secrets.SONARQUBE_TOKEN }}
|
||||||
|
# projectName: rainbond
|
||||||
|
|
||||||
- name: Extract branch name
|
- name: Extract branch name
|
||||||
shell: bash
|
shell: bash
|
||||||
|
31
.github/workflows/commit-message-checker.yml
vendored
Normal file
31
.github/workflows/commit-message-checker.yml
vendored
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
name: 'Commit Message Check'
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
- edited
|
||||||
|
- reopened
|
||||||
|
- synchronize
|
||||||
|
push:
|
||||||
|
branches: [main, V5.*, fixbug*, Develop*]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check-commit-message:
|
||||||
|
name: Check Commit Message
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Check Commit Type
|
||||||
|
uses: gsactions/commit-message-checker@v1
|
||||||
|
with:
|
||||||
|
pattern: '^\s*(feat|fix|docs|style|refactor|test|ci|perf|revert|chore|to)(\(.+\))?\: .+'
|
||||||
|
flags: 'gm'
|
||||||
|
error: 'Your first line has to contain a commit type like "feat: xxx".'
|
||||||
|
- name: Check Line Length
|
||||||
|
uses: gsactions/commit-message-checker@v1
|
||||||
|
with:
|
||||||
|
pattern: '^.{1,72}$'
|
||||||
|
error: 'The maximum line length of 72 characters is exceeded.'
|
||||||
|
excludeDescription: 'true' # optional: this excludes the description body of a pull request
|
||||||
|
excludeTitle: 'true' # optional: this excludes the title of a pull request
|
||||||
|
checkAllCommitMessages: 'true' # optional: this checks all commits associated with a pull request
|
||||||
|
accessToken: ${{ secrets.CHECK_TOKEN }} # github access token is only required if checkAllCommitMessages is true
|
2
.github/workflows/pr-ci-build.yml
vendored
2
.github/workflows/pr-ci-build.yml
vendored
@ -2,7 +2,7 @@ name: pr-ci-build
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [master, V5.3, V5.4, fixbug-560]
|
types: [opened, edited, synchronize, labeled, unlabeled]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -51,6 +51,9 @@ registry.cn-hangzhou.aliyuncs.com/goodrain/rainbond:v5.6.0-dind-allinone \
|
|||||||
&& docker logs -f rainbond-allinone
|
&& docker logs -f rainbond-allinone
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Online experience
|
||||||
|
|
||||||
|
You can access the [trial environment](http://demo.c9f961.grapps.cn/) online experience platform function. Due to limited resources, you only have view permission. If you need to experience more functions, please deploy it yourself.
|
||||||
|
|
||||||
## Quick start
|
## Quick start
|
||||||
|
|
||||||
@ -61,6 +64,8 @@ registry.cn-hangzhou.aliyuncs.com/goodrain/rainbond:v5.6.0-dind-allinone \
|
|||||||
|
|
||||||
1. [Rainbond Installation series collection](https://www.bilibili.com/video/BV1Vq4y1w7FQ?spm_id_from=333.999.0.0)
|
1. [Rainbond Installation series collection](https://www.bilibili.com/video/BV1Vq4y1w7FQ?spm_id_from=333.999.0.0)
|
||||||
2. [Rainbond Introductory tutorial](https://www.bilibili.com/video/BV1ou411B7ix?spm_id_from=333.999.0.0)
|
2. [Rainbond Introductory tutorial](https://www.bilibili.com/video/BV1ou411B7ix?spm_id_from=333.999.0.0)
|
||||||
|
3. [Rainbond Realize integrated development environment](https://www.bilibili.com/video/BV1vS4y1w7ps)
|
||||||
|
4. [Rainbond Realize unified management of enterprise applications](https://www.bilibili.com/video/BV1rB4y197X4)
|
||||||
|
|
||||||
## Participating communities
|
## Participating communities
|
||||||
|
|
||||||
|
@ -52,6 +52,9 @@ registry.cn-hangzhou.aliyuncs.com/goodrain/rainbond:v5.6.0-dind-allinone \
|
|||||||
&& docker logs -f rainbond-allinone
|
&& docker logs -f rainbond-allinone
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## 在线体验
|
||||||
|
|
||||||
|
您可访问[试用环境](http://demo.c9f961.grapps.cn/)在线体验平台功能。由于资源有限,您仅有查看权限。如需体验更多功能,请自行部署尝试。
|
||||||
|
|
||||||
## 快速开始
|
## 快速开始
|
||||||
|
|
||||||
@ -61,6 +64,8 @@ registry.cn-hangzhou.aliyuncs.com/goodrain/rainbond:v5.6.0-dind-allinone \
|
|||||||
## 视频教程
|
## 视频教程
|
||||||
1. [Rainbond 安装系列合集](https://www.bilibili.com/video/BV1Vq4y1w7FQ?spm_id_from=333.999.0.0)
|
1. [Rainbond 安装系列合集](https://www.bilibili.com/video/BV1Vq4y1w7FQ?spm_id_from=333.999.0.0)
|
||||||
2. [Rainbond 入门教程](https://www.bilibili.com/video/BV1ou411B7ix?spm_id_from=333.999.0.0)
|
2. [Rainbond 入门教程](https://www.bilibili.com/video/BV1ou411B7ix?spm_id_from=333.999.0.0)
|
||||||
|
3. [Rainbond 实现一体化开发环境](https://www.bilibili.com/video/BV1vS4y1w7ps)
|
||||||
|
4. [Rainbond 实现企业应用统一管理](https://www.bilibili.com/video/BV1rB4y197X4)
|
||||||
|
|
||||||
## 参与社区
|
## 参与社区
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user