summaryrefslogtreecommitdiffstats
path: root/jjb/policy
AgeCommit message (Collapse)AuthorFilesLines
2020-01-14Merge "Set java11 for policy/api and policy/drools-pdp"Jessica Wagantall4-0/+12
2020-01-14Set java11 for policy/api and policy/drools-pdpHOCKLA4-0/+12
Issue-ID: POLICY-1582 Change-Id: I707a1309dd672d2e8647096e66f3011c9492f259 Signed-off-by: HOCKLA <ah999m@att.com>
2020-01-14Ensure INFO runs in centosJessica Wagantall12-0/+12
Move INFO.yaml verify jobs to centos node to ensure there are no issues with Python packages. Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org> Change-Id: Ib696292b9785478175515694247854b2e4e1c37f
2020-01-10Change policy-models to build on jdk11Pamela Dragosh1-0/+3
Converting this repo to build on JDK 11 Issue-ID: POLICY-1592 Change-Id: Iccaab84c6cba70c76135ce2c95e5cf1369961cbc Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-01-09Simplify sonar variablesJessica Wagantall10-10/+10
Globalize sonar_mvn_goal Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org> Change-Id: Ia46696394bfbde621b861e662e6a512f5f6df967
2019-12-18policy jobs must use JDK 11 for sonar/clmPamela Dragosh2-0/+3
Sonar job failing because we upgraded this repo to JDK 11 and forgot to set that job correctly. Also fixing CLM job. I do not think the INFO.yaml needs this as its only checking the .yaml file and not compiling the repo. Jessica please confirm. Issue-ID: POLICY-1406 Change-Id: I0a936bd4d4a0843e9443438e974071d99cb4e4ee Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-12-16drools-apps CLM increase mem/cpu nodePamela Dragosh1-0/+1
Seems the changes in the JUnits are running out of memory and failing. Change to a bigger build node as those JUnits will be revamped over the next month to reduce complexity and the team will look into reducing memory consumption. Issue-ID: POLICY-2307 Change-Id: Id2716c55d62a6e52875c914a3fc0e75f1134da86 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-12-12Merge "Increases java mem/cpu policy/engine repo"Jessica Wagantall1-1/+1
2019-12-12Increases java mem/cpu policy/engine repoPamela Dragosh1-1/+1
Temp increase for code coverage TSC must-have and to finish tasks before break. Will investigate why the use of mock is causing so much memory consumption. Issue-ID: POLICY-2300 Change-Id: I17c9b5c4e2a8541aec3e3cc2aedcc0eb7d043aa3 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-12-11Set java 11 for policy/common and policy/parentHOCKLA2-0/+2
Issue-ID: POLICY-1594 Change-Id: I29607fdc51380c6acb59c1525b85b3c2733e6c12 Signed-off-by: HOCKLA <ah999m@att.com>
2019-12-11Remove Policy El Alto jobsPamela Dragosh11-22/+0
Not needed at this point - any fixes will go into Frankfurt. NOTE: Not removing the docker branch El Alto job until the multi arch work is complete on the master branch. In case we need to go back and update that image for JDK 11 and use it temporarily. Issue-ID: POLICY-2299 Change-Id: I34615eeb5e9f51947e5dc182931a960f6ee767f5 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-12-02policy/docker should not have a sonar jobPamela Dragosh1-18/+0
This repo has no source code in it and should not run a sonar job. Issue-ID: POLICY-2280 Change-Id: Ic82505d84bc775f7cf041c79a440fd936ed8ca9d Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-11-26Migrate POLICY to SonarCloudJessica Wagantall11-0/+55
Issue-ID: CIMAN-343 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org> Change-Id: I47085a53c163c845851a4a05528c0ac64b564a4f
2019-11-07Add mail address for notification of csit policy testsmrichomme1-1/+4
Issue-ID: INT-1363 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I63d80ee81155e48c8a2b56fd82ce7a823f71b74a
2019-10-09Revert policy/api multiarch changePamela Dragosh1-60/+3
The policy jobs are failing because the policy/api is not being generated and the old SNAPSHOT disappeared from nexus. Until the docker release strategy has decisions on it I need to revert back to this in order to generate api SNAPSHOTS and for our CSIT to succeed. We can put this back in place when the docker release strategy is decided upon. Issue-ID: CIMAN-217 Change-Id: I5815082e066a21fc2eeb79023a5ef93b2b5f9c19 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-09-18Added multiplatform jobs for policy-api imageCristina Pauna1-3/+60
This is a follow-up to patch https://gerrit.onap.org/r/c/ci-management/+/92707 Modified the policy-api project to use the multi-arch templates on master branch Issue-ID: CIMAN-217 Signed-off-by: Cristina Pauna <cristina.pauna@enea.com> Change-Id: I4d68dbde3c3b959c8323cb02e5e935aa18be8c4d
2019-09-17Add elalto to jenkins for engine and distributionjrh32-0/+4
Issue-ID: POLICY-2045 Signed-off-by: jrh3 <jrh3@att.com> Change-Id: Iddd23fcbda343663c63a49c045fb566a4666027e
2019-09-16Move release jobs to docker nodeJessica Wagantall12-13/+13
Move release jobs to docker node since these repos will start using self container releases Change-Id: If335d12375863b3809e0d1335310a3eaeefea154 Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2019-09-12Add apex-pdp elalto branch to build jobsjrh31-0/+2
Issue-ID: POLICY-2045 Signed-off-by: jrh3 <jrh3@att.com> Change-Id: I210a3250f1ae10e1c3af3b2d779283c76b5fc8d7
2019-09-10Add elalto to drools-apps build jobsjrh31-0/+2
Issue-ID: POLICY-2045 Signed-off-by: jrh3 <jrh3@att.com> Change-Id: I8d0ce4dc3c9f3b4e8e0c8bcd3b1a61b74980b380
2019-09-10Add elalto to more build jobsjrh35-0/+10
Added for models, api, pap, drools-pdp, and xacml-pdp Issue-ID: POLICY-2045 Signed-off-by: jrh3 <jrh3@att.com> Change-Id: Iac769f1c4d8e630f74b5303cb80f5ee3324451f5
2019-09-10Revert "Revert "Add multiplatform jobs for policy docker images""Bengt Thuree1-3/+58
This reverts commit 764bb8283a5cbf93ca9cbb8e2dd9760e783f9a78. Re-enables the multiplatform jobs for policy docker images. Signed-off-by: Bengt Thuree <bthuree@linuxfoundation.org> Issue-ID: CIMAN-217 Change-Id: I34b81f193e6286792ace75be2a64f1a8ed19c9d8
2019-09-06Revert "Add multiplatform jobs for policy docker images"Jessica Wagantall1-58/+3
This reverts commit 866558d317feb1171c4a40d9ff63f9dc99cd4a6d. Looks like this commit is causing build failures in jjb during the merge: ci-management-jjb-merge/1756/console.log.gz Change-Id: I4384ab0a5ef50b2551efb19bc41bc9b000a8748e Issue-ID: CIMAN-217 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2019-09-06Merge "Add multiplatform jobs for policy docker images"Jessica Wagantall1-3/+58
2019-09-06Add multiplatform jobs for policy docker imagesPaul Vaduva1-3/+58
Add three global templates needed to build multiarch images: - {project-name}-docker-manifest-{stream}: creates a docker manifest list with images for multiple architectures by calling docker_push_manifest.sh - {project-name}-multiarch-docker-stage-{stream}: multijob that uses the global-jjb template {project-name}-maven-docker-stage-{stream} to produce staging images for each supported arch and a manifest list for them - {project-name}-multiarch-{stream}-merge-java: multijob that uses the existing {project-name}-{stream}-merge-java template to produce snapshot images for each suppported arch and a manifest list for them The policy/docker project jobs are modified to use the new multiarch templates. All images are now pushed to DockerHub instead of Nexus (as Nexus lacks support for docker manifest list). Cancel the triggers for child jobs, as they will be triggered by the parent multiarch job. For the jobs that build images, use registry registry-1.docker.io as a workaround for [1]. Enable the multiarch jobs only for the master branch for now. [1] https://github.com/fabric8io/docker-maven-plugin/issues/838 Issue-ID: CIMAN-217 Change-Id: Ibd00d24bb70ef51f761005016b7baea4ef66a0a5 Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com> Signed-off-by: Cristina Pauna <cristina.pauna@enea.com> Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2019-09-04Build elalto branch of policy/parent and commonjrh32-0/+4
Change-Id: I093c85c56cd6f186ca61b005724047c24f7cac33 Issue-ID: POLICY-2045 Signed-off-by: jrh3 <jrh3@att.com>
2019-09-03Add jobs for docker elalto branchPamela Dragosh1-0/+2
Branching for El Alto Issue-ID: POLICY-2045 Change-Id: I9dd61e3e1b3431b4bf9305aff400f06c31f12a89 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-08-27Fix CSIT merge job triggerPamela Dragosh1-2/+2
Somehow these got missed when we renamed some of these jobs. So they haven't been triggering the CSIT. Issue-ID: POLICY-2018 Change-Id: I093aaccf2511c39500a7e5f2695704e023bbf53f Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-08-04Add release jobs to policyjhh12-0/+25
Issue-ID: POLICY-1953 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I9fb36f2d884fa99c28916a80255100cae2c0c4ab
2019-07-29Fix apex merge job to trigger csit jobramverma1-1/+1
Apex csit job has been pointing to a wrong merge job Change-Id: I964ed97fddc1ecc298594c30a183d6b4de52b57c Issue-ID: POLICY-1955 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-07-02Clean policy-parent old release jobPamela Dragosh1-2/+0
Forgot this. Issue-ID: POLICY-1737 Change-Id: If24c70d2e8580a19d9aebb8b0516143510f1afde Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-07-02Final cleanup policy jobsPamela Dragosh5-137/+0
Removed dublin jobs and cleaned out old release jobs. Turned off CSIT for dublin. Issue-ID: POLICY-1737 Change-Id: I1d983c334040c276f1217202c94ff58f4e918e33 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-07-01Merge "Clean up policy dublin and release jobs"Jessica Wagantall8-212/+0
2019-07-01Clean up policy dublin and release jobsPamela Dragosh8-212/+0
No longer releasing dublin artifacts and cleaning out the old release jobs no longer needed due to global-jjb migration. Issue-ID: POLICY-1737 Change-Id: I914ff64b12845d8fad19cf97620dfd346c3fcc32 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-07-01Migrate policy distributionJessica Wagantall1-0/+10
Migrate to global-jjb gerrit-maven-stage and gerrit-maven-docker-stage Change-Id: I3e66c89c34969d96561d4c7204901fae1e7337d4 Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2019-07-01Update maven-docker-stage for policyJessica Wagantall1-2/+1
Update policy-drools-applications-maven-docker-stage-master to skip signing of jar artifacts (not needed for docker images) Run build in ubuntu node. Change-Id: I9fb97f5328c01adb7e8e7933de96d3f3e3930ba5 Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2019-06-28Upgrade policy/docker to staging jobsPamela Dragosh1-5/+5
Issue-ID: CIMAN-234 Change-Id: I5049dfd204f0099fd8d49f8ffd2156d84e4a744c Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-06-27Increase cpu/mem for policy/engine stage jobPamela Dragosh1-1/+1
This job JUnits need to have more memory/cpu to finish. Will need to use the docker version for 8c 8g, there is no builder. Issue-ID: CIMAN-33 Change-Id: I9f0b43d4a5bf00200ef94daad11975d9e5f53af6 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-06-25Migrate to gerrit-maven-stage (POLICY)-3Jessica Wagantall4-0/+43
Migrate to use gerrit-maven-stage from global-jjb to allow the generation of signed release artifacts that will reduce release processing time. Issue-ID: CIMAN-234 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org> Change-Id: I4ccd69bde2bb1e9d0710c2b46253024f6b5e7acb
2019-06-25Fix policy maven-docker-stageJessica Wagantall2-4/+2
policy-api and policy-pap code scripts have an ubuntu dependency and need to run in ubuntu node. Skip signing artifacts since SIGUL only works on Centos. Change-Id: Ic7ae5950a92c538eed8babc4b33d3ec5288954bf Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2019-06-21Wrong branch for policy/model stage jobPamela Dragosh1-4/+4
Should be on master branch Issue-ID: CIMAN-234 Change-Id: I15da4cc08432340909908e1fe7aabd7abefb5395 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-06-20Migrate gerrit-maven-stage (POLICY) - 2Jessica Wagantall3-0/+26
Migrate to use gerrit-maven-stage from global-jjb to allow the generation of signed release artifacts that will reduce release processing time. Change-Id: I86a7fa9d2337c52856eebb877364bc182a01515b Issue-ID: CIMAN-234 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2019-06-18Migrate to gerrit-maven-stage (POLICY)Jessica Wagantall3-0/+19
Migrate to use gerrit-maven-stage from global-jjb to allow the generation of signed release artifacts that will reduce release processing time. Change-Id: I6f82125c7702ccea6ea912f364ddf2dcdccd63f2 Issue-ID: CIMAN-234 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2019-06-17Change policy/engine build node to dockerRashmi Pujar1-14/+10
The policy/engine is being changed to use docker-maven-plugin to build docker images and so they always need to be built on a docker node. Changed the merge and release to support docker. These may fail until we get the below review in: https://gerrit.onap.org/r/#/c/policy/engine/+/90025/ Issue-ID: POLICY-969 Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca> Change-Id: Iaed6bfe09a8d64cca3847990bbaf30909fb19d77
2019-06-17Change policy/apex-pdp build node to dockerRashmi Pujar1-14/+10
The policy/apex-pdp is being changed to use docker-maven-plugin to build docker images and so they always need to be built on a docker node. Changed the merge and release to support docker. These may fail until we get the below review in: https://gerrit.onap.org/r/#/c/policy/apex-pdp/+/90014/ Issue-ID: POLICY-969 Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca> Change-Id: I68599bcc30b700d3e37e62499bde907da2e61404
2019-06-14Enable dublin release jobPamela Dragosh1-1/+1
Need to release this today Issue-ID: POLICY-1857 Change-Id: I6c0b35cc66d602de6f757a1ddd2ff7db7c089715 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-06-13Fix dublin merge release jobsPamela Dragosh1-3/+13
My original change over was incorrect as I used casablanca jobs for dublin. The dublin jobs use different underlying jobs. Issue-ID: POLICY-1857 Change-Id: I3c714bcc1a2d44d04b479c85941b1785f8047f80 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-06-06Change build node to dockerPamela Dragosh2-24/+16
We are changing these jobs to use Docker maven plugin so they need to always build on a docker node. Changed the merge and release to support docker. These may fail until we get these reviews in: gerrit.onap.org/r/c/policy/drools-applications/+/89204 https://gerrit.onap.org/r/c/policy/drools-pdp/+/89203 Issue-ID: POLICY-969 Change-Id: Ic02ab24bf95325914e906bfc3c55be0d4947b94a Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-05-28Update policy to include dublin branchsPamela Dragosh13-55/+178
Dublin branches created, need to update jobs to work with those branches. Removing trailing branch: master to ensure the correct branch is used for each csit. Issue-ID: POLICY-1747 Change-Id: I75dec37e0a49ae0c1bde95ffc6f56b7a8cf3fdb4 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-04-29Enable policy dublin release jobsPamela Dragosh10-9/+11
Enable the release jobs for Dublin. Issue-ID: POLICY-1700 Change-Id: Iabf671c03392b9c21053069cd79e42a4421ab7a0 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>