summaryrefslogtreecommitdiffstats
path: root/ci
AgeCommit message (Collapse)AuthorFilesLines
2017-01-12Use different variables for local workspace and remote workspaceAlex Yang1-11/+18
1. get local WORKSPACE from the script path 2. use REMOTE_SPACE for jumpserver, WORKSPACE for local 3. specify the vm storage directory Change-Id: I7ff17d40819b6a74ce81862c32ce4a71b3eb8c73 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-01-07Merge "Run docker from dockerhub"Zhijiang Hu1-31/+5
2017-01-05Run docker from dockerhubJulien1-31/+5
1. Use the build image in releng; 2. Pull down the newest image and run; 3. Delete unused codes; wait from docker image build(26449) and upload in the dockerhub Change-Id: I72b072aff6cd905b426451768dc51d17eee6c0a3 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-01-04clean up env before deployZhou Ya1-8/+33
1、modify function param standarded 2、modify centos version 3、clean up net and host before deploy 4、modify daisyserver password and node size Change-Id: I9cbf4c5ed9984b12941afc8e45dba216f2b5ee0d Signed-off-by: Zhou Ya <zhou.ya@zte.com.cn>
2017-01-03Merge "fix "No space" error in docker building"Zhijiang Hu1-6/+9
2017-01-03Merge "Add git branch & tag info to version file"Zhijiang Hu1-2/+11
2017-01-03Fix bug in removing docker containers and imagesAlex Yang1-3/+2
1. "unexpected unclosed action in range" occurs in "docker inspect -f $ops ..." 2. "No such image" occurs in "docker rmi ..." Change-Id: I1a1ae9441beb3739585c8f2dcb63029b16c0c2fe Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2016-12-30solve no file of known_hosts bugzhouya1-1/+1
Change-Id: If70e8765709d49a22a4f6c17ab4e2c4589fbf05a Signed-off-by: zhouya <zhou.ya@zte.com.cn>
2016-12-29fix "No space" error in docker buildingAlex Yang1-6/+9
The space of the /root directory in the docker image is only 10G. "No space" occurs in docker building. So the tmp directory should be changed. Change-Id: Idfa831bac88e2b8ea8e4312247611dc9a1dcda65 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2016-12-26Add git branch & tag info to version fileZhijiang1-2/+11
Change-Id: I860bcb9d08a9590ed7902e33a925ec1412e67408 Signed-off-by: Zhijiang <hu.zhijiang@zte.com.cn>
2016-12-20implement deploy on virthal podYao Lu1-39/+104
Change-Id: I600e21f0d36f37c75cac4ace5f7225e32ab93d56 Signed-off-by: Yao Lu <lu.yao135@zte.com.cn>
2016-12-19Merge "Container image build script"Zhijiang Hu1-0/+202
2016-12-18Container image build scriptZhijiang1-0/+202
JIRA: DAISY-17 Change-Id: I91a2e27be3eec1e6edc1b5ed2c9b2b91f15f7705 Signed-off-by: Zhijiang <hu.zhijiang@zte.com.cn>
2016-12-12Move Dockerfile to ./docker pathJulien2-52/+1
According to other projects(releng/jjb/releng/opnfv-docker.yml), all the Dockerfiles are put in ./docker path. The daisy docker build procedure will be seperated from daisy bin file build procedure. The daisy docker will be directly used during the bin build procedure. It will help to safe the build time. A seperate job will be created in Jenkins to monitor the Docker changes and will build the docker image. Change-Id: Ib68ec3657d7296041aa9dc99f8e578cb0466679f Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2016-12-12Miss call cleanup_docker_imageJulien1-2/+1
1. The function 'cleanup_docker_image' is not called by mistake. 2. Use 'docker run --rm' means: docker will automatically delete the containers. It's not necessary to call it in the end of bash file. according to the log: 'No containers to cleanup.' Change-Id: I67b9ff3ed193467669b80d5a19e36fd077af537d Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2016-12-10Merge "bash format"Zhijiang Hu1-39/+36
2016-12-08Merge "modify spelling mistake"Zhijiang Hu1-1/+1
2016-12-07bash formatJulien1-39/+36
1. use 4 header spaces instead of 8 2. keep max line width less than 80 3. don't mix use header tab and header space according pep8 4. for we use -x debug switch, no necessary to echo debug info Change-Id: I1cb4adf0fcfdad3bc015213ae4ad9b822748dd82 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2016-12-07modify spelling mistakezhouya1-1/+1
Change-Id: Idbcf956afb4be1b7128999c74c90ec6ed16ac33a Signed-off-by: zhouya <zhou.ya@zte.com.cn>
2016-12-05Modify the OpenStack Software Repositorieszeyu zhu1-1/+1
Change-Id: Iad4bdef7c2b7f02776224b03cb55e5bd42d3cc71 Signed-off-by: zeyu zhu <zhu.zeyu@zte.com.cn>
2016-11-19add common config and parse it to prepare deployYao Lu1-25/+26
Change-Id: I864082b885a4c7117f0b546da602e9580e8ccf46 Signed-off-by: Yao Lu <lu.yao135@zte.com.cn>
2016-11-17exit deploy.sh before finish testYao Lu1-2/+6
Change-Id: Ie988eec63ab59997cfecd5cd9b6af3e4976244c3 Signed-off-by: Yao Lu <lu.yao135@zte.com.cn>
2016-11-15add map with local and docker path /home/cacheYao Lu1-1/+1
Change-Id: I7f3ad5c7c7f70a14b7efd6e27c9958b1e396eef0 Signed-off-by: Yao Lu <lu.yao135@zte.com.cn>
2016-11-14install wget rpm in dockerYao Lu1-0/+1
Change-Id: I89d877e53c36c7ba329cc5d966b1089b59903806 Signed-off-by: Yao Lu <lu.yao135@zte.com.cn>
2016-11-14rename daisy bin with gerrit numberYao Lu3-3/+8
Change-Id: I5314a0ba1a7885c334ea939c91eaa6ece074cb0d Signed-off-by: Yao Lu <lu.yao135@zte.com.cn>
2016-11-11add deploy scriptYao Lu1-0/+58
Change-Id: I1f12690f4f736adbd42222561edd18ca4b7c6925 Signed-off-by: Yao Lu <lu.yao135@zte.com.cn>
2016-11-09Add packages required by build scriptZhijiang1-2/+4
Change-Id: Iabb6dbd5a542843d0607f1b5b73991404f3e4eaa Signed-off-by: Zhijiang <hu.zhijiang@zte.com.cn>
2016-11-09Fix docker builder base image to centos7Zhijiang1-1/+1
Change-Id: I5b4c79aecfd300a325c7a9c06bdaf671f4cf37d5 Signed-off-by: Zhijiang <hu.zhijiang@zte.com.cn>
2016-11-03add patch of openstack/daisycloudYao Lu2-2/+42
the patch is about integrate kolla tar and tgz and centos to daisy bin and cp to appoint path Change-Id: I3043d2a38f15cdff44f9c777bff8bb5e517684bd Signed-off-by: Yao Lu <lu.yao135@zte.com.cn>
2016-11-01Automatically remove the container when it exitsZhijiang5-68/+55
Change-Id: I7ce146ef4dc8717e782600750660dddf45e3047f Signed-off-by: Zhijiang <hu.zhijiang@zte.com.cn>
2016-10-14add build script for daisy4nfvJing Sun5-0/+154
Change-Id: I53daa25a87f04b2e0d4988d095a8d99535489dac Signed-off-by: Jing Sun <sun.jing22@zte.com.cn>