随笔分类 -  持续集成

docker could not find an available, non-overlapping IPv4 address pool among the defaults to assign to the network
摘要:原因: 无法进行网络分配了 解决方法: // 所有的网络 docker network ls // 删除不用的,腾出多余的 docker network rm <networkname> 阅读全文

posted @ 2018-05-21 09:54 荣锋亮 阅读(2032) 评论(0) 推荐(0) 编辑

Tencent Server Web(TSW) 腾讯开源的nodejs 基础设施
摘要:Tencent Server Web(TSW),是一套面向WEB前端开发者,以提升问题定位效率为初衷,提供染色抓包、全息日志和异常发现的Node.js基础设施。TSW关注业务的运维监控能力,适用于http、websocket协议的业务场景,可无缝与即有项目进行整合。支持公有云、私有云和本地部署。 染 阅读全文

posted @ 2018-05-21 09:07 荣锋亮 阅读(1629) 评论(0) 推荐(0) 编辑

ballerina 学习七 object 创建&& 初始化
摘要:在 ballerina 总中object 是一个包含public private 类型字段同时包含函数,需要开发人员进行自定义类型以及行为 说白了,就是类似面向对象的class 基本使用 代码 import ballerina/http; import ballerina/io; type App 阅读全文

posted @ 2018-05-18 13:23 荣锋亮 阅读(185) 评论(0) 推荐(0) 编辑

ballerina 学习一 基本项目安装试用
摘要:ballerina介绍 建议参考这篇文章: https://mp.weixin.qq.com/s/DqdlOhquqMaGOJf26lANPw 1. 安装 直接下载对应操作系统的二进制文件即可,同时官方也提供了linux 操作系统对应的各种发行包(deb, rpm) 参考地址: https://ba 阅读全文

posted @ 2018-05-14 10:07 荣锋亮 阅读(428) 评论(0) 推荐(0) 编辑

dockerize 容器工具集基本使用
摘要:基本功能: * 在启动的时候根据环境变量或者模版生成配置文锦啊 * 多日志文件重定向到标准输入输出 * 等待其他服务(tcp,http unix)起来之后在启动主进程 1. 安装 直接使用容器 jwilder/dockerize 或者下载启动 参考安装如下: ENV DOCKERIZE_VERSIO 阅读全文

posted @ 2018-05-11 20:25 荣锋亮 阅读(1000) 评论(0) 推荐(0) 编辑

nginx-unit docker 运行以及php &&golang 简单使用
摘要:备注: nginx unit nginx 开源的新的nginx 开发平台,但是说白了,个人感觉一般,而且官方文档也不是很好, api 接口目前暂时文档比较。。。。,以前写过虚拟机&&物理机安装部署的方式,今天写一个使用docker 进行安装部署的方式,同时添加golang语言的使用,算是比较全了,毕 阅读全文

posted @ 2018-05-11 16:08 荣锋亮 阅读(574) 评论(0) 推荐(0) 编辑

autoconf 添加三方库(libcurl)简单试用
摘要:1. 参考项目 https://github.com/rongfengliang/autoconf-project 2. 项目说明 a. 项目结构 ├── Jenkinsfile # jenkins 构建,实际使用可选 ├── Makefile.am ├── README.md ├── autoge 阅读全文

posted @ 2018-05-09 14:24 荣锋亮 阅读(774) 评论(0) 推荐(0) 编辑

autoconf 简单demo试用
摘要:1. 安装工具 yum install -y automake 2. 基本项目 a. 项目参考结构 ├── AUTHORS ├── COPYING ├── ChangeLog ├── Makefile.am ├── NEWS ├── README ├── README.md ├── a.out ├─ 阅读全文

posted @ 2018-05-08 14:06 荣锋亮 阅读(300) 评论(0) 推荐(0) 编辑

homeland 开源论坛系统搭建试用
摘要:备注: 需要使用docker docker-compose 1. clone 代码 git clone https://github.com/ruby-china/homeland-docker.git 2. 基本配置 app.local.env 配置例如: app_name=网站名称 domain 阅读全文

posted @ 2018-05-08 12:38 荣锋亮 阅读(904) 评论(0) 推荐(0) 编辑

drone 学习六 发布部署&&集成私有容器仓库&&构建代码s3 保存
摘要:备注: 需要进行drone 以及gitlab 环境的配置,可以参考相关资料 1. 参考项目 https://github.com/rongfengliang/drone-appdemo 2. drone 构建配置(使用docker && s3 插件) pipeline: backend: image 阅读全文

posted @ 2018-05-03 13:21 荣锋亮 阅读(1023) 评论(0) 推荐(0) 编辑

hoverfly api 模拟框架了解
摘要:What is Hoverfly? Hoverfly is a lightweight, open source API simulation tool. Using Hoverfly, you can create realistic simulations of the APIs your ap 阅读全文

posted @ 2018-05-03 10:45 荣锋亮 阅读(1012) 评论(0) 推荐(0) 编辑

drone 学习一 几个核心组件
摘要:1. clone 这个是内置的,实际上就行进行代码clone的 参考配置,同时我们可以使用自定义的插件 clone: + git: + image: plugins/git pipeline: build: image: golang commands: - go build - go test 2 阅读全文

posted @ 2018-05-02 19:58 荣锋亮 阅读(753) 评论(0) 推荐(0) 编辑

drone 学习三 条件步骤
摘要:1. 基本格式 pipeline: slack: image: plugins/slack channel: dev + when: + branch: master 2. 几种条件类型 a. branch when: branch: [master, develop] b. events when 阅读全文

posted @ 2018-05-02 19:39 荣锋亮 阅读(478) 评论(0) 推荐(0) 编辑

drone 学习二 pipeline 说明
摘要:1. 基本语法 pipeline: backend: image: golang commands: - go build - go test frontend: image: node commands: - npm install - npm run test - npm run build 2 阅读全文

posted @ 2018-05-02 19:30 荣锋亮 阅读(585) 评论(0) 推荐(0) 编辑

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 阅读全文

posted @ 2018-05-02 19:13 荣锋亮 阅读(494) 评论(0) 推荐(0) 编辑

drone 学习五 集成gitlab 配置以及简单测试
摘要:备注: 使用docker-compose 进行安装 同时集成gitlab,预备环境 docker docker-compose gitlab 1. docker-compose version: '3' services: drone-server: image: drone/drone:0.8 p 阅读全文

posted @ 2018-05-02 18:58 荣锋亮 阅读(1056) 评论(0) 推荐(0) 编辑

使用distillery 实现版本的动态升级&& 动态降级
摘要:备注: distillery 使用很棒的elixir 打包构建工具,下面演示的是升级以及降级 1. 参考项目 https://github.com/rongfengliang/phoenix-rest-demo.git 备注: 此项目已经以及配置distillery了,可以参考文档 2. 升级&& 阅读全文

posted @ 2018-04-19 21:18 荣锋亮 阅读(393) 评论(0) 推荐(0) 编辑

使用distillery 构建专业的 phoenix 项目软件包
摘要:备注: 首先需要安装 elixir 环境 1. 基本项目说明 参考项目: https://github.com/rongfengliang/phoenix-rest-demo 2. 项目说明 备注: 主要是插件的配置 mix.exs defp deps do [ {:phoenix, "~> 1.3 阅读全文

posted @ 2018-04-19 19:13 荣锋亮 阅读(425) 评论(0) 推荐(0) 编辑

mix deps HEX_HTTP_CONCURRENCY=1 HEX_HTTP_TIMEOUT=120 timeout
摘要:mix deps.get timeout 问题: If this happens consistently, adjust your concurrency and timeout settings: HEX_HTTP_CONCURRENCY=1 HEX_HTTP_TIMEOUT=120 mix d 阅读全文

posted @ 2018-04-19 13:22 荣锋亮 阅读(484) 评论(0) 推荐(0) 编辑

elixir jenkins 集成构建方式配置
摘要:备注: 主要问题是环境变量配置的问题,解决方法是使用软连接进行解决 1. 下载软件包 wget https://github.com/elixir-lang/elixir/releases/download/v1.6.4/Precompiled.zip 2. 配置环境变量 配置环境变量 export 阅读全文

posted @ 2018-04-19 13:10 荣锋亮 阅读(193) 评论(0) 推荐(0) 编辑

导航