xmos / fwk_voice

Voice Framework
Other
11 stars 19 forks source link

update xjsl to 0.27.0 #402

Closed BrennanGit closed 1 year ago

BrennanGit commented 1 year ago

This PR upgrades the jenkins shared library to 0.27.0, here is a very condensed changelog for the last few versions.

0.22: pip version parsing 0.23: improve pr labels/added createVenv 0.24: runVS improvement 0.25: default to nfs mounts over sshfs 0.26: better build discarding


This PR introduces/updates a method for automatically deleting Jenkins builds after a certain time/number. This is needed so that Jenkins disk does not forever grow.

Please understand that THIS IS A DESTRUCTIVE CHANGE and once merged will permanently delete old builds so please come forward with any concerns over the settings chosen if you have any.

We will use the buildDiscarder Jenkinsfile option to configure this using the xmosDiscardBuildSettings function.


Here is a link to the confluence page going into more detail about justification and usage.

The short version is:

Please comment if you think this is unsuitable.


Overriding

Single builds can be kept using the "keep this build forever" button on Jenkins. We suggest using this to tag builds that releases have been made from.

We also introduced the PR label pr:keepallbuilds, this will override the "30" build limit for specific PRs.


PS I have also opted to use this opportunity to add the timestamps option to jobs that do not already employ it. This makes it easier to diagnose any future Jenkins issues. I've also opted to do any quick tidying of the Jenkinsfile if it's obvious to me.

BrennanGit commented 1 year ago

I've been through the release list and marked the "main" builds for all releases since v0.5.0 (since the name change).

example is build for v0.6.0: http://srv-bri-jcim0:8080/job/XMOS/job/fwk_voice/job/main/65/