summaryrefslogtreecommitdiffstats
path: root/jjb/ci-management/ci-management-jobs.yaml
AgeCommit message (Collapse)AuthorFilesLines
2024-04-03Feat!: Upgrade Jenkins-job-builder to 6xAnil Belur1-1/+1
Jenkins Job Builder 6.0.0 is released and breaks backward compatibility with 5.1.0. The breaking changes with previous 5.1.0 release: - Jobs are now expanded the same way as job templates. - Macros without parameters are now expanded the same way as macros with parameters. - Tags !include-raw: and !include-raw-escape: should now be used the same way in jobs and macros without parameters as they are used in job templates and macros with parameters. Note: This breaks backward compatibility with older version of JJB therefore care must be taken when upgrading the ci-man repositories. Ref: https://storyboard.openstack.org/#!/story/2010963 https://storyboard.openstack.org/#!/story/2010588 https://jira.linuxfoundation.org/browse/RELENG-5182 Change-Id: Iea1f78ae0806d75566c93b4ba4cb37cfb260ffdf Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
2024-03-22Revert "Feat!: Upgrade Jenkins-job-builder to 6x"Dave Wallace1-1/+1
This reverts commit cbe4988f0e9e9668919c0dd5cdd03d1e925ce93f. Reason for revert: the change in jjb/global_macros.yaml replacing !include-raw with !include-raw-escape mangles the python code in the here_doc that gets written to /w/workspace/publish_library.py, thus all jobs fail during post job upload of log files to AWS s3 storage. Change-Id: I8346ed9db9810f595614c28c114cc08170fdeb1a Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2024-03-21Feat!: Upgrade Jenkins-job-builder to 6xAnil Belur1-1/+1
Jenkins Job Builder 6.0.0 is released and breaks backward compatibility with 5.1.0. The breaking changes with previous 5.1.0 release: - Jobs are now expanded the same way as job templates. - Macros without parameters are now expanded the same way as macros with parameters. - Tags !include-raw: and !include-raw-escape: should now be used the same way in jobs and macros without parameters as they are used in job templates and macros with parameters. Note: This breaks backward compatibility with older version of JJB therefore care must be taken when upgrading the ci-man repositories. Ref: https://storyboard.openstack.org/#!/story/2010963 https://storyboard.openstack.org/#!/story/2010588 Issue: LF-JIRA RELENG-5182 Change-Id: Ib9acd0b9e7c264ac3531af858431e738397833b5 Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
2023-05-11CI: Modify CI Jobs to use CentOS 8 nodeVanessa Valderrama1-3/+3
Change-Id: Ide784178435c69e1dcdca2f4847d146b56f6cdf1 Signed-off-by: Vanessa Valderrama <vvalderrama@linuxfoundation.org>
2023-05-03Chore: Update global-jjb to the latest v0.86.1Anil Belur1-1/+1
- Pull in "Refactor!: JJB code to comply with v5.x" Change-Id: Ieabc972d17074245465649cf819204c7afe66e24 Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
2022-05-25Chore: Upgrade JJB versionVanessa Valderrama1-1/+1
Upgrading the JJB version to use the version required by Global-JJB to resolve plugin installation issues https://docs.releng.linuxfoundation.org/projects/global-jjb/en/latest/release-notes.html#v0.77.0 Signed-off-by: Vanessa Valderrama <vvalderrama@linuxfoundation.org> Change-Id: Ie0eefdd23cffc2a3f12d0b4e278c7f0ceba61ec4
2021-10-27Chore: Modify ci-management job builderVanessa Valderrama1-1/+1
Changing the size of the builder. The change to the larger builder was done as a test when we were having Jenkins issues and was never changed back. Signed-off-by: Vanessa Valderrama <vvalderrama@linuxfoundation.org> Change-Id: Ia2f05d758428a929836ae8bff5898c1faa75dff1
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-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-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-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-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-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-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 Grimberg1-112/+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 Ha1-2/+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-02-23Add nodepool management jobsAndrew Grimberg1-0/+59
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 Grimberg1-1/+59
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>
2016-02-22Move ci-management jobs to own directoryAndrew Grimberg1-0/+68
Let's make the ci-management jobs be a little more consistent with other projects and have them live in their own directory. Global macros will still live at the root jjb level. Change-Id: Ie9bd90ae049b4b83fad050b697e14aced18de4a6 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>