summaryrefslogtreecommitdiffstats
path: root/jjb/releng/releng-release-create-branch.sh
AgeCommit message (Collapse)AuthorFilesLines
2018-11-23Rework creating tags & branches from release filesAric Gardner1-19/+42
Old method could not properly handle both branching and tagging on changes to the release file. Proposed method: jjb calls: jjb/releng/branch-or-tag.sh for both verify and merge jobs. branch-or-tag determins nature of the change to "releases/branch/project.yaml" and calls releng-release-tagging.sh or releng-release-create-branch.sh The scripts above handle both verify and merge operations based on if [[ $TAG_EXISTS = false && "$JOB_NAME" =~ "merge" ]]; and if [[ $REF_EXISTS = true && "$JOB_NAME" =~ "merge" ]]; then both scripts check that the ref exits in verfiy and merge stages. if releng-release-create-branch.sh creates a branch it then also calls releases/scripts/create_jobs.py Change-Id: Ieb99de5e4df100af59ecc818f52b0831383b2b62 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2018-09-18Create branches via ssh rather than the httpsAric Gardner1-1/+14
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-04-02Add 'Signed-off-by' to automated Jenkins job patchTrevor Bramwell1-1/+1
All commits require a signed-off-by line to be accepted by Gerrit, and automated patches are no exception. Change-Id: I54179c47e33b5088e4e3c3d5752ccb3560f2face Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-03-25Set Jenkins Automation user git configs globallyTrevor Bramwell1-2/+2
These settings don't appear to be being picked up when the commit happens. Setting them globally should fix this. Change-Id: Ic93a65c7b1676a465e85af3909b20ba2bcf60f74 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-03-21Release AutomationTrevor Bramwell1-0/+37
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>