随笔分类 -  持续集成

webpack css loader 使用
摘要:备注: 接上面的项目 1. 添加css main.css #app { text-align:center; } main.js require("./main.css"); const shortid = require("shortid"); const demo = require("./sh 阅读全文

posted @ 2017-12-29 10:16 荣锋亮 阅读(1444) 评论(0) 推荐(0) 编辑

webpack extract-text-webpack-plugin
摘要:备注: 提炼上面引用的css 1. 插件配置 const path = require("path"); const extracttextplugin = require("extract-text-webpack-plugin"); module.exports = { entry:"./mai 阅读全文

posted @ 2017-12-29 10:16 荣锋亮 阅读(661) 评论(0) 推荐(0) 编辑

webpack 简单使用
摘要:备注: 使用yarn 结合npm 模块进行简单项目开发 1. 安装 yarn init yarn add webpack --dev yarn global add live-server 2. 添加shoritd 依赖模块 yarn add shoritd 3. 项目结构 ├── index.ht 阅读全文

posted @ 2017-12-29 10:15 荣锋亮 阅读(186) 评论(0) 推荐(0) 编辑

npm 可执行模块的开发&&私服发布
摘要:备注: 大家日常在使用npm 安装依赖的时候有一些是命令行工具,比如vue-cli,具体的开发比较简单,同时 可以基于此开发一些脚手架,方便开发。 1. 项目初始化 npm init 备注:按照提示书写即可,备注本次使用了npm 私服 (cnpm)所以name 需要按照cnpm scope 的定义, 阅读全文

posted @ 2017-12-27 18:41 荣锋亮 阅读(319) 评论(0) 推荐(0) 编辑

testem方便的web tdd 测试框架使用
摘要:备注: 单元测试,对于日常的开发是比较重要的,testem 简化了我们的代码编写,以及运行。 主要特性: a. 支持的测试框架有:jasmine quint mocha buster.js ,同时也包含一些其他的适配器,支持 主流的浏览器。 b. 可以方便的与持续集成工具进行集成(这个太方便了)。 阅读全文

posted @ 2017-12-24 12:23 荣锋亮 阅读(589) 评论(0) 推荐(0) 编辑

好用的 convert freestyle jenkins jobs to pipeline 插件使用
摘要:1. 安装 安装,重启即可,非常简单 2. 使用 原有配置,主要列出执行 生成的jenkins pipeline 3. 构建效果 4. 参考资料 https://jenkins.io/blog/2017/12/15/auto-convert-freestyle-jenkins-jobs-to-cod 阅读全文

posted @ 2017-12-16 13:03 荣锋亮 阅读(498) 评论(0) 推荐(0) 编辑

MkDocs 搭建试用
摘要:http://www.mkdocs.org/备注: 在平时的开发中文档管理是一个比较重要的部分,同时集成在 平时开发的持续集成中,可以加速开发 1. 安装 pip install mkdocs 2. 初始化项目 mkdocs new demoapp cd demoapp 项目结构 ├── docs 阅读全文

posted @ 2017-12-16 10:50 荣锋亮 阅读(498) 评论(0) 推荐(0) 编辑

asciidoctor 安装试用
摘要:备注: asciidoctor 是asciidoc 的增强,使用简单,模板比较丰富,对于持续集成方面的开发也是一个不错的工具 1. 安装 a. 环境准备 MRI Ruby 1.8.7, 1.9.3, 2.0, 2.1, 2.2 & 2.3 JRuby 1.7 in Ruby 1.8 and 1.9 阅读全文

posted @ 2017-12-14 10:34 荣锋亮 阅读(2064) 评论(0) 推荐(1) 编辑

gradle asciidoc 使用
摘要:备注: 次文档参考github 例子 1.环境准备 node npm (yarn) java KindleGen 备注: 具体的安装可以参考网上相关文档,KindleGen 下载地址:https://www.amazon.com/gp/feature.html?docId=1000765211 2. 阅读全文

posted @ 2017-12-13 13:42 荣锋亮 阅读(1640) 评论(0) 推荐(0) 编辑

parceljs 基本使用———又一个前端构建工具
摘要:备注: 又一个新的前端构建工具 1. 安装 yarn global add parcel-bundler 2. 初始化项目 yarn init -y 3. 基本代码 a. 创建 index.html index.js index.html <html> <body> <script src="./i 阅读全文

posted @ 2017-12-10 19:53 荣锋亮 阅读(686) 评论(0) 推荐(0) 编辑

nomad 安装(单机)试用
摘要:备注: nomad 可以实现基础设施的调度管理,类似kubernetes ,但是在多云以及多平台支持上比较好, 还是hashicrop 工具出品的,很不错,同时本地测试因为使用默认的job需要安装docker 1. 下载 备注: nomad 可以实现基础设施的调度管理,类似kubernetes ,但 阅读全文

posted @ 2017-11-30 15:52 荣锋亮 阅读(1348) 评论(0) 推荐(0) 编辑

Kanboard 看板工具配置使用
摘要:备注: 类似的开源工具有wekan 界面还有功能和Trello 类似。比较方便 1. 安装(基于docker+ docker-compose) a. 安装docker && docker-compose 具体省略,参考相关文档,比较多 b. 安装Kanboard git clone https:// 阅读全文

posted @ 2017-11-30 10:04 荣锋亮 阅读(984) 评论(0) 推荐(0) 编辑

container-diff 谷歌开源镜像分析工具使用
摘要:1. 安装 curl -LO https://storage.googleapis.com/container-diff/latest/container-diff-linux-amd64 && chmod +x container-diff-linux-amd64 && sudo mv conta 阅读全文

posted @ 2017-11-27 13:22 荣锋亮 阅读(771) 评论(0) 推荐(0) 编辑

toxiproxy 安装试用
摘要:备注: 实际上是一个代理工具,但是又不是简单的进行代理(tcp,可以配置策略,toxics 实现延迟,模拟故障, 对于这个大家可能了解的就是netflix 公司的chaos monkey,实际的使用大家可以参考相关文章,本次只是 对于toxiproxy 的简单安装试用,同时这个工具可以放到大家持续集 阅读全文

posted @ 2017-11-20 09:53 荣锋亮 阅读(1446) 评论(0) 推荐(0) 编辑

Toxiproxy 网络情况模式代理
摘要:1. 介绍 1. 介绍 Toxiproxy is a framework for simulating network conditions. It's made specifically to work in testing, CI and development environments, su 阅读全文

posted @ 2017-11-19 19:19 荣锋亮 阅读(434) 评论(0) 推荐(0) 编辑

gradle build scan 插件使用
摘要:1. 添加插件 build.gradle plugins { id 'com.gradle.build-scan' version '1.10.2' } buildScan { // Uncomment the lines below to agree to the Terms of Service 阅读全文

posted @ 2017-11-13 14:16 荣锋亮 阅读(1437) 评论(0) 推荐(0) 编辑

gradle 配置java 项目maven 依赖
摘要:1. 内置的 repositories { mavenCentral() } 2. maven 私服 repositories { maven { url "http://maven.aliyun.com/" } } 3. 依赖私有jar 包 // 指定几个文件的 dependencies { co 阅读全文

posted @ 2017-11-12 23:53 荣锋亮 阅读(328) 评论(0) 推荐(0) 编辑

gradle 插件
摘要:1. 系统内置插件的应用 a. 二进制 apply plugin :"pluginname" 比如: java b. 脚本插件 apply from : "version.gradle" task demo << { println "the script info $version.code && 阅读全文

posted @ 2017-11-12 23:42 荣锋亮 阅读(239) 评论(0) 推荐(0) 编辑

gradle java 简单项目使用
摘要:预备环境 gradle 配置好变量,方便生成项目 1. 环境配置 gradle wrapper 生成项目结构 ├── build.gradle ├── gradle │ └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.propert 阅读全文

posted @ 2017-11-12 23:06 荣锋亮 阅读(401) 评论(0) 推荐(0) 编辑

gradle wrapper 简单使用
摘要:其实就是对于gradle 的一个包装,保证了项目版本的一致,同时减少配置 1. 生成wrapper // 使用gradle wrapper 命令 gradle wrapper 输出效果如下: [root@iZ2zeg7uro1snhd9wqmp2oZ first]# gradle wrapper S 阅读全文

posted @ 2017-11-12 21:07 荣锋亮 阅读(561) 评论(0) 推荐(0) 编辑

导航