summaryrefslogtreecommitdiffstats
path: root/releases/scripts/repos.py
AgeCommit message (Collapse)AuthorFilesLines
2018-09-18Create branches via ssh rather than the httpsAric Gardner1-2/+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 Bramwell1-4/+38
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 Bramwell1-0/+60
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>