summaryrefslogtreecommitdiffstats
path: root/jjb/releng
AgeCommit message (Collapse)AuthorFilesLines
2018-07-17Merge "Ensure docker prunning can be done"Trevor Bramwell1-0/+1
2018-07-12Ensure docker prunning can be doneCristina Pauna1-0/+1
Sometimes the docker build fails and the docker process hangs on a container, withouth being able to stop it. This causes spurious failures on other builds that shouldn't fail. The prune job should cleanup the hanging containers and images, but it fails when the docker process is hanged. This change adds a docker restart to the prune job, in order to assure that the hanged container is shut down and can be removed. JIRA: ARMBAND-358 Change-Id: I9d04fa1099a6fc53bf773a2eba33be89db7d0aa1 Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2018-07-10[dovetail-webportal] Add docker build jobs for dovetail-webportalxudan1-5/+10
Add 2 docker build jobs for the new repo dovetail-webportal. One is dovetail-webportal-api, the other is dovetail-webportal-web. Once there is a new patch merged, it will auto trigger the jobs to build and upload the new docker images with tag 'latest'. According to the Dovetail release plan and develpoment of the web, can tag this repo and release with certain tag (e.g. ovp.2.0.0) JIRA: DOVETAIL-671 Change-Id: I1becc084617bb52f8c8e23275202bd7be4a7b2b3 Signed-off-by: xudan <xudan16@huawei.com>
2018-07-03jjb/releng: fix partial image name matchingYibo Cai1-7/+23
Docker image building script opnfv-docker.sh tries to remove existing images before and after building. It simply uses grep to matching image names, which may cause partial name matching problems. Ex. opnfv/compass-tasks will match both opnfv/compass-tasks and opnfv/compass-tasks-base, and may lead to accidentally removing of images still in use when several building tasks run concurrently. Error log: https://build.opnfv.org/ci/job/compass-tasks-build-arm64-master/6/console Change-Id: I1a83f801c5e0cc889cd9e17b8d1b4d895f1f68a9 Signed-off-by: Yibo Cai <yibo.cai@arm.com>
2018-06-29Fix release tagging scriptTrevor Bramwell1-1/+1
git cat-file can't output the tag information for a tag, but it can output the commit information a tag points to. Change-Id: I147941e2c0ba6defe212dbd0fc8c8a3a1fe0c728 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-06-28Fix Git URL Parameter for Release Merge JobTrevor Bramwell1-3/+3
This was incorrectly set to GIT_BASE, which includes the Project name, and should be set to GIT_URL, which does not. GIT_URL is used instead as each release file can contain multiple repos. Change-Id: I82b5e80f20f8999745cb5008c8057c81c4993574 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-06-27Merge "Restrict RTD Verify and Merge jobs to Releng"Trevor Bramwell1-0/+1
2018-06-26Merge "Fix release tagging noop"Trevor Bramwell1-1/+1
2018-06-26Restrict RTD Verify and Merge jobs to RelengTrevor Bramwell1-0/+1
By default the rtd jobs from global-jjb trigger against all projects. Setting 'project-pattern' to releng will restrict it to just the releng project. Change-Id: I9586577e8d83c6bf189eaee9159b1e49726740a5 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-06-20Fix release tagging noopTrevor Bramwell1-1/+1
When the release job runs to tag the repos it should push the tags back to Gerrit. This was originally a 'noop' for testing. Change-Id: Ifbecbccda1ae123c7b8f0d59eefa727784d10acd Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-06-14Add RTD Verify and Merge jobs for RelengTrevor Bramwell1-0/+4
These jobs come from global-jjb[1]. On verify, 'tox -e docs' is ran against releng, and on merge at webhook it curl-ed on RTD to build the docs. The merge job additionally requires jq installed to verify the build was triggered. [1] https://docs.releng.linuxfoundation.org/projects/global-jjb/en/latest/jjb/lf-rtd-jobs.html Change-Id: Ib0d752a904a9fdda2ab13016509a0b82d34ec3ee Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-06-13Merge "Update repo archive script to handle empty repos"Trevor Bramwell1-1/+1
2018-06-13Merge "jjb/releng: fix compass-container $DOCKERFILE"mei mei1-1/+0
2018-06-12Merge "Add separate fraser jobs to Barometer container builds"Trevor Bramwell1-0/+30
2018-06-12Update repo archive script to handle empty reposTrevor Bramwell1-1/+1
After an empty repo is cloned, and we attempt to pull in changes, git fails due to not know which branch to pull from. Explicitily pulling from origin into master should resolve this. Change-Id: I6bed85779c1bb571559c263800e8ea55ece3aa62 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-06-04jjb/releng: fix compass-container $DOCKERFILEYibo Cai1-1/+0
Use default $DOCKERFILE setting from downstream projects. Change-Id: I0bfee5dcaef9a9eb7601548a1e5da5a5f8d51bb5 Signed-off-by: Yibo Cai <yibo.cai@arm.com>
2018-06-01jjb/releng: fix compass container build errorYibo Cai1-10/+16
Error log: https://build.opnfv.org/ci/job/compass-tasks-base-build-arm64-master/1/console Change-Id: I47ef2ede64d63fb3e9a500dc48cdd510ee9ff235 Signed-off-by: Yibo Cai <yibo.cai@arm.com>
2018-05-31Add separate fraser jobs to Barometer container buildsEmma Foley1-0/+30
In order to support additonal features that have been added to collectd since the 5.8 release, there needs to be a separate stable and master container so we can support the new features as well as the stable release. This change will allow us to increment the version of collectd as we add functest support, config guides and documentation, while keeping the stable version container intact and available for users to download. JIRA: BAROMETER-102 Change-Id: I06ca84581a2e0f1a994cedf53aebc8f5cc3e7535 Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2018-05-30Merge "jjb/releng: support multi arch compass images"mei mei1-10/+89
2018-05-26Revert "Remove noop for tag creation."Aric Gardner1-1/+1
This reverts commit dc4b9d1ad316e9055ccb3767c4572ad22cbe43a5. Change-Id: I3bec4ef84dcb7e56d80b4df78b487f7caa931f3e
2018-05-26Remove noop for tag creation.Aric Gardner1-1/+1
This script is tested, and should now be allowed to create tags. Change-Id: Ia87341c9cb6397700442a11c38d502fed8dd4743 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2018-05-25Verify and Create Tags from Release FileTrevor Bramwell3-32/+93
Updates the releases verify and merge jobs to check release files for the following: - commits exist - commits are on stable-branch If both of these criteria are met and the patch is merged, the repos will be tagged at the specified commits and pushed. If a repo has already been tagged but not on stable-branch the job will not exit, but will warn that the commit doesn't exist on the correct branch. This is because tags should never be removed. This adds an additional script 'repos.py' that provides an quick interface for pulling out information from release files, along with the script 'release-status.sh' for checking the status of tags. NOTE: The branch creation script has been disabled until it can be reworked. Change-Id: I498bc74f20aa50d2bd321771f20a77905b246399 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-05-21Fix Manual Triggering of Docker JobsTrevor Bramwell1-1/+1
When manually triggering a docker job (or even through timed builds), GERRIT_EVENT_TYPE will not get set. This does gets set when the job is triggered by a Gerrit event (ex: ref-updated, comment-added). Specifying the variable lookup to default to nothing (ex: "${FOO:-}") should allow non-Gerrit triggered jobs to complete successfully. Change-Id: Ic1ba8ebef0967b0f20a2d6385ce0e0b4876901dc Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-05-18Merge "Fix Docker Container Build Tagging"Aric Gardner1-1/+8
2018-05-17Fix Docker Container Build TaggingTrevor Bramwell1-1/+8
Builds triggered by tags have a typo in the extraction of the tag name. This change includes a method for retriggering a tag build with the comment "retag TAG_NAME". Change-Id: Ie035e0922f8c073d3e360917ea7ccd6fa76d7b20 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-05-17Remove reverify for opnfv-lint and gate-securityAric Gardner1-2/+0
This is temporary, using reverify does not work in global-jjb for for now remove surrounding jobs so that users dont think its working. I've been told we can add reverify into global-jjb after that is done, I will re-add these. Change-Id: I533ff7c15d55d2630504ca18416583c167228c0d Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2018-05-17Bump JJB Build Timeout to 60 MinutesTrevor Bramwell1-1/+1
Without caching enable or when updating the JJB version all jobs get reconfigured, which can take upwards of 30 minutes. Setting this to a higher value should keep the build from being failed while still running. Change-Id: Ie2ed11da919ed9114700423591ebfaef94e61c88 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-05-17Update JJB to 2.0.3 and Global-JJB to 0.18.0Trevor Bramwell1-1/+1
Also updates global-jjb to 0.18.0 as it includes fixes to Postbuildscript required by the update to JJB 2.0.3. Link to Global-JJB 0.18.0 commit: https://gerrit.linuxfoundation.org/infra/#/c/10101/ Change-Id: I246e60d6c63cf6ba40aeba30d2a7e3985e57d5ad Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-05-17jjb/releng: support multi arch compass imagesYibo Cai1-10/+89
Change-Id: I9f6a287727d36266207fb2821127ac142952f67d Signed-off-by: Yibo Cai <yibo.cai@arm.com>
2018-05-16Rename files under jjb from 'yml' to 'yaml'Trevor Bramwell11-0/+0
global-jjb only supports the .yaml file ending for jjb jobs. Instead of waiting for a release we're going to rename the files. Change-Id: Icf3339eacd2320c583333e02250998cf6b1881f7 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-05-16Use Global-JJB for Releng merge/verify JobsTrevor Bramwell2-116/+9
Replaces the releng templates: - releng-verify-jjb - releng-merge-jjb With the job group '{project-name}-ci-jobs' which includes: - releng-jjb-verify - releng-jjb-merge - releng-jenkins-cfg-merge - releng-jjb-deploy JIRA: RELENG-397 Change-Id: If8160a67d8d665dcb8f86b6649288a710cc0fe13 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-05-16Clone Releng with submodules to include jjbAric Gardner1-25/+2
Needed for JJB verify and Merge to work. These jobs are going away, but first we need to get a verified +1 from jenkins Also remove releng-comment-jjb its unused Change-Id: Ice2ad625f87f1d9c841979ede4bb1943110691c8 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2018-05-02Add Bottlenecks Fraser Docker Push JobYang Yu1-0/+4
Change-Id: I4d6c4015ca36f743dadbb6524a1ca8d5619ce3d6 Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2018-04-26Merge "Remove functest&functes-kubernetes from OPNFV Lint"Trevor Bramwell1-1/+1
2018-04-20Cleanup Archived projectsagardner1-1/+1
Removing archived projects from jjb These project dont need any jobs associated with them escalator fastpathmetrics inspector lsoapi movie multisite octopus openretriever prediction Change-Id: Ibbe49e54ed326f502157c7892022b7a62173b72d Signed-off-by: agardner <agardner@linuxfoundation.org>
2018-04-17Remove functest&functes-kubernetes from OPNFV LintTrevor Bramwell1-1/+1
These projects already have their own pylinting jobs. Change-Id: I5b843cd3af558f9a4932c89f0069ac5ef2d83513 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-04-17Put ericsson-build4 under ansible controlagardner1-0/+1
Docker needs an updgrate as storperf jobs are failing Merging this should fix this with the daily ansible job since its never been run, might want to trigger it manually and watch it. JIRA: INFRA-231 Change-Id: I7720ce707d2d1fb7cc794948992871ae98acedc7 Signed-off-by: agardner <agardner@linuxfoundation.org>
2018-04-11Merge "docker build -f should use relative path to PATH, not working directory"Aric Gardner1-8/+8
2018-04-11Merge "[QTIP] Enable QTIP fraser docker build job"Serena Feng1-1/+3
2018-04-11docker build -f should use relative path to PATH, not working directoryYujun Zhang1-8/+8
Change-Id: I6b35a5b36b1cc7b8ce2298388b9bb5caf9e44fc9
2018-04-10Merge "create Stable Branch Jobs for nfvbench"Aric Gardner1-1/+1
2018-04-10[yardstick] enable fraser dockerRoss Brattain2-2/+2
Change-Id: I47ae73da7240ee4c4e3902baa7320412a28ada6c Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2018-04-10[QTIP] Enable QTIP fraser docker build jobzhihui wu1-1/+3
- enable fraser docker build job - disable euphrates docker build job Change-Id: Ieeaec7ed36ee8d77a250c0f584ea9e5985a41c8f Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2018-04-09create Stable Branch Jobs for nfvbenchagardner1-1/+1
Same for docker Change-Id: I48650881f5c0c8e7b4664b87b1b1a4a37c22cc8d Signed-off-by: agardner <agardner@linuxfoundation.org>
2018-04-09Add docker build job for cloverYujun Zhang1-1/+61
Change-Id: I0167f223660d5b0edfac092a5d01fe165a91c2de
2018-04-05Create Fraser Docker Jobs for StorperfTrevor Bramwell2-10/+10
Change-Id: I5de7df11919f725264aa6b07d0f8d5e917f8a28c Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-04-05Add Fraser stream to Docker Arm BuildsTrevor Bramwell1-0/+4
This will allow changes to docker in stable/fraser branches to be built, when added to the associated project repository. Change-Id: Ib5d295f2845e519f4a5a65738e8af1a357f77c5e Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-04-05Switch Functest k8s docker builds to multijobsCédric Ollivier1-9/+0
The former Functest kubernetes container will be split due to new OPNFV features (clover, stor4vnf). {image} is bypassed to first check vs the current docker repository. Change-Id: I29998b21ec6992463b9ca77b38e51b928a9da69a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-04Merge "Build opnfv/functest-kubernetes:fraser"Fatih Degirmenci1-0/+9
2018-04-03Enable linting against the Fraser stable branchTrevor Bramwell1-0/+4
Change-Id: I8075eee7de9a5bd1274131c5171c22e5dace5b69 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>