summaryrefslogtreecommitdiffstats
path: root/jjb/releng
AgeCommit message (Collapse)AuthorFilesLines
2017-09-23nfvbench: Enable docker image builds for stable/euphratesFatih Degirmenci1-0/+4
Change-Id: I23ea156d9bbfa42c7bbf8dada344ded96b41e2e4 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-09-21Functest: Introduce building image job for euphratesLinda Wang1-0/+40
To build apline images for euphrates Change-Id: I63d77c99306aed263e220c2a0cd27ee2cca1ecb9 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-09-20Functest: Introduce building image job for euphratesLinda Wang1-7/+6
Change-Id: I9e4aab444490b7a85d2fd24344045452a62a0bcc Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-09-19Introduce Euphrates Jobsmbeierl1-1/+45
Adds stable/euphrates branch for StorPerf ARM jobs that were enabled for existing master Change-Id: I4f16097575367e8921e1f25201e57c3af5cd9d19 Signed-off-by: mbeierl <mark.beierl@dell.com>
2017-09-19[QTIP] Enable qtip docker build image job in euphrateszhihui wu1-1/+1
Change-Id: I01eb67919aa489c47d34976f9587f3187059d2b3 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-09-19Introduce StorPerf Euphrates Jobsmbeierl1-5/+36
Adds stable/euphrates branch for StorPerf jobs that were enabled for existing master Change-Id: Id11c4958c40cf8b8db49d545face4bd6ddbf31d3 Signed-off-by: mbeierl <mark.beierl@dell.com>
2017-09-14opnfv-docker-arm: Use new dockerdir variableAlexandru Avadanii1-1/+1
Previous changes defined the default value and overrides for 'dockerdir' jjb variable, but did not actually set it as the default for DOCKER_DIR. Change-Id: Id73aa60e786b4d4dafbcd18ce2fd926720f9d634 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-14Merge "opnfv-docker-arm: storperf: Fix docker repo name"Trevor Bramwell1-1/+2
2017-09-14opnfv-docker-arm: storperf: Fix docker repo nameAlexandru Avadanii1-1/+2
Storperf job definitions define an override for docker_repo_name, so use that in setting the default for DOCKER_REPO_NAME param. Change-Id: I772088437cd2d6d383ec2f0f44a202b01d95ff59 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-14opnfv-docker.sh: Fix unbound ARCH_TAGAlexandru Avadanii1-0/+1
Jenkins does not set ARCH_TAG to an empty string; instead it does not set that variable at all when the input is empty. Fix this by providing a default empty string in the script. Change-Id: Iec4c38068b1ab3e8dd124f49b36759eedb084f4a Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-13Optional Architecture Specific Pushmbeierl3-9/+86
Enables optional argument to specify the architecture to use when building and pushing the image. If project defines it, the arch is added to the docker version like so: arch-version. This matches the tag convention used by multiarch/alpine. Change-Id: I699c2aba05c55291b5f8c48bcc1daacceae6154b JIRA: STORPERF-210 Signed-off-by: mbeierl <mark.beierl@dell.com>
2017-09-12Added nfvbench docker configurationKerim Gokarslan1-0/+4
Change-Id: I90ff32b7047b768552f5d5e1c78d12e0bf4ea1a2 Signed-off-by: Kerim Gokarslan <kgokarsl@cisco.com>
2017-09-12Merge "Changing url of the reporting to original one"Morgan Richomme1-1/+1
2017-09-11Fix Releng Job Diff Experimental CheckTrevor Bramwell1-2/+2
Remove the '-q' arument to git-branch in the generate-job-diff script as the git version on Jenkins master is too old. Change-Id: I869a9713e75604600adf3ee8b8b96386ad4a8ff0 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-09-10Changing url of the reporting to original oneSakala Venkata Krishna Rohit1-1/+1
Changing url from reporting2 to reporting in job. Change-Id: I2252468c635749fe4fe60db54035b06a0f28de27 Signed-off-by: Sakala Venkata Krishna Rohit <rohitsakala@gmail.com>
2017-09-08Fix Expermental JJB Job Diff CommentingTrevor Bramwell2-11/+5
This change fixes the following issues: 1) 'nounset' will cause the script to fail when activating a virtualenv since the activation of a virtualenv unsets variables 2) There are not artifacts available from releng-merge-jjb and copying them would save minimal time over re-running jjb Change-Id: Ifc4297947c8fe235987a507ead932841480165a7 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-09-07Comment Pending JJB Changes on PatchsetTrevor Bramwell2-0/+98
Each time a patchset is created that has an effect on Jenkins jobs, a non-voting job will trigger that comments to Gerrit which jobs are added, modified, or deleted. This should help developers judge the overall impact an individual patchset may have on Jenkins since JJB macros can be expanded to any number of jobs. Change-Id: I99f9b68bc7933abfa39a941d6e65a73f62e58e56 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-09-06armband: Enable docker build/push for yardstickCatalina Focsa1-0/+9
Change-Id: I33f719578baadc70571832c5b7e7f146516c3020 Signed-off-by: Catalina Focsa <catalina.focsa@enea.com>
2017-09-05Just some job that lightly monitors slavesagardner1-0/+25
I would like to remove slaves that are offline eg: after one month. This script doesn't remove anthing, or email anyone, but you can look at its output if you are interested. Counts how long slaves have been online or offline not sure why jenkins doesn't come with this functionality. I just threw the script on the master node into /opt/jenkins-ci/slavemonitor Script writes data to be read the next day, and I don't want to worry about the workspace getting wiped. you can look at the scipt here: https://gist.github.com/Aricg/d770f7d0a4e88d149ddb6715dc4ad0ba But I don't recommend it. Example of what output looks like: JUST WENT OFFLINE arm-build3 JUST WENT OFFLINE arm-pod5 JUST WENT OFFLINE ericsson-build3 JUST WENT OFFLINE ericsson-virtual5 OFFLINE cengn-pod1 FOR 7 ITERATIONS OFFLINE cisco-virtual1 FOR 7 ITERATIONS OFFLINE ericsson-virtual8 FOR 7 ITERATIONS OFFLINE ericsson-virtual9 FOR 7 ITERATIONS OFFLINE intel-pod3 FOR 7 ITERATIONS OFFLINE intel-pod6 FOR 7 ITERATIONS OFFLINE intel-pod8 FOR 7 ITERATIONS OFFLINE intel-virtual1 FOR 7 ITERATIONS ONLINE lf-build1 for 6 iterations ONLINE lf-build2 for 6 iterations ONLINE lf-pod1 for 6 iterations ONLINE lf-pod2 for 6 iterations ONLINE lf-virtual1 for 6 iterations ONLINE lf-virtual2 for 6 iterations ONLINE lf-virtual3 for 6 iterations ONLINE zte-pod1 for 6 iterations ONLINE zte-pod2 for 6 iterations ONLINE zte-pod3 for 6 iterations ONLINE zte-pod4 for 6 iterations ONLINE zte-virtual1 for 6 iterations ONLINE zte-virtual2 for 6 iterations ONLINE zte-virtual3 for 6 iterations ONLINE zte-virtual4 for 6 iterations removing online status from arm-build3. slave was online for 1 iterations removing online status from arm-pod5. slave was online for 1 iterations removing online status from ericsson-build3. slave was online for 1 iterations removing online status from ericsson-virtual5. slave was online for 1 iterations Change-Id: I652ef5460cb1ce45ff4e87828eb779da7febe8b4 Signed-off-by: agardner <agardner@linuxfoundation.org>
2017-08-30Merge "Add repository archiver for compliance checks"Trevor Bramwell2-0/+91
2017-08-24Add StorPerf Graphitembeierl1-0/+5
Adds a new job to build and push graphite container for StorPerf Change-Id: I349f349116cabf4aa762b76b12ff4eb7b404e5b9 Signed-off-by: mbeierl <mark.beierl@dell.com>
2017-08-22Merge "Adds SwaggerUI"Aric Gardner1-0/+5
2017-08-22bugfix: TestAPI auto deploy success but shown as failSerenaFeng1-1/+1
when execute 'curl -s --head --request GET http://testresults.opnfv.org/test' 'HTTP/1.1 301 Moved Permanently' will be returned rather than 200 OK, result in the connectivity check fail. To fix this problem, use 'http://testresults.opnfv.org/test/' instead. Change-Id: I5d6916c15858b3f431a2ab18aeef7f352cb9e31b Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-08-17Adds SwaggerUImbeierl1-0/+5
Adds build for storperf-swaggerui as this is now based off multiarch/alpine to enable ARM support Change-Id: I8cec4277cda39e87face9c37179deea704b9bf27 Signed-off-by: mbeierl <mark.beierl@dell.com>
2017-08-17prepare for testresults.opnfv.org's watchdogSerenaFeng2-57/+105
Due to the frequent crash in testresults.opnfv.org, watchdog will be introduced to monitor the status of docker daemon/testapi container/reporting container, to make timely recovery, to make things clear, some refactors included in this patch: 1) leverage container name and image name rather than id 2) address three conditions during the update 3) refactor code to be more readable Change-Id: Ifa7a6fd94db62d532026b5fad33835b0e2abd9af Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-08-02Send 'Build Failed' Emails to Jenkins AdminsTrevor Bramwell4-0/+5
Adds the 'email-jenkins-admins-on-build-failures' publishers for jobs which have overridden the default list of publishers. This will provide Jenkins administrators a time-series list of build failures to assist in debugging issues with the master and agents. JIRA: RELENG-257 Change-Id: I28f12877562113c9197ed6429ee2a7f3cdbaf346 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-07-25Remove Old Storperf Docker JobTrevor Bramwell1-4/+0
This has been replaced by three seperate docker build jobs. Change-Id: Ib82e6e69e631ca0122a2dd8ee7881f22884cae39 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-07-24This job will allow projects to create custom docker jobsagardner1-0/+111
Just create these files in the root of your repo merge-docker.sh verify-docker.sh Then do what you want with docker triggers on changes in docker/* This will not be merged unless a project expresses interest. Multiple dockerfiles per project is now supported by old method. Change-Id: I68dcf373b4ddc4332ded97b81e00a2cf462917d6 Signed-off-by: agardner <agardner@linuxfoundation.org>
2017-07-24Create Docker Builds for Storperf DockerfilesTrevor Bramwell1-0/+15
Taking advantage of the changes to the way the docker build job is configured, this adds builds for all three dockerfiles in the storperf repository. Change-Id: I88480d8453486e0fd1610b48cdd517751f907d34 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-07-24Merge "Multiple Dockerfile Builds per Project"Trevor Bramwell3-6/+38
2017-07-24Multiple Dockerfile Builds per ProjectTrevor Bramwell3-6/+38
Instead of defining docker build jobs in terms of projects, we define them in terms of dockerrepos. Each dockerrepo is associated with a specific project and may have a seperate Dockerfile (which defaults to 'Dockerfile' if unspecified), and location for files needed by the Dockerfile (default: 'docker'). This should allow for running multiple docker builds out of a single project repository without having to modify the current docker build scripts. The output of this job configuration should match what is currently in Jenkins. Change-Id: I9089d57a0c7cc56be4225b56e96bec56be258f1f Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-07-21Revert "Comment Pending JJB Changes on Patchset"Trevor Bramwell2-72/+0
There are obviously way more issues than expected with this change and it is currently blocking releng verification. This reverts commit 97b70892a76351da03f981ff4559aabfed0e0840. Change-Id: I871e35fc0dd36dbdee315b6efbe3d7fb99e38463 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-07-21Merge "Comment Pending JJB Changes on Patchset"Trevor Bramwell2-0/+72
2017-07-14testapi: bugfix of not exist xmlMatthewLi1-1/+3
Change-Id: I43bc486e2fc12bea5f7664cc1e5acc5630e5f739 Signed-off-by: MatthewLi <lijun_1203@126.com>
2017-07-13Merge "leverage tox to trigger verify job in reporting/TestAPI"Serena Feng1-18/+2
2017-07-13leverage tox to trigger verify job in reporting/TestAPISerenaFeng1-18/+2
Change-Id: Ie374bb151f351764e86d05d7c7b8e254c9d6cd59 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-07-12Comment Pending JJB Changes on PatchsetTrevor Bramwell2-0/+72
After submitting a releng patchset a comment listing the jobs that are added, modified, or deleted by the change will be posted to the review. Change-Id: I53562c9ad5b0185d3dfe354e265e250c7e9f7f72 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-07-12Making docker deploy script genericSakala Venkata Krishna Rohit2-19/+27
Replacing words with variables to make docker deploy generic so that it can be availed by other modules. Change-Id: Iacf4829aa5feede48038b71155a4dab43a8d427d Signed-off-by: Sakala Venkata Krishna Rohit <rohitsakala@gmail.com>
2017-07-11Remove SERVER_URL in reporting deploy jobchenjiankun1-1/+1
Since we improved the reporting deploy way, the SERVER_URL is set to http://testresults.opnfv.org/reporting2 by default. So we don't need to set it. So we have to ways: In CI: docker run -itd -p 8084:8000 opnfv/reporting:tag Personal use: docker run -itd -p 8084:8000 -e SERVER_URL={server_ip}:8084 opnfv/reporting:tag (8084 is the port mapping, you can change it) Change-Id: Ibe8adbb4601378d59d4d1fe6c7dd3266222c47d1 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2017-07-10Merge "Yamllint Job for Octopus, Pharos, and Anteater"Trevor Bramwell1-2/+2
2017-07-06bugfix for reporting verify jobSakala Venkata Krishna Rohit1-0/+1
Copying xml files to workspace folder as jenkins searchs for xml files from workspace directory. This solves the configuration error the reporting verify job is facing. Change-Id: I747a6e93995188d645d3fa09cdbd60e7a7fc453b Signed-off-by: Sakala Venkata Krishna Rohit <rohitsakala@gmail.com>
2017-07-06Bugfix for failure of reporting verify jobSakala Venkata Krishna Rohit1-1/+2
Prefer to run unit tests from the directory in which unit test script is present as errors are being raised if it is being run from other directories. Change-Id: Ifa2000ac333f2e985feeae76c0040a1831f60253 Signed-off-by: Sakala Venkata Krishna Rohit <rohitsakala@gmail.com>
2017-07-05bugfix: hardcoded testapi urlsSerenaFeng1-1/+1
testapi webportal's urls are fixed in configure files this patch aims to modify them according to base_url provided when bringing up container Change-Id: I29c461fc3b837e54d4ff5330dcaa520637590ff7 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-07-02Add jenkins jobs for automatic reporting dashboard deploymentrohitsakala4-67/+103
Jenkins Jobs have been added for automating the deployment of the reporting dashboard. Also multijob has been added for automating the update of docker in the docker hub and generating docs which is empty for now. Modified unit tests of reporting to make it run from any directory. Modified the testapi jenkins jobs yaml file to generic so that many other modules which may have the same usecases can be integrated easily just like the reporting one that is done now. Change-Id: Id13a55416e17199dae1dd6ce64f7c167d117ba37 Signed-off-by: Sakala Venkata Krishna Rohit <rohitsakala@gmail.com>
2017-06-23Yamllint Job for Octopus, Pharos, and AnteaterTrevor Bramwell1-2/+2
Pharos, Octopus and Securedlab are listed in the wrong lint check job so new patchsets aren't being ran against yamllint. Anteater is included in the list of yamllint checks due to it being part of Infra-WG and containing yaml files. Fixes still need to be done for the securedlab and releng repos before they are added at a later time. JIRA: INFRA-101 Change-Id: I696b233e076899107180ed9bbad9a7f7785058d3 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-06-23Merge "Changing urls of testapi api and resources"Serena Feng1-1/+1
2017-06-22Add repository archiver for compliance checksRudy Grigar2-0/+91
Change-Id: Ibf82ed705202f6bd343c59862018d67ba1f31496 Signed-off-by: Rudy Grigar <rgrigar@linuxfoundation.org> Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-06-20Support to build docker image with commit idMatthewLi2-9/+13
JIRA: DOVETAIL-447 this support dovetail to make tag/container snapshot at some commit id this will also used for functest/yardstick if needed, since their danube.2.0/3.0 may not satisfy dovetail requirements, while their snapshots at some commit id satisfy. Change-Id: I76cf6df586d1c9f0f563c6bfc039e3e271dc3de8 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-06-05rename the project name for anteater for docker buildFatih Degirmenci1-1/+1
The docker build jobs attempts the clone the repo for the project it builds the docker image for. This change renames the project to match the actual repo name. Change-Id: Ibd55c8b75e61330284f3680154c1a2bf70dae7d6 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-06-01Add Job Configuration for Anteaterlukehinds1-0/+3
Change adds anteater Docker push and renames securityaudit to ci_gate_security Change-Id: Ibf7d930003e7d59cb84a3ddb72962a150590418b Signed-off-by: lukehinds <lhinds@redhat.com>