summaryrefslogtreecommitdiffstats
path: root/jjb/ci-management
AgeCommit message (Collapse)AuthorFilesLines
2021-04-08Use fdio-infra-publish for nomad executor based jobsDave Wallace1-4/+8
- Separate post build executor info dump into its own script file. - Remove backup_upload_archives.sh from fdio-infra-shiplogs which is now only used for openstack executors. - Add setup_executor_env.sh to run first for all jobs which run on nomad/dockerhub images. Change-Id: I564201b8c578e6541152e6af74537d1d007ba1a7 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2021-03-30Modify OpenStack templatesVanessa Rene Valderrama1-1/+1
Switching the OpenStack templates used by CI mgmt jobs back to V2 flavors due to problems with the V3 flavors in production. Modifying the INFO.yaml job to use a template with a V3 flavor to continue troubleshooting the issue in production because this issue can't be reproduced on the sandbox. Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org> Change-Id: Ibc8e744e3201538122965a70ab0f23ca3fe66371
2021-03-18Modify ci-management flavorVanessa Rene Valderrama1-1/+1
Modifying the ci-mgmt flavor to use v2 while we figure out what the issue is with the v3 flavors. Noticed the merge job is using the wrong builder so I switched it to the 4c-4g builder. Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org> Change-Id: I23c5e9ab21711d8545fdbcd12baeb1cfc55a3662
2020-12-07Fix packagecloud jobs to use fdiotools docker imagesDave Wallace2-12/+24
- Required to allow cleanup of old labels referencing snergster docker images. - Remove job supporting deprecated ubuntu1604 images. Signed-off-by: Dave Wallace <dwallacelf@gmail.com> Change-Id: Ib0ba02e33c636c7b565e6156d81bd43cafcf2415
2020-11-30Upgrade JJB version for ci-jobsVanessa Rene Valderrama1-1/+1
Upgrading JJB version to 3.5.0 for ci-jobs Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org> Change-Id: I9a519406b7ed2840c7353e97d07c668a1023cbc4
2020-11-20Reduce merge build timeoutVanessa Rene Valderrama1-1/+1
Reducing the merge build timeout to a more reasonable timeout based on the average time to complete builds. Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org> Change-Id: I5dd50776cb58c43180b82534067f9dd29b954162
2020-11-09Move jjb merge to other nodeJessica Wagantall1-1/+2
ci-management-jjb-merge has sporadic failures Trying "centos7-builder-8c-8g" node to see if it improves. Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org> Change-Id: Ib96b6ebf1e9c126f31936a34567c7e0148dd2769
2020-06-26Add packagecloud viewMauro Sardara1-0/+6
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I6f04cc18a8fb8a712a45f5765b94f5cea2f462d0 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-06-26Merge "Test commands for release repo cleanup."Dave Wallace3-0/+351
2020-06-25Test commands for release repo cleanup.Mauro Sardara3-0/+351
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I71bee2717bbcc3021fd85020f2059839ea5a930c Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-06-22Increase jjb build timeout for ci-managementDave Wallace1-1/+1
Signed-off-by: Dave Wallace <dwallacelf@gmail.com> Change-Id: I99690771bdfe96c10ae852ad1d442549432d3cc6
2020-05-19Enable Jenkins config merge jobVanessa Rene Valderrama1-0/+1
Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org> Change-Id: I14195ff82f1ffe3da17f5dcc464db3e2165d3201
2020-01-31Add 16.04 ARM jobVanessa Rene Valderrama1-0/+1
Add 16.04 ARM jobs to packer Change-Id: If3fd27816db6e638c6b71850dffee6e15302fe18 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2020-01-15Break ci-management jobs group downAndrew Grimberg1-1/+5
While trying to implement / revert some of the work for the Jenkins managed configuration jobs we've run into some strange problems. Unfortunately there is currently a bug that we're hitting in global-jjb that is causing all configurations to disapear. This change switches from using the job group to defining just the jobs we want in the system right now so that we don't keep running into this bug / problem. It also allows us to continue testing configuration changes without fear of breaking the system. Change-Id: I49ffd839762de88b51db0d9d70bbcff1624c395e Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2019-07-10Add INFO.yaml verify jobVanessa Rene Valderrama1-0/+9
Info YAML Verify job validates that INFO.yaml file changes are kept isolated from other file changes. Verifies INFO.yaml files follow the schema defined in global-jjb/info-schema. Change-Id: Idf241ac513b133e6fa9d03153704fe89ff980294 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2019-04-23Upgrade packer versionVanessa Rene Valderrama1-0/+1
Change-Id: I133efdd60e23f4521db001b206db51c7202d825e Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2019-04-22Add Ubuntu 18.04 ARM packer jobVanessa Rene Valderrama1-0/+1
Change-Id: Iad8c30ec387e2032281ed51bee4aec22c5718429 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2019-04-10Fix typo in nodeVanessa Rene Valderrama1-1/+1
Change-Id: Ia9f2019c2dc63f9b449234f2d2416a6318a97027 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2019-04-10Fix the ci-jobs build nodeVanessa Rene Valderrama1-1/+1
Changing the ci-jobs build node to use the updated common packer image to resolve the unstable builds error xmlstarlet: command not found. The basebuild node worked with lftools v0.18.0 but not with lftools v0.22.2. Change-Id: I4e46abbfd71a077c53af85b970abaea7ceeff31d Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2019-03-06Modify packer jobs to build images in the new CIVanessa Rene Valderrama1-0/+1
Modifying openstack-cloud to use vexci, the new CI environment Change-Id: Iaa8b1c34d91910539e95a5194fcc205bbfb8a266 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2019-02-07Modify ci-mgmt nodeVanessa Rene Valderrama1-1/+1
Modifying the ci-mgmt node while we determine the root cause for the new ci environment instances not spinning up. Change-Id: I04471e654de663665bd5880c4d3f3b4fbefee8c5 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2019-02-06Configure ci-management Jenkins viewVanessa Rene Valderrama1-0/+6
Manage ci-management views with JJB view-templates Change-Id: I2237f67d80a205ebcb5f1b0f94016545b06c2965 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2019-01-29Modify ci-management nodeVanessa Rene Valderrama1-1/+1
Modifying the ci-management node to prevent build-timeouts Change-Id: I9c16f1dbb47dfdb051e434221d053216054f1d35 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2018-12-13Add Ubuntu 18.04 packer jobVanessa Rene Valderrama1-0/+1
Change-Id: I04647913fb07ddb0d82100d30ef671f5b9202c44 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2018-11-14Enable packer builds for Ubuntu 16.04Eric Ball1-0/+1
Change-Id: Id99fb9925fbbd0464bd4ea2de41a33c1ac83f109 Signed-off-by: Eric Ball <eball@linuxfoundation.org>
2018-11-07Add common-packer ci-jobsVanessa Rene Valderrama1-0/+17
Change-Id: I132f2bf72f18acd390c3e97c0a2fe94e158cb6ad Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2018-11-05Clean up ci-jobsVanessa Rene Valderrama1-250/+0
Removing templates that are no longer needed with global-jjb Change-Id: I7df2f8cf6265e77df11b15b8dd43edb62906b6f2 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2018-10-25Set CI Jobs build-timeout to 30 minutesThanh Ha1-0/+1
Change-Id: Ib722b5b2b4770c55385b592f776ee4237c3d0ab0 Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2018-10-25Modify merge build-timeoutVanessa Rene Valderrama1-1/+1
Upping the build-timeout to resolve build-timeout failures on the merge job. Change-Id: Ia72a07fd4fbda3b08aee52e0a4f5074c72ab26f3 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2018-10-25Add global-jjb ci jobsThanh Ha1-2/+10
Change-Id: Ifa0d21c7d1f3acd5f3aaf0c784f8e34ef0a49f57 Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2018-10-08Remove scm refspec from ci-management-merge-jjbEric Ball1-1/+1
Having the refspec on this job causes it to check out a single patch set, which does not necessarily contain all of the most recent changes (e.g. if two changes are in review at the same time, and get merged without being rebased first). Change-Id: I7cfa11bc5cf94ba64ad61afd8a961c81e0c81f01 Signed-off-by: Eric Ball <eball@linuxfoundation.org>
2018-09-28Remove all logrotate callsEric Ball1-2/+2
These are deprecated, and were causing a warning from jjb. All logrotate calls have been replaced with build-discarder. Change-Id: Ic84be4c8b3500039e3a9c5a1ce7c8ce4d853614d Signed-off-by: Eric Ball <eball@linuxfoundation.org>
2018-09-28Update ci-management submodules recursivelyEric Ball1-4/+8
To enable compatibility with global-jjb, the scm needs to update submodules recursively. Adding the param to the old scm would require changing every reference to that object, so a new scm was created. Change-Id: Ib514d06891f50a24bb2f38449b5b094db602f7e6 Signed-off-by: Eric Ball <eball@linuxfoundation.org>
2018-09-28Fix lint errorsVanessa Rene Valderrama1-155/+156
Fixing lint errors in preparation to convert ci-management jobs to global-jjb Change-Id: I530f347b463bdf1a8aa468170a998424a623066e Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2018-04-03Remove references to zuul and nodepoolAndrew Grimberg5-170/+0
FD.io has not been using zuul or nodepool for over a year. There is no reason to be keeping the templates or job scripts around if they aren't being used. Change-Id: Id35308209306b5dca9092df3599325a6d0e5e370 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2018-03-26Do not trigger verify jobs on creation of DraftsVratko Polak1-1/+1
The patch sets will be verified upon Publish anyway. Owners who wish to verify before Publish can add JJB reviewer manually and comment "recheck". Change-Id: I80789e762a0f0adf1d88a18b7673590da51fd21e Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2017-10-31Remove hardcoded 14.04 nodesVanessa Rene Valderrama1-2/+2
Removing hardcoded 14.04 nodes from Packer jobs. FD.io is no longer supporting Ubuntu 14.04 so we are no longer building the nodes. Change-Id: I8dc3c330be1bb2319e9432ecb6b8f1c71012340c Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2017-10-27Remove Ubuntu 14.04 jobsVanessa Rene Valderrama1-1/+0
FD.io projects are discontinuing the build of 14.04 packages. This change is remove Ubuntu 14.04 because they no longer need 14.04 Jenkins instances. Change-Id: I4a0323d1f0653e8d75f7cdc7fec6ceafb2c6ae0c Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2017-02-16Add packer verify and merge jobsAnil Belur1-0/+157
- These jobs have been ported from ODL releng - Jobs are designed to build new images first of every month - Verify runs a packer validation on the templates and verifies the syntax of provision scripts - Merge job is designed to trigger a build only relevent to the change rather than building all images Change-Id: I882fdf9d60a49221e1d9f50809c5fda1d8ebf4fb Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
2016-12-21Enable log shipping on all ci-management jobsVanessa Rene Valderrama1-0/+7
* Configure log shipping on all ci-management jobs Change-Id: Ic46f8866181407ce903d6ee21bd9ee04074cadc1 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2016-10-14Remove jjb-update.sh scriptThanh Ha2-12/+4
The jjb-update.sh script was used by ODL when they had a custom abstraction layer ontop of JJB for further customizing job templates. This is no longer used in ODL and FD.io never had any custom JJB scripting layer to begin with so this script is actually an unnecessary additional process being run, remove it. Also improve the merge job to print out python library versions and jenkins-jobs version for troubleshooting. Change-Id: I2e174747601c3ea31b1f5912ac56815bd73b3ae2 Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2016-10-14Use fdio-infra-wrappers to simplify common wrapper useThanh Ha1-18/+12
- Move timestamps to fdio-infra-wrappers as every job is using it - Move ssh-credentials into fdio-infra-wrappers as every job is using it - Ensuer ALL jobs are using fdio-infra-wrappers (this should be policy!) FD.io has this convenient wrapper called fdio-infra-wrappers which is a simple macro to configure common wrapper functionality that all jobs should be configured with all jobs are already configuring it too so simplify job configuration and ensuring we don't have duplication everywhere. Less lines of code and more code reuse makes for easier maintenance :) Change-Id: Ia73b09dfc556f684c43853797231da84a9c517af Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2016-10-14Remove unnecessary ssh-credentials defaultsThanh Ha1-12/+12
ODL used to use a variable called {ssh-credentials} as a form of redirection in order to have a simple human readable word to represent a unique credentials id in Jenkins. Newer versions of Jenkins actually allows us to override the credentials-id UUID format and pass a human readable filename. Considering that FD.io has been using a human readable jenkins-gerrit-credentials credentials-id remove the unnecessary {ssh-credentials} id defaults from global-defaults and just access the credential directly. Change-Id: I7b59357dcacb2195646719709b3b623429deca91 Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2016-09-08Make sure jjb merge builds HEADAndrew Grimberg1-2/+2
Change-Id: I225759b448aaa8d2599ac6ae7ae7ec6c66b51083 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2016-09-06Correct JJB refspecC.J. Collier1-1/+1
Old value, $GERRIT_REFSPEC allowed jjb to update a patch that is not current. Changed to refs/heads/master to ensure that latest changes are used. Change-Id: I2df571990bc25480dd7ffab525b2d4e820e89ceb Signed-off-by: C.J. Collier <cjcollier@linuxfoundation.org>
2016-08-15Switch ci-management jobs to Gerrit TriggerThanh Ha1-10/+27
Change-Id: I0b8e1a06f0e26932f77194c1799a31c043d53670 Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2016-05-19Update ci merge job to use 4 threadsThanh Ha1-1/+1
JJB 1.5.0 supports the --workers flag which allows us to tell it to use multiple thread to update jobs. Change-Id: I4626777990ca243d93a250e05d7791319eb20ac2 Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2016-02-23Add nodepool management jobsAndrew Grimberg3-0/+84
Add jobs for doing nodepool management Change-Id: I9d5b74850f51c7f950ccb3580c1aa7f981786494 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2016-02-22Add new verify / merge jobs for zuulAndrew Grimberg3-1/+92
We need jobs to be able to manage zuul layout changes. This brings those jobs in Change-Id: If6397b0d7f52edc7f2668a2351c35e637ef92888 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2016-02-22Rename ci-management-mergeAndrew Grimberg1-4/+2
Rename the ci-managment-merge job to be ci-management-merge-jjb as it is jjb specific. This sets us up to support ci-managment-{verify,merge}-{zuul,nodepool} job definitions as each of these job definitions is verify specific to the tool being managed Change-Id: I1bfcc02411af043f349ca5b62aac17bffe8df363 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>