openStack CI(Continuous interaction)/CD(Continuous delivery) Gerrit/Jenkins安装及集成,插件配置

preFace:

CI/CD practice part contains the following action items and fields of expertise:

Gerrit installation and basic configuration
? Jenkins installation and basic configuration
? Jenkins and Gerrit interaction (Gerrit plugin setup for Jenkins)
? Brief intro and practice how to use gerrit
? Brief intro and practice how to use jenkins jobs
? Jenkins slave setup
? Create simple flow of gerrit and jenkins jobs interaction

Practise LAB force demand:

3VMI:

*Gerrit server:

1 CPU core

1 GB of RAM

2networks(1 of nat,1of internal network)

20 GB flexible HDD drive

UBuntu 14.04

Jenkins server:
? 1 CPU core
? 1 GB of RAM
? 2 networks (1 for NAT, 1 for internal network)
? 20 GB flexible HDD drive
? Ubuntu 14.04
     Jenkins slave server:
? 1 CPU core
? 1 GB of RAM
? 2 networks (1 for NAT, 1 for internal network)
? 20 GB flexible HDD drive
? CentOS 6.5

Please note
Services configuration and practical tasks are designed for training only and does not applicable for
production use because the approach picked for flow realisation is not optimal,

<一,Gerrit deployment>
Requirements
Gerrit can use different backends for DB and UI, Http proxy etc. In this particular case we will use:
? MySQL - for DB backend
? Apache - for UI

For gerrit server we will use Ubuntu 14.04 OS

Linux发行版中,并非都存在/etc/hostname文件。如Fedora发行版将主机名存放在/etc/sysconfig/network文件中

Gerrit requirements installation
Now we will install MySQL and Apache for Gerrit:

Install mysql for gerrit info storage. Write down and save password for "root" mysql user. It
will be asked during install process

mirrors.aliyun.com    mirrors.163.com

default-jdk    openjdk-7-jdk

http://repo2.maven.org/maven2/mysql/mysql-connector-java/5.1.21/mysql-connector-java-5.1.21.jar        java连接mysql   jar包下载地址;

http://www.bouncycastle.org/download/bcpkix-jdk15on-149.jar

http://www.bouncycastle.org/download/bcprov-jdk15on-149.jar

时间: 2024-09-30 19:05:00

openStack CI(Continuous interaction)/CD(Continuous delivery) Gerrit/Jenkins安装及集成,插件配置的相关文章

4、Gerrit+Jenkins搭建CI系统

一,CI系统流程 开发人员将本地Git仓库中的代码更新后,push到Gerrit系统上对应的项目仓库中:该动作会触发Gerrit系统发送邮件通知给Owner,Owner此时需要登录Gerrit Web页面,进行Code Review(代码审核).如果审核通过,则Owner进行Submit提交动作.此时开发人员push的代码才会Merge(合并)到Gerrit服务器上的对应项目仓库中.如果审核不通过,则开发人员需要修改代码后再次push,直到审核通过为止.而Jenkins被Gerrit系统上某一事

gitlab+gerrit+jenkins持续集成框架

1.持续集成之gitlab+gerrit+jenkins 1.1. GitLab 1.1.1. 简介 GitLab 是一个使用使用Ruby on Rails搭建的,用于仓库管理系统的开源项目.使用Git作为代码管理工具,并在此基础上搭建起来的web服务 1.1.2. 环境搭建 a) Install and configure the necessary dependencies If you install Postfix to send email please select 'Interne

centos7下Gitlab+Jenkins部署持续集成CI环境

1.基本环境 主机:win10,IP:192.168.0.111:部署机器centos7,IP:192.168.0.65:内存推荐到8G,实测6G以上,以免出现内存不够用而报错. 2.安装gitlab需要的组件 [[email protected] ~]# yum -y install curl policycoreutils-python openssh-server openssh-clients postfix wget vim lrzsz启动邮件功能 [[email protected]

配置gitlab gerrit jenkins

配置gerrit 在gerrit创建jenkins用户 把jenkins用户加入Non-Interactive的组中 Projects -> List -> All-Projects Projects -> Access -> Edit -> 找到 Reference: refs/heads/* 项 -> Add Permission -> Label Verified-> Group Name 里输入 Non-Interactive Users ->

OpenStack(Kilo版本)网络服务neutron的安装部署

Openstack网络主要是和OpenStack计算交互,提供网络连接到它的实例.一.OpenStack网络服务包含的组件 图1.1. OpenStack Nova组件 二.OpenStack网络节点基本环节的搭建1.配置主机名和网络信息1.1配置主机名 [email protected]:~# vim /etc/hostname network 1.2 配置IP地址 [email protected]:~# vim  /etc/network/interfaces auto eth0 ifac

continuous integration and continuous deployment in DW/BI

deployment method In Redshift 1, Deploy process: Drop and Refresh the view, Drop table, Create an empty table using the DDL2, Build data: Insert the data to table from the view In Netezza, when do deployment: 1, Deploy process: Drop all the existing

gitlb gerrit jenkins CI整合调试

[原创]CI持续集成系统环境--Gitlab+Gerrit+Jenkins完整对接https://www.cnblogs.com/kevingrace/p/5651447.html

原文地址:https://www.cnblogs.com/gaoyuechen/p/8908367.html

教您一步一步利用Jenkins构建持续集成,持续交付环境CI/CD

第一步下载Jenkins环境 去Jenkins官网下载安装包:https://jenkins.io/zh/download/ 然后下一步傻瓜式安装 (1)安装插件,默认提供了一些插件,不管他全部安装 (2)下一步创建一个账号: (3)下一步是这样一个画面:   选择管理插件,在管理插件中,安装: Subversion Plug-in MSBuild Plugin Publish Over FTP 全局管理: 配置svn: 原文地址:https://www.cnblogs.com/NBIDataV