Mario洁 发表于 2018-7-6 14:22:10

Reliable Master持续集成环境搭建Centos

本帖最后由 Mario洁 于 2018-7-6 14:24 编辑

Reliable Master安装机器安装gitDockerDocker compose
[*]通过pip工具安装
yum install python-pip (检查是否安装python-pipyum -y install epel-release   进行安装执行成功之后,再次执行yum install python-pip对安装好的pip进行升级 pip install --upgrade pip
[*]进行docker-compose安装
pip install docker-compose.安装成功后检查一下版本号Docker安装请参见如下文档docker安装https://docs.docker.com/engine/installation/linux/centos/
Git查看系统是否安装gitgit--version安装yum install –y git卸掉yum removegit
创建macaca 文件夹1) build reliable-docker-base 镜像:执行: git clone https://github.com/reliablejs/reliable-docker-base --depth=1进入到 reliable-docker-base 目录
docker build -t="reliable-docker-base" .运行 docker images,你可以看到 reliable-docker-base 镜像2) build reliable-master 镜像:$ git clone https://github.com/reliablejs/reliable-master --depth=1$ cd reliable-master$ docker build -t="reliable-master" .
3) 使用 docker-compose 启动:$ git clone https://github.com/reliablejs/reliable-macaca-docker-compose.git --depth=1$ cd reliable-macaca-docker-compose$ make start
restart:"unless-stopped"再执行 make start,执行成功http://xxx:8080增加管理员用户Slave 搭建:npm install reliable-slave –g指定已经部署的 Master IP 或 域名即完成部署并挂载:reliable server -m <reliable-master:port> --verbose执行后,刷新后,便可可到slave机器已经连接上



页: [1]
查看完整版本: Reliable Master持续集成环境搭建Centos