summaryrefslogtreecommitdiffstats
path: root/releases/scripts
AgeCommit message (Collapse)AuthorFilesLines
2022-12-15Rather call python3Cédric Ollivier1-1/+1
IT fixes all deprecated python script calls. Change-Id: I5480c420b0963e717fab5835fcf17d435d111093 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2022-12-15Fix Releng Release jobsCédric Ollivier1-5/+0
Change-Id: Ieac2a4848e19b70a424061cd7cb51cf84808a413 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-18Create branches via ssh rather than the httpsAric Gardner2-145/+29
Previously we created the branches over Gerrit's HTTPS interface. One or two projects from the previous release did not have their stable branches created at the correct place. Switch to using ssh for branch creation will be more reliable and easier for us to verify. Change-Id: If7f24d2b19e74513b59889bd64d25919aa048e4c Signed-off-by: Aric Gardner <agardner@linuxfoundation.org> Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-06-28Fix the output of repo list to be 'repo, tag, ref'Trevor Bramwell1-1/+1
This was changed in a previous commit and causes calls to 'git branch' during the verification job to fail. Change-Id: I71c248abecf030658371b810d403e1f460933946 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-06-28Fix Typo in repos release scriptTrevor Bramwell1-1/+1
As the scripts are ran under Python 3, parenthesis are required around print statements. Adding these doesn't seem to cause in error in Python 2. Change-Id: Ic0ce623ded5f3e3f27c8117e2067566afc8d8c0b Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-06-13Update the repo script to only list repos onceTrevor Bramwell2-6/+40
When projects have multiple releases (ex 6.0, 6.1) the repos would be listed multiple times when only wanting repo names. This change still supports listing the repos when they have multiple versions. Change-Id: I7b0c96649b5486d91b177f95cf175bebcb53815b Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-05-25Verify and Create Tags from Release FileTrevor Bramwell2-0/+85
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-03-25Fix Gerrit URL for Release AutomationTrevor Bramwell2-2/+4
Includes logging more warning to help debug when things fail. Change-Id: I25e9afc6b9f413d33368613291e718cf8ccd6335 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-03-22Fix Python3 Errors for Release AutomationTrevor Bramwell1-2/+7
My testing was done using Python 2.7 but the build server running the jobs is obviously running Python3. These changes allow the create_branch.py release script to run against both Python2 and Python3. Change-Id: I02478986ef869ce82ece5b96dbb4b5ed548a2a55 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-03-21Release AutomationTrevor Bramwell5-0/+343
Tracking releases through yaml file similar to the openstack/releases project. Includes a schema file to be for validation, jobs for creating gerrit branches and stable branch jobs, and documentation for projects on creating their releases. Change-Id: Id1876482723e01806c0a6932126dff5ea314eae5 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>