豆瓣广告系统持续集成相关的实践
-
Upload
william-zhang -
Category
Technology
-
view
540 -
download
7
description
Transcript of 豆瓣广告系统持续集成相关的实践
+Development Environment init
n Long doc for env init fab dev.init
fab dev.gen_config:
Ref http://tinyurl.com/mcnqdua
+Remote import package
n bitbucket.org
n github.com
n code.google.com
Ref: http://golang.org/src/cmd/go/help.go
Remote import
目录中的package
+初涉CI,从测试出发 �
n Go Lang n Fab as tasks tool
n Remote import package by reversion
n CI for master n go2xunit
+CI for SVN branch
n Create continuous build job for branch update
n Publish failed build result to developer
+Github (Pull Request) flow
n Master branch is deployable
n Create a descriptively named branch off of master
n Commit to that branch locally and push to the server
n When you need feedback or help, or branch is ready for merging, open a pull request
n After reviewed and signed off on the feature, merge it into master
n After merged, deploy immediately
ref: http://scottchacon.com/2011/08/31/github-flow.html
Pre-release: traffic, traffic
Nn% NN:与主站的pre-release联动
nn% Nn:tcpcopy 流量复制 N:手工检查页面
n%
https://github.com/wangbin579/tcpcopy
+Configuration service
n Cluster Configuration Files in git n Pull Request
n Push Configuration to cluster
n Notification
Via http://tinyurl.com/ncbfazn