V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
binggg
V2EX  ›  程序员

一体化部署工具 CloudBase Framework 开发简报(2020-08-13)

  •  
  •   binggg ·
    binggg · 2020-08-13 14:01:13 +08:00 · 855 次点击
    这是一个创建于 1323 天前的主题,其中的信息可能已经有所发展或是发生改变。

    // 题图由eliza28diamondsPixabay上发布

    一体化部署工具介绍 https://www.v2ex.com/t/689723#reply19

    1. 新版本发布

    CloudBase Framework 0.8 版本已发布 https://github.com/TencentCloudBase/cloudbase-framework/releases/

    更新日志:

    新功能

    • Container 插件支持指定镜像 /git 仓库地址来部署服务
    • 新增 uni-app 应用模板(#59) @qinmudi
    • 支持自动检测 Nuxt SSR 应用
    • Nuxt 插件支持自定义 npm 安装命令(#57) @Realybig

    Bug 修复

    • 修复插件系统官方插件版本和内核版本不匹配的问题
    • 修复部分情况下 env 文件解析失败的问题
    • 修复 Node 插件在子目录下 package.json 路径问题

    升级新版本,体验 CloudBase Framework 新功能~

    在命令行执行

    npm install -g @cloudbase/cli@latest 
    

    特性预览 1: Container 插件支持指定镜像地址

    {
      "envId": "{{envId}}",
      "framework": {
        "name": "capp-example",
        "plugins": {
          "client": {
            "use": "@cloudbase/framework-plugin-container",
            "inputs": {
              "serviceName": "node-api",
              "servicePath": "/node-api",
              "localPath": "./",
              "uploadType": "image",
              "imageInfo": {
                "imageUrl": "ccr.ccs.tencentyun.com/tcb-100010952056-rjdt/webpage_node-api:node-api-001-1597238358"
              }
            }
          }
        }
      }
    }
    

    更多信息请查阅

    https://github.com/TencentCloudBase/cloudbase-framework/tree/master/packages/framework-plugin-container#imageinfo

    特性预览 2: Container 插件支持 git 仓库地址

    {
      "envId": "{{envId}}",
      "framework": {
        "name": "capp-example",
        "plugins": {
          "client": {
            "use": "@cloudbase/framework-plugin-container",
            "inputs": {
              "serviceName": "deno",
              "servicePath": "/deno",
              "localPath": "./",
              "uploadType": "repository",
              "codeDetail": {
                "name": "deno-docker",
                "url": "https://github.com/TabSpace/deno-docker"
              }
            }
          }
        }
      }
    }
    

    更多信息请查阅

    https://github.com/TencentCloudBase/cloudbase-framework/tree/master/packages/framework-plugin-container#codedetail

    特性预览 3: 支持创建 uni-app 应用

    image-20200813132402244

    在命令行一键创建一个搭载云开发的 uni-app 应用

    cloudbase init --template uni-app-starter
    

    特性预览 4: 支持自动检测 Nuxt SSR 应用

    image-20200813132720672

    在 Nuxt SSR 项目根目录执行以下命令启用一键检测部署

    cloudbase init --without-template && cloudbase framework:deploy
    

    2. 新功能预告

    • CLI 工具支持从命令行一键导入 Github 应用项目
    • 支持在线一键云端部署 GitHub 项目
    • 部署错误日志细化,支持更加明确的日志输出
    • 新增 Deno 插件
    • 新增 PHP 插件
    • 新增 全链路日志功能

    3. Contributors

    新增 1 位贡献者,目前已有 15 名 Contributors,欢迎成为贡献者

    https://github.com/TencentCloudBase/cloudbase-framework#contributors-

    4. ⭐️ Github Star

    当前 Github Star 数 390,欢迎 +1 支持

    扫码 /点击链接打开 Github 页面点击 ⭐️ Star

    https://github.com/TencentCloudBase/cloudbase-framework

    image-20200813132029692

    5. CloudBase Framework 生态

    6. 在线交流群

    欢迎入群在线交流反馈

    微信群

    QQ 群

    7. 小调查

    你希望下一步 CloudBase Framework 提供怎样的功能升级或者优化呢?

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3924 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 05:11 · PVG 13:11 · LAX 22:11 · JFK 01:11
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.