summaryrefslogtreecommitdiffstats
path: root/ci/build_rpm
AgeCommit message (Collapse)AuthorFilesLines
2018-04-03re-point to upstream stable/queensZhijiang Hu1-1/+1
Change-Id: Iee938b95b15a2780f04c118f0bf42e1aeb5cc9ec Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2018-03-30Fix to upstream stable/pike branchZhijiang Hu1-8/+1
To satisfy security check, DAISYCORE_REPO and DAISYCORE_TAG are deleted. Change-Id: Ib3cf4c50a417f28502c4e3115f47429065620ca1 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-10-12Add -allow-limited-size to mkisofsZhijiang Hu1-1/+1
Otherwise, we encountered: File target/el7/noarch/opnfv-2017-10-11_09-58-21.bin is larger than 4GiB-1. -allow-limited-size was not specified. There is no way do represent this file size. Aborting. Change-Id: Ied43c9e0c0e635ff52740c18b3b3001a4e6a3604 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-10-08Create iso file during buildZhijiang Hu1-0/+1
Change-Id: I6ddfe8e291ea8f6d673bd82c4df310d63f61a130 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-09-26Switch to upstream daisy's master branchZhijiang Hu1-1/+1
Change-Id: I7a88d8b65168356420aee2042ac3902834633477 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-07-28Merge "Solve double container removal problem"Zhijiang Hu1-1/+1
2017-07-26Solve double container removal problemZhijiang Hu1-1/+1
From [1], We got an error from docker: "No such container: daisy" while issuing "docker rm -v -f daisy", this OK because we do docker run --rm before this. So it is safe to add "|| true" after "docker rm -v -f daisy". [1] https://build.opnfv.org/ci/job/daisy-build-daily-master/500/console Change-Id: I3d17595156f1b6181a84d9a03e2cd6ddff275eb3 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-07-26Close upstream merge windowZhijiang Hu1-1/+1
Switch to upstream daisy's stable/ocata branch Change-Id: I5ff0b0a28a8d2f76f0cb813af8f8241175bb6054 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-05-04Increase PACKETS_PER_BUFFER to 65536Zhijiang Hu1-0/+4
1) This mainly increase PACKETS_PER_BUFFER to 65536 to reduce the frequency of TCP client acks. 2) Also kills TCP_BUFF_SIZE and define each buffer size in a more intuitive way. 3) Free more unused memory to prevent being killed by oom-killer after enlarged PACKETS_PER_BUFFER. 4) Increase client's select() timeout to 20 secs, since we encountered timeout due to CPU busy in the same BM but with 20 VMs. Tested this PS in a 10 VM node env, and it can multicast a 2.7G file to 10 VMs in 6 minutes, while unicast needs 30+ minutes. Change-Id: Iaf862fb1f1259cc770f720ccdd95dcc281aef262 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-04-25Print out error message of docker commandsZhijiang Hu1-2/+2
This print out error message of docker commands to find out the reason of error like[1] [1] https://build.opnfv.org/ci/job/daisy-build-daily-master/239/consoleFull Change-Id: Ic1bd85d999dbe584764bc9a05d22579835e55516 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-04-25ignore the git history in daisy building jobAlex Yang1-5/+4
Now the daisycloud-core is a big repo because there are some big files in the git history. Use "--depth 1" to reduce the amount to download. Change-Id: I8ce0dc6675d2239a126bcf558300f1ad45cd3fb3 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-03-22abolish tag to use branch to get daisy from upstreamzhouya1-2/+1
Change-Id: I3bcc1e6d9cbcb2974fc9246a3b1559f9b988d530 Signed-off-by: zhouya <zhou.ya@zte.com.cn>
2017-03-08add patch from upstream to fit bm deployzhouya1-0/+1
Change-Id: Iefba02c658f7feb45868822334deada245b1d7aa Signed-off-by: zhouya <zhou.ya@zte.com.cn>
2017-03-02Fix an error in docker volume removeAlex Yang1-1/+1
Replace $containers_to_kill with $volumes_to_remove in docker volumes removing. Change-Id: I715ff135099be0a8c9424ab3f94509ee72558415 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-02-28Fix daisycloud-core to a specific tagZhijiang1-0/+9
Change-Id: Ife00fdc3409711f8d2de54f03a2a48f778761f80 Signed-off-by: Zhijiang <hu.zhijiang@zte.com.cn>
2017-02-22Add executable attribute to opnfv bin fileAlex Yang1-0/+1
1. Add executable attribute to the build-output bin file 2. Determine whether the bin file exists and is excutable before deployment Change-Id: I95b43c9efacfbd47a5f570dac793c0a8d3fe9bbb Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-02-07Resolve build silent failureZhijiang Hu1-1/+24
1) Add "-f" to docker rmi command, otherwise we encountered "Error response from daemon: conflict: unable to remove repository ..." 2) Remove "2>&1" to get error message printed out if present. 3) Add cleanup_container, otherwise we got "Error response from daemon: Conflict. The name "/daisy" is already in use by container" Change-Id: Ic5cecb34699c6fbe0d3af45be38633d35bdfc89f Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
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-03Merge "fix "No space" error in docker building"Zhijiang Hu1-6/+9
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-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-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-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-05Modify the OpenStack Software Repositorieszeyu zhu1-1/+1
Change-Id: Iad4bdef7c2b7f02776224b03cb55e5bd42d3cc71 Signed-off-by: zeyu zhu <zhu.zeyu@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 Lu2-2/+6
Change-Id: I5314a0ba1a7885c334ea939c91eaa6ece074cb0d 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 exitsZhijiang4-66/+51
Change-Id: I7ce146ef4dc8717e782600750660dddf45e3047f Signed-off-by: Zhijiang <hu.zhijiang@zte.com.cn>
2016-10-14add build script for daisy4nfvJing Sun4-0/+138
Change-Id: I53daa25a87f04b2e0d4988d095a8d99535489dac Signed-off-by: Jing Sun <sun.jing22@zte.com.cn>