zoukankan      html  css  js  c++  java
  • drone 学习四 几个有用的命令

    1. 安装cli 工具

    linux 
    
    curl -L https://github.com/drone/drone-cli/releases/download/v0.8.5/drone_linux_amd64.tar.gz | tar zx
    sudo install -t /usr/local/bin drone
    
    
    mac
    curl -L https://github.com/drone/drone-cli/releases/download/v0.8.5/drone_darwin_amd64.tar.gz | tar zx sudo cp drone /usr/local/bin

    2.  全部命令

         build      manage builds
         deploy     deploy code
         exec       execute a local build
         info       show information about the current user
         registry   manage registries
         secret     manage secrets
         repo       manage repositories
         user       manage users
         server     manage servers
         autoscale  manage autoscaling
         help, h    Shows a list of commands or help for one command
     
    3. 几个命令说明
    registry  可以进行容器镜像仓库的管理(包括密钥)
    
    secret    存储一些项目敏感的信息,比如密码,账户信息,数据库信息
    
    repo      git 代码管理
    
    build     项目构建的一些操作,比如查看信息,启动构建
    
    deploy    执行项目的部署
    4. 参考文档
    http://docs.drone.io/cli-installation/
  • 相关阅读:
    浅析MySQL二进制日志
    MySQL升级
    浅析MySQL复制
    MySQL关于exists的一个bug
    TokuDB存储引擎
    MySQL中RESET SLAVE和RESET MASTER的区别
    MySQL半同步复制
    MySQL线程池
    分析MariaDB初始化脚本mysql_install_db
    Python装饰器
  • 原文地址:https://www.cnblogs.com/rongfengliang/p/8981949.html
Copyright © 2011-2022 走看看