project-config/playbooks/release/tag.yaml
Doug Hellmann d1f62732ca rewrite release jobs in python
Merge the two release scripts into one python script.

Change-Id: Ic9832b58f10b0a8a7f2f11b9200f88913706aa3d
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-10-24 14:31:01 -04:00

21 lines
638 B
YAML

- hosts: all
tasks:
- name: Run release scripts
shell:
cmd: |
set -x
RELEASES_DIR=$HOME/src/{{ zuul.project.canonical_name }}
# Tell the launchpad script run from release.sh where its
# credentials file is.
export LP_CREDS_FILE=~/.launchpadlib/creds
# 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.
~/scripts/release-tools/process_release_requests.sh $RELEASES_DIR
RC=$?
exit $RC
executable: /bin/bash