Merge "Add job to propose tag merges"
This commit is contained in:
commit
b09cb5b4d2
27
modules/jenkins/files/slave_scripts/merge_tags.sh
Executable file
27
modules/jenkins/files/slave_scripts/merge_tags.sh
Executable file
@ -0,0 +1,27 @@
|
|||||||
|
#!/bin/bash -xe
|
||||||
|
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
# not use this file except in compliance with the License. You may obtain
|
||||||
|
# a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
# License for the specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
|
||||||
|
TAG=$1
|
||||||
|
|
||||||
|
git config user.name "OpenStack Jenkins"
|
||||||
|
git config user.email "jenkins@openstack.org"
|
||||||
|
git config gitreview.username "jenkins"
|
||||||
|
|
||||||
|
git review -s
|
||||||
|
git checkout master
|
||||||
|
git reset --hard origin/master
|
||||||
|
git merge -s ours $TAG
|
||||||
|
# Get a Change-Id
|
||||||
|
GIT_EDITOR=true git commit --amend
|
||||||
|
git review -R -t merge/release-tag
|
@ -18,7 +18,25 @@
|
|||||||
- console-log
|
- console-log
|
||||||
|
|
||||||
|
|
||||||
|
- job-template:
|
||||||
|
name: '{name}-merge-release-tags'
|
||||||
|
concurrent: false
|
||||||
|
|
||||||
|
builders:
|
||||||
|
- gerrit-git-prep
|
||||||
|
- shell: |
|
||||||
|
#!/bin/bash -xe
|
||||||
|
TAG=`echo $ZUUL_REFNAME | sed 's/refs.tags.//'`
|
||||||
|
/usr/local/jenkins/slave_scripts/merge_tags.sh $TAG
|
||||||
|
|
||||||
|
publishers:
|
||||||
|
- console-log
|
||||||
|
|
||||||
|
node: 'proposal'
|
||||||
|
|
||||||
|
|
||||||
- job-group:
|
- job-group:
|
||||||
name: openstack-publish-jobs
|
name: openstack-publish-jobs
|
||||||
jobs:
|
jobs:
|
||||||
- '{name}-docs'
|
- '{name}-docs'
|
||||||
|
- '{name}-merge-release-tags'
|
||||||
|
@ -233,6 +233,8 @@ jobs:
|
|||||||
branch: ^(?!stable/(folsom|grizzly)).*$
|
branch: ^(?!stable/(folsom|grizzly)).*$
|
||||||
- name: manuals-upstream-translation-update
|
- name: manuals-upstream-translation-update
|
||||||
branch: ^master$
|
branch: ^master$
|
||||||
|
- name: ^.*-merge-release-tags$
|
||||||
|
branch: milestone-proposed
|
||||||
- name: gate-hacking-python33
|
- name: gate-hacking-python33
|
||||||
voting: false
|
voting: false
|
||||||
- name: gate-hacking-integration-nova
|
- name: gate-hacking-integration-nova
|
||||||
@ -603,6 +605,7 @@ projects:
|
|||||||
release:
|
release:
|
||||||
- cinder-tarball
|
- cinder-tarball
|
||||||
- cinder-docs
|
- cinder-docs
|
||||||
|
- cinder-merge-release-tags
|
||||||
periodic:
|
periodic:
|
||||||
- cinder-propose-translation-update
|
- cinder-propose-translation-update
|
||||||
- periodic-cinder-docs-stable-grizzly
|
- periodic-cinder-docs-stable-grizzly
|
||||||
@ -648,6 +651,7 @@ projects:
|
|||||||
release:
|
release:
|
||||||
- glance-tarball
|
- glance-tarball
|
||||||
- glance-docs
|
- glance-docs
|
||||||
|
- glance-merge-release-tags
|
||||||
periodic:
|
periodic:
|
||||||
- glance-propose-translation-update
|
- glance-propose-translation-update
|
||||||
- periodic-glance-docs-stable-folsom
|
- periodic-glance-docs-stable-folsom
|
||||||
@ -700,6 +704,7 @@ projects:
|
|||||||
release:
|
release:
|
||||||
- horizon-tarball
|
- horizon-tarball
|
||||||
- horizon-docs
|
- horizon-docs
|
||||||
|
- horizon-merge-release-tags
|
||||||
periodic:
|
periodic:
|
||||||
- periodic-horizon-docs-stable-folsom
|
- periodic-horizon-docs-stable-folsom
|
||||||
- periodic-horizon-python26-stable-folsom
|
- periodic-horizon-python26-stable-folsom
|
||||||
@ -775,6 +780,7 @@ projects:
|
|||||||
release:
|
release:
|
||||||
- keystone-tarball
|
- keystone-tarball
|
||||||
- keystone-docs
|
- keystone-docs
|
||||||
|
- keystone-merge-release-tags
|
||||||
periodic:
|
periodic:
|
||||||
- keystone-propose-translation-update
|
- keystone-propose-translation-update
|
||||||
- periodic-keystone-docs-stable-folsom
|
- periodic-keystone-docs-stable-folsom
|
||||||
@ -826,6 +832,7 @@ projects:
|
|||||||
release:
|
release:
|
||||||
- nova-tarball
|
- nova-tarball
|
||||||
- nova-docs
|
- nova-docs
|
||||||
|
- nova-merge-release-tags
|
||||||
periodic:
|
periodic:
|
||||||
- nova-propose-translation-update
|
- nova-propose-translation-update
|
||||||
- periodic-nova-docs-stable-folsom
|
- periodic-nova-docs-stable-folsom
|
||||||
@ -1003,6 +1010,7 @@ projects:
|
|||||||
release:
|
release:
|
||||||
- neutron-tarball
|
- neutron-tarball
|
||||||
- neutron-docs
|
- neutron-docs
|
||||||
|
- neutron-merge-release-tags
|
||||||
periodic:
|
periodic:
|
||||||
- neutron-propose-translation-update
|
- neutron-propose-translation-update
|
||||||
- periodic-neutron-docs-stable-grizzly
|
- periodic-neutron-docs-stable-grizzly
|
||||||
@ -1050,6 +1058,7 @@ projects:
|
|||||||
release:
|
release:
|
||||||
- swift-tarball
|
- swift-tarball
|
||||||
- swift-docs
|
- swift-docs
|
||||||
|
- swift-merge-release-tags
|
||||||
|
|
||||||
- name: openstack/python-ceilometerclient
|
- name: openstack/python-ceilometerclient
|
||||||
check:
|
check:
|
||||||
@ -1638,6 +1647,7 @@ projects:
|
|||||||
release:
|
release:
|
||||||
- ceilometer-docs
|
- ceilometer-docs
|
||||||
- ceilometer-tarball
|
- ceilometer-tarball
|
||||||
|
- ceilometer-merge-release-tags
|
||||||
periodic:
|
periodic:
|
||||||
- ceilometer-propose-translation-update
|
- ceilometer-propose-translation-update
|
||||||
- periodic-ceilometer-docs-stable-grizzly
|
- periodic-ceilometer-docs-stable-grizzly
|
||||||
@ -1720,6 +1730,7 @@ projects:
|
|||||||
release:
|
release:
|
||||||
- heat-tarball
|
- heat-tarball
|
||||||
- heat-docs
|
- heat-docs
|
||||||
|
- heat-merge-release-tags
|
||||||
periodic:
|
periodic:
|
||||||
- periodic-heat-docs-stable-grizzly
|
- periodic-heat-docs-stable-grizzly
|
||||||
- periodic-heat-python26-stable-grizzly
|
- periodic-heat-python26-stable-grizzly
|
||||||
@ -1825,6 +1836,7 @@ projects:
|
|||||||
release:
|
release:
|
||||||
- trove-tarball
|
- trove-tarball
|
||||||
- trove-docs
|
- trove-docs
|
||||||
|
- trove-merge-release-tags
|
||||||
|
|
||||||
- name: openstack/trove-integration
|
- name: openstack/trove-integration
|
||||||
check:
|
check:
|
||||||
@ -2908,6 +2920,7 @@ projects:
|
|||||||
release:
|
release:
|
||||||
- ironic-tarball
|
- ironic-tarball
|
||||||
- ironic-docs
|
- ironic-docs
|
||||||
|
- ironic-merge-release-tags
|
||||||
|
|
||||||
- name: openstack/python-ironicclient
|
- name: openstack/python-ironicclient
|
||||||
check:
|
check:
|
||||||
|
Loading…
Reference in New Issue
Block a user