
Add a new job to run when a patch merges in openstack/releases to apply the tags described in the patch. For now, only apply those tags to the openstack/release-test repository so we can test the job. A later patch will remove that restriction so the job can apply the tags to all repositories. Change-Id: I2121781197d3ed824fed91cdebd0ee9ebeb353d2 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
25 lines
745 B
YAML
25 lines
745 B
YAML
- 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
|