69 Star 257 Fork 181

wl4g / dopaas

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 1.65 KB
一键复制 编辑 原始数据 按行查看 历史
wanglsir 提交于 2021-03-18 10:59 . fix: restructs

UCI (Unified Continuous Integration Service)

Continuous integration and continuous build delivery

中文文档

Quick start

Source code compilation

cd xcloud-dopaas-ci
mvn clean install -DskipTests 

configuration

configuration file

config on application-test.yml

  • git-username is the account to log in to Git
  • git-password is the password to log on to Git
  • cipher-key is used to encrypt and decrypt private keys
# Deploy git configuration.
deploy:
  git-username: heweijie
  git-password: hwj13535248668
  cipher-key: 03DE18C2FC4E605F

database

The database is in "dopaas"

  • app_group app_group
  • instance instance
  • project project
  • trigger trigger
  • trigger_detail trigger_detail

Start

Start as a spring boot project sc ci start

Console

start Console

sc ci shell

Console command

  • Find instance ID
list -a <appName> -e <environment> -r<regular expression>
  • deploy
deploy -a appName -I instanceId -b branchName
Instance IDS can be multiple, partitioned with ",".
For Examole:
deploy -a datachecker -I 64 -b master
  • Support Ctrl+C forced exit in process

Hook configuration

  • Go to the database first and match the necessary configurations
  • Modify the configuration to gitlab
Setting to the corresponding project - > Integrations
Set the URL: for example: http://localhost:8080/ci/hook
Check Push events
Click Add webhook to save

gitlab01

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/wl4g/dopaas.git
git@gitee.com:wl4g/dopaas.git
wl4g
dopaas
dopaas
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891