-
Notifications
You must be signed in to change notification settings - Fork 374
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add python3 framework for resource download * add tag as extra field for api/v2/app_info * add bk_devops_nav logo * add is_display to app, for desktop * update py3 framework to 1.0.2 * add api for bk-sops light app * refactor : api for bk-sops light app * refactor 1: api for bk-sops light app * refactor 2: api for bk-sops light app * delete syncdb command for django version >= 1.9 * set requests default timeout 5 second and add some logs when exception * set HTTP_TIMEOUT variable in settings * add newline in settings_default.py * support py3 for esb sdk, update translation for some apis, support DELETE/PUT method for request some apis, support get bk apidoc from md files * up cc some apidocs * update VERSION to 3.2.3 * upgrade gunicorn to 19.9.0 * add guide for python3 framework * add app env var admin * update py3 framework to 1.0.3 * fix js pagination error * fix js pagination error * up cc confapis * Devops support fixbug20190306 (#14) * add error message where user info (phone, chname) check * fixbug: light app logo image name ramdom * refactor * up cc/sops apis * up cc/sops confapis * add try-except for bk_backend.authenticate (#15) * Bugfix 0311 (#16) * add try-except for bk_backend.authenticate * update bk_devops_nav logo * app.yml support app env init while setup (#17) * app.yml support app env init while setup * fix app env key/value validation for app.yml * env key/value type cast to str before validate * unify the app_env_var value length to 1000 * support old login account manage page url (#18) * remove on_migrate * add doc to release.md: update python framework to support https * update release.md * third server password should not be chinese * fix link too long text-overflow * fix some issues * remove header for some files * bugfix: bktoken decrypt wrong * batch issues fix * change version to 3.2.5 * modify default user logo (#51) * fix some icons display error (#52) * fix fta imap (#56) * Update release.md * fix the too complex of account _is_bk_token_valid (#59) * Explain login/paas settings different between development/production (#79) (#80) * login settings SITE_URL diff in develoment/production * update doc: LOGIN_DOMAIN in paas development * 修复本地开发登录URL 404问题 (#82) * fix develop login url 404 (#81) * 更新 sops 组件,更新cmsi 发送语音通知组件 (#84) * up sops confapis, cmsi send_voice_msg * add component conf for cmsi send_voice_msg * 更新release说明 (#85) * up sops confapis, cmsi send_voice_msg * add component conf for cmsi send_voice_msg * up release doc * fix login decrypt token code bug (#88) * paas_agent support python3 (#89) * fix sync blocking bug when build script times out (#64) * Upgrade python framework to 2.0.0 (#90) * upgrade python framework to 2.0.0 * change new framework icon * fix fta imap (#103) * Update weixin doc and fix ligth app logo (#105) * fix light app lose bug * update weixin notify doc * update weixin notify doc * fixbug: import user do not response bug * fix cc delete_object_attribute apidoc (#106) * update guide doc of python framework (#108) * bugfix: 滚动按钮提示内容错误。issue #97 (#113) * fixbug:Development Language Change #96 (#116) * add app-env title (#124) * add resource migration for python doc url and delete united dev-env (#129) * Add docker (#131) * add docker docs for quick experience * update docker support docs * update docker support docs * upgrade framework to 2.1.4.11 (#134) * update link or replace ce with open source version (#135) * 93:修改BUG:当版本历史为空时, 前端出现两条横线 (#123) * add static version for css/js (#136) * Fix user avatar (#142) * fix user avatar * add import_common_template for sops * Bugfix 0717 (#143) * fix #128; remove django specific version in document * fix #140; resource link to official website * use HTTP_SCHEMA for job/cc link int (#145) * update cc apis, add cmsi send_msg/get_msg_type (#146) * saas info show settings style (#150) * fix #147; add/delete user refresh list without query term (#149) * disable bk_language while the i18n is not support in ce (#155) * fix resource download icon (#156) * fix resource download icon * fix pep8 fail * fix login api ApiErrorCodeEnumV2 missing USER_NOT_EXISTS2 (#158) * support logo file in pkg root dir (#164) * Update docs (#166) * update readme.md/readme_en.md Co-authored-by: nannan00 <[email protected]> Co-authored-by: jamesge <[email protected]> Co-authored-by: alex-smile <[email protected]> Co-authored-by: wenjaron <[email protected]> Co-authored-by: kindmaketheworldpeace <[email protected]> Co-authored-by: canway-obama <[email protected]> Co-authored-by: molly0755 <[email protected]>
- Loading branch information
1 parent
6569dac
commit 29756e6
Showing
266 changed files
with
6,940 additions
and
2,590 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
PaaS 3.2.2 | ||
PaaS 3.2.5 | ||
PaaSAgent 3.1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
# 极速体验 | ||
|
||
为了能让大家最快的体验蓝鲸智云PaaS平台,社区推出了蓝鲸智云PaaS平台的容器部署方式,秒级体验PaaS平台服务。 | ||
|
||
注意: | ||
- 镜像仅用于快速体验, 不能用于生产; | ||
- 目前可以体验login(统一登录)/paas(开发者中心)/esb(API网关), 暂时还不能体验paas_agent(应用引擎: 应用部署流程); 目前处理中, 后续会加入 | ||
|
||
## Docker环境 | ||
|
||
蓝鲸智云PaaS平台容器化部署同时支持让你在Windows, macOS, Linux环境下进行部署。 | ||
|
||
如果你已经有docker的环境,可以直接进入部署环节。如果你没有docker环境,也想体验,请参照下面的官方链接进行部署。 | ||
|
||
* windows | ||
|
||
docker官方社区目前只支持Windows10(64位)版本,并启用了Hyper-V服务。Docker for Windows的安装 | ||
包在[这里](https://download.docker.com/win/stable/19507/Docker%20for%20Windows%20Installer.exe) | ||
下载并安装。安装细节可以参考[这里](https://docs.docker.com/docker-for-windows/install/#what-to-know-before-you-install)。 | ||
|
||
* macOS | ||
|
||
安装命令如下。安装完成后,直接启动docker即可。 | ||
```shell | ||
brew cask install docker | ||
``` | ||
|
||
* linux | ||
由于linux的发行版本比较多,这里就不逐一列出,大家可以参考docker官方的文档进行安装。 | ||
- [CentOS](https://docs.docker.com/install/linux/docker-ce/centos/) | ||
- [Debian](https://docs.docker.com/install/linux/docker-ce/debian/) | ||
- [Fedora](https://docs.docker.com/install/linux/docker-ce/fedora/) | ||
- [Ubuntu](https://docs.docker.com/install/linux/docker-ce/ubuntu/) | ||
|
||
## 部署 | ||
|
||
#### 1. 拉取镜像 | ||
|
||
当你有了docker的环境后,就可以在**终端**拉取bk-PaaS的体验镜像了。 | ||
|
||
bk-PaaS用于体验的镜像存储于腾讯云的镜像公共镜像仓库。 仓库地址在[这里](https://console.cloud.tencent.com/tke/registry/qcloud/default/detail/tag?rid=1&reponame=bk.io%252Fpaas-standalone) | ||
|
||
目前有一个tag为**latest**的镜像, 方便大家体验最新版本; 未来会提供与release版本一致的镜像, | ||
|
||
|
||
镜像名称:ccr.ccs.tencentyun.com/bk.io/paas-standalone | ||
|
||
镜像tag: latest | ||
|
||
|
||
拉取命令: | ||
|
||
```shell | ||
docker pull ccr.ccs.tencentyun.com/bk.io/paas-standalone:latest | ||
``` | ||
|
||
#### 2. 启动容器 | ||
|
||
执行如下命令,bk-PaaS容器服务即可启动。 | ||
|
||
```shell | ||
docker run -d --name="bk-paas" -p 8000-8003:8000-8003 ccr.ccs.tencentyun.com/bk.io/paas-standalone:latest | ||
``` | ||
|
||
这里端口映射: `appengine 8000/ paas 8001 / esb 8002 / login 8003` | ||
|
||
#### 3. 配置host及访问 | ||
|
||
|
||
配置host | ||
|
||
``` | ||
127.0.0.1 www.bking.com | ||
``` | ||
此时你可以打开浏览器,访问`http://www.bking.com:8001`, 使用默认用户名密码(admin/admin)登录, 即可体验最新版的蓝鲸智云PaaS平台服务。 | ||
**恭喜你,你正在体验最新的蓝鲸智云PaaS平台服务。** | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3.2.2 | ||
3.2.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
django==1.8.11 | ||
pymysql==0.6.7 | ||
requests==2.21.0 | ||
gunicorn==19.6.0 | ||
gunicorn==19.9.0 | ||
uWSGI==2.0.13.1 | ||
gevent==1.1.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
paas-ce/paas/esb/apps/sdk_management/sdk_tmpl/blueking/component/compat.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# -*- coding: utf-8 -*- | ||
""" | ||
Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available. | ||
Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. | ||
Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at | ||
http://opensource.org/licenses/MIT | ||
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. | ||
""" # noqa | ||
import sys | ||
|
||
_ver = sys.version_info | ||
|
||
is_py2 = (_ver[0] == 2) | ||
|
||
is_py3 = (_ver[0] == 3) | ||
|
||
|
||
if is_py2: | ||
from urlparse import urlparse | ||
|
||
str = unicode | ||
|
||
elif is_py3: | ||
from urllib.parse import urlparse # noqa | ||
|
||
str = str |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.