http://blog.csdn.net/yuexianchang/article/details/53114423
实践该方法:Continuous Integration 简称CI.
一、是什么
1.1.官网定义
Each integration is verified by an automated build (including test) to detect integration errors as quickly as possible. Many teams find that this approach leads to significantly reduced integration problems and allows a team to develop cohesive software more rapidly.
可以理解为:协助开发及时发现集成问题,将软件集成这个工作自动化.
1.2.同类技术有哪些
1.3.对比同类的优缺点
1.4.组成部分
1.4.1【持续集成服务器就是能够采用自动化的手段,来解放人的双手,实现项目持续集成的工具。与之配套的软件有 TeamCity、Jenkins、Go 等。】应该如何理解
1.4.3 持续集成工具,这里选择GitLab CI【If you want a fully-automated process, with GitLab you can do that too.】
1.4.4 GitLab-Runner
A Runner is responsible for the actual build and can be configured to be used with one or many projects. It talks to the GitLab CI API, reads .gitlab-ci.yml, follows the steps defined in that file and sends the results to GitLab CI.它与GitLab CI API对话,读取.gitlab-ci.yml,遵循该文件中定义的步骤,并将结果发送给GitLab CI。
Q:安装GitLab-Runner
We will need a server instance where we will install the GitLab Runner?【https://about.gitlab.com/2016/03/01/gitlab-runner-with-docker/】
1.1.5
二、为什么会出现
2.1.没有这个技术之前怎么做?解决什么问题?
三、怎么做3.1如何跑自动化测试
可以跑Gitlab自动化测试的的Executor有很多种,这里我们选择了用Docker作为Executor去跑自动化测试。
参考:
https://about.gitlab.com/2016/03/01/gitlab-runner-with-docker/
http://scarletsky.github.io/2016/07/29/use-gitlab-ci-for-continuous-integration/
https://tech.upyun.com/article/245/CI1.html
http://www.cnblogs.com/love-snow/articles/7676291.html
https://docs.gitlab.com/runner/install/linux-repository.html
http://scarletsky.github.io/2016/07/29/use-gitlab-ci-for-continuous-integration/ 【gitlab-ci-multi-runner是旧版本,官网上可以查到
】
https://segmentfault.com/a/1190000006120164
https://zacksleo.github.io/2017/05/30/GitLab-CI%E5%AE%9E%E7%8E%B0%E8%87%AA%E5%8A%A8%E5%8C%96%E6%B5%8B%E8%AF%95/index.html
http://www.importnew.com/24358.html