Merge pull request #1174 from ZhangSetSail/package_rainbond

package_rainbond
This commit is contained in:
yangkaa 2022-04-28 17:22:37 +08:00 committed by GitHub
commit 3f9db3eb3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 381 additions and 168 deletions

View File

@ -0,0 +1,214 @@
name: Scheduled automatic packaging
on:
repository_dispatch:
types:
- GitHub
- GitLab
jobs:
build-ui:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the Docker image
env:
BUILD_RBD_APP_UI: false
TRAVIS_PULL_REQUEST: false
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
IMAGE_NAMESPACE: ${{ secrets.IMAGE_NAMESPACE }}
VERSION: ${{ github.event.client_payload.version }}
run: |
if ${{ github.event.action }} == 'GitHub';then
git clone -b ${{ github.event.client_payload.branch }} ${{ github.event.client_payload.clone_url }}/rainbond-ui.git
else
git clone -b ${{ github.event.client_payload.branch }} ${{ github.event.client_payload.clone_url }}/rainbond-ui-cloud.git
fi
cd rainbond-ui
chmod +x ./build.sh
./build.sh
build-rainbond-allinone:
needs: build-ui
runs-on: ubuntu-18.04
steps:
- name: Set up Python 3.6
uses: actions/setup-python@v2
with:
python-version: 3.6
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 yapf==0.26.0
- name: Pull code and Build allinone image
env:
VERSION: ${{ github.event.client_payload.version }}
TRAVIS_PULL_REQUEST: false
DOMESTIC_NAMESPACE: ${{ secrets.DOMESTIC_NAMESPACE }}
DOMESTIC_DOCKER_PASSWORD: ${{ secrets.DOMESTIC_DOCKER_PASSWORD }}
DOMESTIC_DOCKER_USERNAME: ${{ secrets.DOMESTIC_DOCKER_USERNAME }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
IMAGE_NAMESPACE: ${{ secrets.IMAGE_NAMESPACE }}
DOMESTIC_BASE_NAME: ${{ secrets.DOMESTIC_BASE_NAME }}
run: |
if ${{ github.event.action }} == 'GitHub';then
git clone -b ${{ github.event.client_payload.branch }} ${{ github.event.client_payload.clone_url }}/rainbond-console.git
else
git clone -b ${{ github.event.client_payload.branch }} ${{ github.event.client_payload.clone_url }}/rainbond-console-cloud.git
fi
cd rainbond-console
chmod +x ./release.sh
./release.sh allinone
build-rainbond-region:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Setup Go environment
uses: actions/setup-go@v2.1.3
with:
# The Go version to download (if necessary) and use. Supports semver spec and ranges.
go-version: 1.13
- name: Pull code and Build the Docker image
env:
VERSION: ${{ github.event.client_payload.version }}
DISABLE_GOPROXY: true
DOMESTIC_BASE_NAME: ${{ secrets.DOMESTIC_BASE_NAME }}
IMAGE_NAMESPACE: ${{ secrets.IMAGE_NAMESPACE }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
DOMESTIC_DOCKER_PASSWORD: ${{ secrets.DOMESTIC_DOCKER_PASSWORD }}
DOMESTIC_DOCKER_USERNAME: ${{ secrets.DOMESTIC_DOCKER_USERNAME }}
DOMESTIC_NAMESPACE: ${{ secrets.DOMESTIC_NAMESPACE }}
run: |
if ${{ github.event.action }} == 'GitHub';then
git clone -b ${{ github.event.client_payload.branch }} ${{ github.event.client_payload.clone_url }}/rainbond.git
else
git clone -b ${{ github.event.client_payload.branch }} ${{ github.event.client_payload.clone_url }}/rainbond.git
fi
cd rainbond
chmod +x ./release.sh
./release.sh all push
build-operator:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Go environment
uses: actions/setup-go@v2.1.3
with:
# The Go version to download (if necessary) and use. Supports semver spec and ranges.
go-version: 1.15
- name: install-golint
run: go get -u golang.org/x/lint/golint
- name: Build and push
env:
IMAGE_NAMESPACE: ${{ secrets.IMAGE_NAMESPACE }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
DOMESTIC_DOCKER_PASSWORD: ${{ secrets.DOMESTIC_DOCKER_PASSWORD }}
DOMESTIC_DOCKER_USERNAME: ${{ secrets.DOMESTIC_DOCKER_USERNAME }}
DOMESTIC_BASE_NAME: ${{ secrets.DOMESTIC_BASE_NAME }}
DOMESTIC_NAMESPACE: ${{ secrets.DOMESTIC_NAMESPACE }}
VERSION: ${{ github.event.client_payload.version }}
run: |
git clone -b release-2.1 ${{ github.event.client_payload.clone_url }}/rainbond-operator.git
cd rainbond-operator
chmod +x ./release.sh
./release.sh
build-offline:
needs: [build-rainbond-allinone,build-rainbond-region,build-operator]
runs-on: ubuntu-18.04
steps:
- name: Pack offline packages
env:
IMAGE_NAMESPACE: ${{ secrets.IMAGE_NAMESPACE }}
RBD_VER: ${{ github.event.client_payload.version }}
TRAVIS_PULL_REQUEST: false
DOMESTIC_NAMESPACE: ${{ secrets.DOMESTIC_NAMESPACE }}
DOMESTIC_DOCKER_PASSWORD: ${{ secrets.DOMESTIC_DOCKER_PASSWORD }}
DOMESTIC_DOCKER_USERNAME: ${{ secrets.DOMESTIC_DOCKER_USERNAME }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
DOMESTIC_BASE_NAME: ${{ secrets.DOMESTIC_BASE_NAME }}
run: |
wget https://rainbond-script.oss-cn-hangzhou.aliyuncs.com/enterprise_offline_package.sh
chmod +x ./enterprise_offline_package.sh
./enterprise_offline_package.sh
- name: Setup aliyun oss
uses: manyuanrong/setup-ossutil@master
with:
endpoint: oss-cn-shanghai.aliyuncs.com
access-key-id: ${{ secrets.OSS_ACCESS_KEY_ID }}
access-key-secret: ${{ secrets.OSS_ACCESS_KEY_SECRET }}
- name: Push to OSS
run: ossutil cp -rf rainbond-offline-*.tgz oss://rainbond-pkg/offline/5.X/
build-dind:
needs: [build-ui,build-rainbond-region,build-operator]
runs-on: ubuntu-18.04
if: ${{ github.event.action }} == 'GitHub'
steps:
- name: Set up Python 3.6
uses: actions/setup-python@v2
with:
python-version: 3.6
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 yapf==0.26.0
- name: Pack offline packages
env:
IMAGE_NAMESPACE: ${{ secrets.IMAGE_NAMESPACE }}
RBD_VER: ${{ github.event.client_payload.version }}
TRAVIS_PULL_REQUEST: false
DOMESTIC_NAMESPACE: ${{ secrets.DOMESTIC_NAMESPACE }}
DOMESTIC_BASE_NAME: ${{ secrets.DOMESTIC_BASE_NAME }}
run: |
git clone -b ${{ github.event.client_payload.branch }} ${{ github.event.client_payload.clone_url }}/rainbond-console.git
cd rainbond-console
chmod +x ./build_dind_package.sh
./build_dind_package.sh
- name: Setup aliyun oss
uses: manyuanrong/setup-ossutil@master
with:
endpoint: oss-cn-shanghai.aliyuncs.com
access-key-id: ${{ secrets.OSS_ACCESS_KEY_ID }}
access-key-secret: ${{ secrets.OSS_ACCESS_KEY_SECRET }}
- name: Push to OSS
run: |
cd rainbond-console
ossutil cp -rf ./rainbond*.tar oss://rainbond-pkg/images-pkg/
- name: Pull code and Build allinone image
env:
VERSION: ${{ github.event.client_payload.version }}
TRAVIS_PULL_REQUEST: false
DOMESTIC_NAMESPACE: ${{ secrets.DOMESTIC_NAMESPACE }}
DOMESTIC_DOCKER_PASSWORD: ${{ secrets.DOMESTIC_DOCKER_PASSWORD }}
DOMESTIC_DOCKER_USERNAME: ${{ secrets.DOMESTIC_DOCKER_USERNAME }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
IMAGE_NAMESPACE: ${{ secrets.IMAGE_NAMESPACE }}
DOMESTIC_BASE_NAME: ${{ secrets.DOMESTIC_BASE_NAME }}
CLONE_URL: ${{ github.event.client_payload.clone_url }}
BRANCH: ${{ github.event.client_payload.branch }}
run: |
cd rainbond-console
chmod +x ./release.sh
./release.sh dind

100
README-en.md Normal file
View File

@ -0,0 +1,100 @@
<img src="https://grstatic.oss-cn-shanghai.aliyuncs.com/images/rainbond%20log_full.png" width="60%">
[![Rainbond](https://jaywcjlove.github.io/sb/lang/chinese.svg)](README.md)
[![GitHub stars](https://img.shields.io/github/stars/goodrain/rainbond.svg?style=flat-square)](https://github.com/goodrain/rainbond/stargazers)
![Rainbond version](https://img.shields.io/badge/version-v5.X-brightgreen.svg)
[![GoDoc](https://godoc.org/github.com/goodrain/rainbond?status.svg)](https://godoc.org/github.com/goodrain/rainbond)
[Website](http://www.rainbond.com?channel=github) • [Documentation](https://www.rainbond.com/docs?channel=github)
## What is Rainbond ?
Rainbond is a cloud native multi cloud application management platform, which is easy to use and does not need to understand containers, kubernetes and underlying complex technologies. It supports the management of multiple kubernetes clusters and the management of the whole life cycle of enterprise applications. The main functions include application development environment, application market, micro service architecture, application delivery, application operation and maintenance, application level multi cloud management, etc.
## Why Rainbond ?
Kubernetes serves as a system for managing containerized applications. It provides a basic mechanism for the deployment, maintenance and expansion of applications. However, when users transform their traditional applications to cloud native applications, they will encounter the following problems when using kubernetes:
- Container deployment of enterprise applications
- Kubernetes has a steep learning curve
- How can deployed applications be delivered and upgraded in other kubernetes environments
Rainbond follows **the design concept of application centered** and unifies the technologies related to containers, kubernetes and underlying infrastructure, so that users can focus on the business itself and avoid spending a lot of learning and management energy on technologies other than the business.
- Rainbond supports [one-step transformation of enterprise applications into cloud native applications](https://www.rainbond.com/docs/#2%E4%B8%80%E6%AD%A5%E5%B0%86%E4%BC%A0%E7%BB%9F%E5%BA%94%E7%94%A8%E5%8F%98%E6%88%90%E4%BA%91%E5%8E%9F%E7%94%9F%E5%BA%94%E7%94%A8)
- Rainbond does not need to know about kubernetes, and can [quickly install kubernetes through the web interface](https://www.rainbond.com/docs/quick-start/quick-install#%E5%9F%BA%E4%BA%8E-web-%E7%95%8C%E9%9D%A2%E5%AE%89%E8%A3%85), supporting the management of multiple kubernetes clusters
- Rainbond supports multi cloud delivery, private delivery, SaaS delivery, offline delivery, personalized delivery, application market, etc., and realizes the automation of various delivery processes. Refer to the article one click [installation and upgrade of enterprise applications](https://mp.weixin.qq.com/s/2chigbtp8TzPdvJM4o7sOw)
## Rainbond function and architecture
![Rainbond-Arch](https://grstatic.oss-cn-shanghai.aliyuncs.com/case/2022/03/17/16474283190784.jpg)
Rainbond manages enterprise applications based on public cloud, private cloud and self built kubernetes, and supports [application level multi cloud management](https://www.rainbond.com/docs/#%E5%BA%94%E7%94%A8%E7%BA%A7%E5%A4%9A%E4%BA%91%E7%AE%A1%E7%90%86).
Rainbond Support [application lifecycle management](https://www.rainbond.com/docs/#%E5%BA%94%E7%94%A8%E5%85%A8%E7%94%9F%E5%91%BD%E5%91%A8%E6%9C%9F%E7%AE%A1%E7%90%86), that is, one-stop connection of development, architecture, delivery and operation and maintenance.
Components in Rainbond are independent, reusable, extensible and integrated units that support different granularity and version management. Components can be reused in different application scenarios. Components themselves can be upgraded iteratively. The accumulated components are stored in the component library, realizing [the accumulation and reuse of enterprise digital capabilities](https://www.rainbond.com/docs/#3%E5%AE%9E%E7%8E%B0%E6%95%B0%E5%AD%97%E5%8C%96%E8%83%BD%E5%8A%9B%E7%A7%AF%E7%B4%AF%E5%92%8C%E5%A4%8D%E7%94%A8).
## Installation
Rainbond supports multiple installation methods. You can install the AllInOne version through the following command to quickly experience the full functions of rainbond.
Please note that**This method is only applicable to the rapid experience of developers and has no production availability**。For other installation methods, please refer to [Web page installation](https://www.rainbond.com/docs/quick-start/quick-install#%E5%9F%BA%E4%BA%8E-web-%E7%95%8C%E9%9D%A2%E5%AE%89%E8%A3%85)、[Helm installation](https://www.rainbond.com/docs/quick-start/quick-install#%E5%9F%BA%E4%BA%8E-helm-%E5%AE%89%E8%A3%85)、[Docking with cloud service providers](https://www.rainbond.com/docs/quick-start/quick-install#%E5%AF%B9%E6%8E%A5%E4%BA%91%E6%9C%8D%E5%8A%A1%E5%95%86)、[Docking with other platforms](https://www.rainbond.com/docs/quick-start/quick-install#%E5%AF%B9%E6%8E%A5%E5%85%B6%E4%BB%96%E5%B9%B3%E5%8F%B0)、[High availability installation](https://www.rainbond.com/docs/user-operations/deploy/install-with-ui/ha-installation)
```bash
docker run --privileged -d -p 7070:7070 -p 80:80 -p 443:443 -p 6060:6060 -p 8443:8443 \
--name=rainbond-allinone --restart=unless-stopped \
-v ~/.ssh:/root/.ssh \
-v ~/rainbonddata:/app/data \
-v /opt/rainbond:/opt/rainbond \
-v ~/dockerdata:/var/lib/docker \
-e ENABLE_CLUSTER=true \
registry.cn-hangzhou.aliyuncs.com/goodrain/rainbond:v5.6.0-dind-allinone \
&& docker logs -f rainbond-allinone
```
## Quick start
1. [Rainbond Introduction](https://www.rainbond.com/docs/)
2. [Create the first application (component)](https://www.rainbond.com/docs/use-manual/component-create/creation-process?channel=github)
## Video tutorial
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)
## Participating communities
[Rainbond Open source community](https://t.goodrain.com) You are welcome to review or contribute to the use case usage of rainbond in the community.
[Rainbond Project official website](https://www.rainbond.com?channel=github) Check out more about rainbond.
WeChat scan code focuses on the Rainbond official account to see Rainbond best practices.
<img width="300px" src="https://static.goodrain.com/wechat/WechatQRCode.gif"/>
DingTalk Search Group : `31096419`
Add a wechat assistant to enter the Rainbond Technology Exchange Group:
<img width="300px" src="https://static.goodrain.com/wechat/weChat.jpg"/>
## Contributing
We very much welcome you to participate in the contribution and sharing of platform experience, standardized applications, plug-in sharing and other fields in the rainbond community.
If you are a user who is using rainbond, and you have a deep understanding of rainbond and agree with the technical route, and there is a great demand within your enterprise, we welcome you to [participate in the development of rainbond project](https://github.com/goodrain/rainbond/blob/V5.4/CONTRIBUTING.md)
## Related repositories
At present, the warehouse is the implementation code of the core service at the end of rainbond data center. The project also includes the following sub projects
- [Rainbond-Console](https://github.com/goodrain/rainbond-console) Rainbond Console server project
- [Rainbond-Console-UI](https://github.com/goodrain/rainbond-ui) Rainbond Console front end project
- [Rainbond-Operator](https://github.com/goodrain/rainbond-operator) Rainbond Installation, operation and maintenance project
- [Rainbond-Cloud-adaptor](https://github.com/goodrain/cloud-adaptor) Rainbond Cluster installation driver service
- [Rainbond-Builder](https://github.com/goodrain/builder) Rainbond Source code construction Toolset
- [Rainbond-Docs](https://github.com/goodrain/rainbond-docs) Rainbond Documentation
## License
Rainbond follow LGPL-3.0 license, Details see [LICENSE](https://github.com/goodrain/rainbond/blob/master/LICENSE) and [Licensing](https://github.com/goodrain/rainbond/blob/master/Licensing.md)。

View File

@ -1,126 +0,0 @@
<img src="https://grstatic.oss-cn-shanghai.aliyuncs.com/images/rainbond%20log_full.png" width="60%">
[![GitHub stars](https://img.shields.io/github/stars/goodrain/rainbond.svg?style=flat-square)](https://github.com/goodrain/rainbond/stargazers)
![Rainbond version](https://img.shields.io/badge/version-v5.5-brightgreen.svg)
[![GoDoc](https://godoc.org/github.com/goodrain/rainbond?status.svg)](https://godoc.org/github.com/goodrain/rainbond)
[项目官网](http://www.rainbond.com?channel=github) • [文档](https://www.rainbond.com/docs?channel=github)
## Rainbond 初识
<b>云原生且易用的应用管理平台</b>
Rainbond 是云原生且易用的云原生应用管理平台,云原生应用交付的最佳实践,简单易用。专注于以应用为中心的理念。赋能企业搭建云原生开发云、云原生交付云。
<b>对于企业:</b> Rainbond 是开箱即用的云原生平台,借助 Rainbond 可以快速完成企业研发和交付体系的云原生转型。
<b>对于开发者:</b> 基于 Rainbond 开发、测试和运维企业业务应用,开箱即用的获得全方位的云原生技术能力。包括但不仅限于持续集成、服务治理、架构支撑、多维度应用观测、流量管理。
<b>对于交付人员:</b> 基于 Rainbond 搭建产品版本化管理体系,搭建标准化客户交付环境,使传统的交付流程可以自动化、简单化和可管理。
### 价值场景
#### <b>企业云原生 DevOps</b>
面向应用的云原生 DevOps 开发、测试、生产运维一体化不要求开发者具有容器、Kubernetes 等复杂能力,面向开发者友好;提供从源码或简单镜像持续构建云原生应用的能力,对源码无侵入,业务持续发布到云端;高效的自动化运维,帮助开发者高效管理高可用的、安全的且去中心化的业务系统。
#### <b>搭建 To B 软件交付系统  </b>
- <b>构建在线的多客户持续交付体系</b>
传统 To B 交付往往投入较大的人力、时间成本。客户多,定制多,产品版本升级都会带来挑战。
(1). Rainbond 搭建高效的开发平台,产出标准化交付产品。
(2). Rainbond 作为客户环境的基础平台,即可在线完成交付产品的安装和持续升级。
(3). 将所有的 Rainbond 端都接入到 [Rainstore](https://store.goodrain.com) 中。在线管理客户,管理客户的交付应用,在线批量持续升级。
- <b>构建离线的高效交付体系</b>
离线环境的不确定性往往意味着人力的持续投入和沟通成本的增加更需要将交付的产品和持续的升级能力标准化。Rainbond 开发平台产出标准化应用离线安装包,人工导入到离线 Rainbond 环境即可持续升级。
#### <b>企业从交付软件到交付服务转型</b>
交付服务意味着持续的收入业务厂商提供持续的业务服务需要两个能力获得较强的运维能力和对客户交付业务的持续迭代能力。Rainbond 使业务厂商可以高效交付多套业务系统,对每个客户业务系统可以持续开发集成,自动化运维保障所有业务的可用性。
另外 借助 [Rainstore](https://store.goodrain.com) 的产品(解决方案)展示、在线交易、产品管理、在线自动化交付、批量升级等能力帮助企业快速实现转型。
#### <b>行业集成商集成行业应用交付</b>
行业集成商既要面对客户又要面对供应商。Rainbond 给行业集成商赋予建立应用交付标准的能力。为供应商提供 Rainbond 标准应用接入平台,产品统一发布到组件库中。行业集成商即可从组件库选择合适的产品组成解决方案一键交付到客户环境。
另外 借助 [Rainstore](https://store.goodrain.com) 的产品(解决方案)展示、组装能力,建立行业云应用商店,整合行业 IT 解决方案。
#### <b>企业技术中台建设</b>
企业技术中台包括技术中间件管理和基础业务模块化。Rainbond 结合可扩展的组件控制器,扩充统一管理云数据库、大数据中间件、人工智能中间件等技术中间件基础设施。提供业务中间件持续发布共享,积累业务通用模块。基础能力服务于企业业务场景。
#### <b>Kubernetes 多云管理</b>
Kubernetes 技术复杂上手难;大量 Deployment、Statefulset 或 Operator 资源管理复杂都是直接使用 Kubernetes 集群的难题Rainbond 以应用为中心的资源管理模型屏蔽了 Kubernetes 的复杂度Kubernetes 资源全部交给 Rainbond 来编排管理。
#### <b>国产易用的云原生 PaaS</b>
Rainbond 完成与龙芯、飞腾、麒麟操作系统等为代表的国产化计算基座的双向认证,使 Rainbond 具有屏蔽底层 CPU 架构、操作系统的差异的能力,对用户提供统一的国产化业务应用管理平台。
### 核心能力与技术
| 场景 | 主要功能与能力 | 核心技术 |
| ---------------------------- | -------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
| 企业云原生 DevOps | 持续集成;持续交付;内置微服务架构;流量管理;应用全维度监控;异构服务统一管理; | 云原生 CI/CDCode To Image(无需 Dockerfile)以应用为中心抽象ServiceMesh应用网关应用监控业务通用服务治理框架。 |
| 搭建 To B 软件交付系统 | 应用模型管理;应用模型离线导出;应用模型同步到云端;应用持续升级 | 云原生应用模型抽象(类似于 [OAM](https://oam.dev/));多端交付模型转换;应用升级控制;跨云互联 |
| 企业从交付软件到交付服务转型 | 自动化运维;应用一键安装;应用升级;流量管理 | 业务自恢复控制;应用模型转换;资源自动化按需调度 |
| 企业技术中台建设 | 开源中间件同步复用;业务模块发布复用;中间价集群管理;数据库、大数据、人工智能基础服务管理。 | 组件库模型打包与管理Operator 组件类型扩展;业务集群监控 |
| Kubernetes 多云管理 | 多集群接入;集群监控视图;自动化调度 | 集群自动化接入;公有云 Kubernetes 服务接入;自动化资源生成与维护。 |
| 国产易用的云原生 PaaS | 支持常见国产 CPU 和操作系统,支持 Windows 操作系统过度到国产操作系统。 | 异构资源调度;异构操作系统应用编排。 |
[Rainbond 功能特性说明](https://www.rainbond.com/docs/quick-start/edition?channel=github)
[Rainbond 开发计划](https://www.rainbond.com/docs/quick-start/roadmap?channel=github)
## 快速开始
1. [快速安装 Rainbond 集群](https://www.rainbond.com/docs/quick-start/rainbond_install?channel=github)
2. [创建第一个应用(组件)](https://www.rainbond.com/docs/get-start/create-app-from-source?channel=github)
3. [搭建 ServiceMesh 微服务架构](https://www.rainbond.com/docs/get-start/create-dependency?channel=github)
4. [观看教程视频,快速学习 Rainbond](https://www.rainbond.com/video.html?channel=github)
## 参与社区
[Rainbond 开源社区](https://t.goodrain.com) 欢迎你在社区中查阅或贡献 Rainbond 的用例用法。
[Rainbond 项目官网](https://www.rainbond.com?channel=github) 查阅关于 Rainbond 的更多信息。
微信扫码关注Rainbond公众号添加群助手进入Rainbond交流群喔
<img width="300px" src="https://static.goodrain.com/wechat/WechatQRCode.gif"/>
钉钉搜索群号加入Rainbond技术交流群: `31096419`
添加微信小助手进入Rainbond交流群:
<img width="300px" src="https://static.goodrain.com/wechat/weChat.jpg"/>
## 参与贡献
我们非常欢迎你参与 Rainbond 社区关于平台使用经验、标准化应用、插件分享等领域的贡献和分享。
若你是正在使用 Rainbond 的用户,且对 Rainbond 有深入的了解和技术路线的认同,在你的企业内部有较大的需求,我们非常欢迎你 [参与 Rainbond 项目开发贡献](https://www.rainbond.com/docs/community/contribution?channel=github)
## 相关项目
当前仓库为 Rainbond 数据中心端核心服务实现代码,项目还包括以下子项目:
- [Rainbond-Console](https://github.com/goodrain/rainbond-console) Rainbond 控制台服务端项目
- [Rainbond-Console-UI](https://github.com/goodrain/rainbond-ui) Rainbond 控制台前端项目
- [Rainbond-Operator](https://github.com/goodrain/rainbond-operator) Rainbond 安装运维项目
- [Rainbond-Builder](https://github.com/goodrain/builder) Rainbond 源码构建工具集
- [Rainbond-Docs](https://github.com/goodrain/rainbond-docs) Rainbond 文档
## 贡献
参考 [贡献指南](https://github.com/goodrain/rainbond/blob/V5.4/CONTRIBUTING.md) ,查看如何开发 Rainbond
## License
Rainbond 遵循 LGPL-3.0 license 协议发布,详情查看[LICENSE](https://github.com/goodrain/rainbond/blob/master/LICENSE)及[Licensing](https://github.com/goodrain/rainbond/blob/master/Licensing.md)。

107
README.md
View File

@ -1,75 +1,100 @@
<img src="https://grstatic.oss-cn-shanghai.aliyuncs.com/images/rainbond%20log_full.png" width="60%">
[![Rainbond](https://jaywcjlove.github.io/sb/lang/chinese.svg)](README-zh.md)
[![Rainbond](https://jaywcjlove.github.io/sb/lang/english.svg)](README-en.md)
[![GitHub stars](https://img.shields.io/github/stars/goodrain/rainbond.svg?style=flat-square)](https://github.com/goodrain/rainbond/stargazers)
![Rainbond version](https://img.shields.io/badge/version-v5.5-brightgreen.svg)
![Rainbond version](https://img.shields.io/badge/version-v5.X-brightgreen.svg)
[![GoDoc](https://godoc.org/github.com/goodrain/rainbond?status.svg)](https://godoc.org/github.com/goodrain/rainbond)
[Website](http://www.rainbond.com?channel=github) • [Documentation](https://www.rainbond.com/docs?channel=github)
[项目官网](http://www.rainbond.com?channel=github) • [文档](https://www.rainbond.com/docs?channel=github)
## Rainbond Introduction
## Rainbond 是什么 ?
<b>Cloud native and easy-to-use application management platform</b>
Rainbond 是一个云原生多云应用管理平台使用简单不需要懂容器、Kubernetes和底层复杂技术支持管理多个Kubernetes集群和管理企业应用全生命周期。主要功能包括应用开发环境、应用市场、微服务架构、应用交付、应用运维、应用级多云管理等。
Rainbond is a cloud native and easy-to-use application management platform, a best practice for cloud native application delivery, and easy to use. Focus on the application-centric concept. Enabling enterprises to build cloud native development cloud, cloud native delivery cloud.
## 为什么选择 Rainbond ?
<b>For Enterprise</b> Rainbond is a cloud native platform that can be used directly out of the boxWith Rainbond, you can quickly complete the cloud-native transformation of the enterprise R&D and delivery system.
Kubernetes 作为一个管理容器化应用程序的系统。它为应用程序的部署、维护和扩展提供了基本机制。但是在用户传统应用向云原生应用转型时,使用 Kubernetes 会遇到如下几个问题:
<b>For Developers</b> Develop, test and operate enterprise business applications based on RainbondYou can get a full range of cloud native technology capabilities out of the box. Including but not limited to continuous integration, service governance, architecture support, multi-dimensional application observation, and traffic management.
- 企业应用容器化部署
- Kubernetes 学习曲线陡峭
- 部署好的应用如何在其他 Kubernetes 环境中交付、升级
<b>For Delivery engineer</b> Build a product version management system based on Rainbond and build a standardized customer delivery environment, so that the traditional delivery process can be automated, simplified and manageable.
Rainbond 遵循 **以应用为中心** 的设计理念统一封装容器、Kubernetes 和底层基础设施相关技术,让使用者专注于业务本身, 避免在业务以外技术上花费大量学习和管理精力。
#### With Rainbond you can:
- Rainbond 支持[一步将企业应用变成云原生应用](https://www.rainbond.com/docs/#2%E4%B8%80%E6%AD%A5%E5%B0%86%E4%BC%A0%E7%BB%9F%E5%BA%94%E7%94%A8%E5%8F%98%E6%88%90%E4%BA%91%E5%8E%9F%E7%94%9F%E5%BA%94%E7%94%A8)
- Rainbond 不需要了解 Kubernetes并且可通过 [Web 界面快速安装 Kubernetes](https://www.rainbond.com/docs/quick-start/quick-install#%E5%9F%BA%E4%BA%8E-web-%E7%95%8C%E9%9D%A2%E5%AE%89%E8%A3%85) ,支持管理多个 Kubernetes 集群
- Rainbond 支持多云交付、私有交付、SaaS交付、离线交付、个性化交付、应用市场等实现各种交付流程自动化可参考文章 [企业应用一键安装与升级](https://mp.weixin.qq.com/s/2chigbtp8TzPdvJM4o7sOw)
- Enterprise cloud native DevOps.
- Set up To B software delivery system.
- Build an online multi-customer continuous delivery system
- Build an offline, efficient delivery system.
- Enterprises transform from delivering software to delivering services.
- Industry integrator integrated industry application delivery
- Enterprise Technology Center Construction.
- Kubernetes multi-cloud management.
## Rainbond 的功能和架构
[Read Rainbond Detailed introduction](https://www.rainbond.com/docs/quick-start/rainbond_overview?channel=github)
![Rainbond-Arch](https://grstatic.oss-cn-shanghai.aliyuncs.com/case/2022/03/17/16474283190784.jpg)
[Rainbond Roadmap](https://github.com/goodrain/rainbond/issues?q=is%3Aissue+is%3Aopen+label%3A%22Feature+Suggestions%22)
Rainbond 基于公有云、私有云、自建 Kubernetes 对企业应用进行管理,支持[应用级多云管理](https://www.rainbond.com/docs/#%E5%BA%94%E7%94%A8%E7%BA%A7%E5%A4%9A%E4%BA%91%E7%AE%A1%E7%90%86)。
## Quick start
Rainbond 支持应用的[全生命周期管理](https://www.rainbond.com/docs/#%E5%BA%94%E7%94%A8%E5%85%A8%E7%94%9F%E5%91%BD%E5%91%A8%E6%9C%9F%E7%AE%A1%E7%90%86),即开发、架构、交付、运维一站式打通。
1. [Install Rainbond Cluster](https://www.rainbond.com/docs/quick-start/rainbond_install?channel=github)
2. [Create an Application and Component](https://www.rainbond.com/docs/get-start/create-app-from-source?channel=github)
3. [Build ServiceMesh microservice architecture](https://www.rainbond.com/docs/get-start/create-dependency?channel=github)
4. [Watch the tutorial video](https://www.rainbond.com/video.html?channel=github)
Rainbond 中的组件是独立运行、可复用、可扩展、可集成的单元,支持不同的粒度大小,支持版本管理,组件可以在不同应用场景中复用,组件自身可以迭代升级,积累的组件统一存放到组件库,实现了企业[数字化能力积累和复用](https://www.rainbond.com/docs/#3%E5%AE%9E%E7%8E%B0%E6%95%B0%E5%AD%97%E5%8C%96%E8%83%BD%E5%8A%9B%E7%A7%AF%E7%B4%AF%E5%92%8C%E5%A4%8D%E7%94%A8)。
## Community
## 安装
Rainbond 支持多种安装方式。你可以通过以下命令安装 Allinone 版本,快速体验 Rainbond 完整功能。
[Rainbond Community](https://t.goodrain.com) You are welcome to read or contribute to the use cases of Rainbond in the community.
请注意:**该方式仅适用于开发者快速体验,不具备生产可用性**。其他安装方式请参考 [Web 页面安装](https://www.rainbond.com/docs/quick-start/quick-install#%E5%9F%BA%E4%BA%8E-web-%E7%95%8C%E9%9D%A2%E5%AE%89%E8%A3%85)、[Helm 安装](https://www.rainbond.com/docs/quick-start/quick-install#%E5%9F%BA%E4%BA%8E-helm-%E5%AE%89%E8%A3%85)、[对接云服务商](https://www.rainbond.com/docs/quick-start/quick-install#%E5%AF%B9%E6%8E%A5%E4%BA%91%E6%9C%8D%E5%8A%A1%E5%95%86)、[对接其他平台](https://www.rainbond.com/docs/quick-start/quick-install#%E5%AF%B9%E6%8E%A5%E5%85%B6%E4%BB%96%E5%B9%B3%E5%8F%B0)、[高可用安装](https://www.rainbond.com/docs/user-operations/deploy/install-with-ui/ha-installation)
[Rainbond Website](https://www.rainbond.com?channel=github) Read more about Rainbond.
```bash
docker run --privileged -d -p 7070:7070 -p 80:80 -p 443:443 -p 6060:6060 -p 8443:8443 \
--name=rainbond-allinone --restart=unless-stopped \
-v ~/.ssh:/root/.ssh \
-v ~/rainbonddata:/app/data \
-v /opt/rainbond:/opt/rainbond \
-v ~/dockerdata:/var/lib/docker \
-e ENABLE_CLUSTER=true \
registry.cn-hangzhou.aliyuncs.com/goodrain/rainbond:v5.6.0-dind-allinone \
&& docker logs -f rainbond-allinone
```
Wechat scans the code to join the Rainbond Community Group.
## 快速开始
1. [Rainbond 简介](https://www.rainbond.com/docs/)
2. [创建第一个应用(组件)](https://www.rainbond.com/docs/use-manual/component-create/creation-process?channel=github)
## 视频教程
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)
## 参与社区
[Rainbond 开源社区](https://t.goodrain.com) 欢迎你在社区中查阅或贡献 Rainbond 的用例用法。
[Rainbond 项目官网](https://www.rainbond.com?channel=github) 查阅关于 Rainbond 的更多信息。
微信扫码关注 Rainbond 公众号,查看 Rainbond 最佳实践。
<img width="300px" src="https://static.goodrain.com/wechat/WechatQRCode.gif"/>
DingTalk Search Group : 31096419
钉钉搜索群号加入 Rainbond 技术交流群: `31096419`
Add a WeChat assistant to enter the Rainbond Community Group:
添加微信小助手进入 Rainbond 技术交流群:
<img width="300px" src="https://static.goodrain.com/wechat/weChat.jpg"/>
## Related repositorys
## 贡献
- [Rainbond-Console](https://github.com/goodrain/rainbond-console)
- [Rainbond-Console-UI](https://github.com/goodrain/rainbond-ui)
- [Rainbond-Operator](https://github.com/goodrain/rainbond-operator)
- [Rainbond-Builder](https://github.com/goodrain/builder)
- [Rainbond-Docs](https://github.com/goodrain/rainbond-docs)
我们非常欢迎你参与 Rainbond 社区关于平台使用经验、标准化应用、插件分享等领域的贡献和分享。
## Contributing
若你是正在使用 Rainbond 的用户,且对 Rainbond 有深入的了解和技术路线的认同,在你的企业内部有较大的需求,我们非常欢迎你 [参与 Rainbond 贡献](https://www.rainbond.com/docs/contributing/?channel=github)
Check out [CONTRIBUTING](https://github.com/goodrain/rainbond/blob/V5.4/CONTRIBUTING.md) to see how to develop with Rainbond.
## 相关项目
当前仓库为 Rainbond 数据中心端核心服务实现代码,项目还包括以下子项目:
- [Rainbond-Console](https://github.com/goodrain/rainbond-console) Rainbond 控制台服务端项目
- [Rainbond-Console-UI](https://github.com/goodrain/rainbond-ui) Rainbond 控制台前端项目
- [Rainbond-Operator](https://github.com/goodrain/rainbond-operator) Rainbond 安装运维项目
- [Rainbond-Cloud-adaptor](https://github.com/goodrain/cloud-adaptor) Rainbond 集群安装驱动服务
- [Rainbond-Builder](https://github.com/goodrain/builder) Rainbond 源码构建工具集
- [Rainbond-Docs](https://github.com/goodrain/rainbond-docs) Rainbond 文档
## License
Rainbond follow LGPL-3.0 licenseDetails see[LICENSE](https://github.com/goodrain/rainbond/blob/master/LICENSE) and [Licensing](https://github.com/goodrain/rainbond/blob/master/Licensing.md)
Rainbond 遵循 LGPL-3.0 license 协议发布,详情查看 [LICENSE](https://github.com/goodrain/rainbond/blob/master/LICENSE) 及 [Licensing](https://github.com/goodrain/rainbond/blob/master/Licensing.md) 。

View File

@ -4,7 +4,7 @@ set -o errexit
# define package name
WORK_DIR=/go/src/github.com/goodrain/rainbond
BASE_NAME=rainbond
IMAGE_BASE_NAME=${BUILD_IMAGE_BASE_NAME:-'rainbond'}
IMAGE_BASE_NAME=${IMAGE_NAMESPACE:-'rainbond'}
DOMESTIC_NAMESPACE=${DOMESTIC_NAMESPACE:-'goodrain'}
GOARCH=${BUILD_GOARCH:-'amd64'}