summaryrefslogtreecommitdiffstats
path: root/jjb/opnfv/opnfv-docker.sh
AgeCommit message (Collapse)AuthorFilesLines
2016-09-29[Docker] Propose common directory for the Dockerfilejose.lausuch1-16/+3
Proposal 3 from this wiki: https://wiki.opnfv.org/display/INF/Docker+handling+in+CI#DockerhandlinginCI-3Dockerfilelocation JIRA: RELENG-148 Change-Id: I0d44831feed30bd74ddda92aca262a414a4baee0 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-09-29Adapt docker commands to version 1.12.1jose.lausuch1-2/+2
Change-Id: If99c135537750779c037bc4f47732a894da91a7b Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-09-19dovetail docker job addedMatthewLi1-0/+2
JIRA: DOVETAIL-14 Change-Id: I41be18ee88f5798509a608fe9bd66c6971bbff82 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-09-06[Docker] Use build time args only for Functestjose.lausuch1-1/+6
Using build-time arguments on Dockerfiles which dont use the argument throws an error: One or more build-args [BRANCH] were not consumed, failing build. Examples: https://build.opnfv.org/ci/view/functest/job/functest-docker-build-push-master/lastBuild/console Change-Id: I2acb3a52ef648ca4f160f63cdcdebf1dae5931bc Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-09-06[Docker] Add git branch as an argument to the dockerfile at build timejose.lausuch1-1/+1
This will be useful for the dockerfiles which need to have this as a parameter to clone the respective repositories. Needed for Functest. Related JIRA: FUNCTEST-458 Change-Id: I6c818bdbc6d9935a6bf5274487540309ce1017b6 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-05-24storperf: Fix the typo in DOCKER_REPO_NAMEFatih Degirmenci1-1/+1
Change-Id: I55255a33bb0c2cf88c709024f1712e5310082ae6 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-05-24Yardstick: change ci path for docker_build_push scriptMatthewLi1-1/+1
JIRA: YARDSTICK-269 Change-Id: I78082402e3083fbab3e0b8974f23ccd4dad2e980 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-05-17publish cperf docker to dockerhub repoJamo Luhrsen1-6/+8
Change-Id: I3f8d0eb96b42b4b9081941cf68aad7bf17347276 Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
2016-04-25Avoid colissions between docker-build jobsjose.lausuch1-0/+8
Problem to be fixed: if the job detects that there is another docker-build in progress it will exit but won't be triggered again until it detects a new commit in the repo. Change-Id: Ifee419f50fa9d4cb21825302688e1af3311c4bb9 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-13Bottlenecks: bugfix to add whitespaceMatthewLi1-1/+1
Change-Id: I7871e177f88363369b4efa866590ff853d4cdcbd Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-04-13Bottlenecks: add project to the docker build/push jobMatthewLi1-0/+2
JIRA: BOTTLENECK-60 Change-Id: Ibcadaa6251e373c01a5e318dff67ec64d18760c4 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-02-25docker: Make it possible to specify tags for Docker Images of test projectsFatih Degirmenci1-5/+7
Also use latest for images built on master and stable for images built on stable branch. Change-Id: I0988be86abcb2a13d8e94962b4ba1ced8778793b Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-02-01Add -f to create a new tag to docker jobjose.lausuch1-7/+8
Also, build latest first and create brahmaputra tag later Change-Id: Iee1d63576b21ca30d75d2ae1fe35bbd8747f9037 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-01-28Add license headerFatih Degirmenci1-0/+8
License headers are added. - Set company name based on the author who created the file first time - Add SPDX header for Apache 2.0 Change-Id: I8f357a2d6f75179171c681f4b53e0f4249eca5a2 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-01-18test: Add more consistency when cleaning docker containers/imagesjose.lausuch1-10/+7
Change-Id: I085ca47e4e487d93c700c3e729b8b86b2b7abde1 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-01-13test: add --no-cache flag when building docker imagesjose.lausuch1-1/+1
Now in the right place Change-Id: I3b42c51775d57561d530b3407752433c48253dc4 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-01-13test: add --no-cache flag when building docker imagesjose.lausuch1-1/+1
Sometimes, if the docker leftovers are not properly removed, there is some cache that the build uses. This will force to build from scratch without using any existing image (no cache) Change-Id: Ifb19b2fc01da938cf46eb18d62a5877cf0a560e5 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-01-13test: Remove escape characters from docker jobjose.lausuch1-9/+9
Fetching the branch name is now fixed too. Change-Id: Ib83afb4f938890285ab861634eb8fef654a10d76 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-01-12test: Fix dockerfile pathjose.lausuch1-3/+3
Change-Id: Ica1cadc79ee6fd7ff96d66b3f4fb798098fad452 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-01-11Enable test projects' docker image builds for stable/brahmaputra branchFatih Degirmenci1-16/+21
Change-Id: Ib936f58d1f21c4e782cdb1e19d1615b1bed30007 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-01-06QTIP OPNFV Docker Build issue fixNauman_Ahad1-0/+2
The opnfv-docker.sh script didn't have a condition to build Dockerfile for qtip. This has been added. Change-Id: I4f22b467e13ec460826bed3ffd783f7dd7f766e3 Signed-off-by: Nauman_Ahad <Nauman_Ahad@dell.com>
2015-12-27Wait for containers to be removed before removing imagesjose.lausuch1-4/+14
This will avoid some errors like this: "Error response from daemon: conflict: unable to delete 44c2887519de (must be forced) - image is being used by stopped container 7dbed6d40e5a" Change-Id: I54b8b76fbcc6f208ab52c88b43ea18af935e69c7 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-10Include storperf in the automatic docker image build processjose.lausuch1-0/+2
JIRA: STORPERF-15 Change-Id: I991b122ef632666fcea4dc8a73dd6fc1a029cbff Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-11-27Remove additional brackets from docker job.jose.lausuch1-3/+3
Change-Id: I7c3003272326bb1bbbe1b7d9331ac690841a7c21 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-11-26Create generic jenkins job to build and push a docker imagejose.lausuch1-0/+93
This is a proposal so that we use the same methodology when it comes to building and pushing docker images. With this approach, yardstick Makefile is not needed for automation. For now, it is usable by Yardstick and Functest docker images. JIRA: RELENG-55 Change-Id: I58cfb4740cdfca82f69c102caefe9f29c92f099e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>