Merge "add job to apply tags when based on changes in openstack/releases"

This commit is contained in:
Jenkins 2016-07-15 14:58:50 +00:00 committed by Gerrit Code Review
commit a159b303c3
3 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,24 @@
- job:
name: tag-releases
description: Apply tags to repositories based on changes in deliverables files.
node: signing
builders:
- gerrit-git-prep
- revoke-sudo
- shell: |
#!/bin/bash -ex
# Pass the location of the openstack/releases repo to
# release_from_yaml.sh explicitly so it knows where to scan to
# look for modified files.
/usr/local/jenkins/slave_scripts/release-tools/release_from_yaml.sh $(pwd)
publishers:
- scp:
site: 'static.openstack.org'
files:
- target: 'logs/$LOG_PATH'
source: 'cover/**'
keep-hierarchy: true
copy-after-failure: true
- console-log

View File

@ -65,6 +65,14 @@ RELEASE_META=$(git show --format=full --show-notes=review $parent | egrep -i '(A
$TOOLSDIR/list_deliverable_changes.py -r $RELEASES_REPO $DELIVERABLES \
| while read deliverable series version repo hash announce_to pypi first_full; do
title "$repo $series $version $hash $announce_to"
# FIXME(dhellmann): While we work out the kinks in the job, we
# only want to actually apply the tags to the release-test
# repository. When we're confident that it is working correctly,
# we can remove this block and apply it to all repositories.
if [ "$repo" != "openstack/release-test" ]; then
echo "SKIPPING during testing phase"
continue
fi
$TOOLSDIR/release.sh $repo $series $version $hash $announce_to $pypi $first_full "$RELEASE_META"
done

View File

@ -11874,6 +11874,7 @@ projects:
- gate-releases-tox-validate
- gate-releases-docs
release-post:
- tag-releases
- static-releases-publish
- name: openstack/renderspec