Add tag-release job

Depends-On: I5bf80922026d9e68a396effe89bb2d6ea5cbdec0
Change-Id: Ic30b719d9fd147ed07f00fe0fc748a407c82d0af
This commit is contained in:
Monty Taylor 2017-08-28 19:45:42 -05:00
parent 40b648ff34
commit 46fdcd4f6f
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
5 changed files with 111 additions and 0 deletions

View File

@ -0,0 +1,3 @@
- hosts: all
roles:
- add-launchpad-credentials

View File

@ -0,0 +1,3 @@
- hosts: all
roles:
- remove-launchpadlib-credentials

View File

@ -0,0 +1,5 @@
- hosts: all
roles:
- legacy-copy-project-config-scripts
- add-sshkey
- add-launchpadlib-credentials

View File

@ -0,0 +1,16 @@
- hosts: all
tasks:
- name: Run release scripts
shell: |
RELEASES_DIR=$HOME/src/{{ zuul.project.canonical_name }}
# Tell the launchpad script run from release.sh where it's
# 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/release_from_yaml.sh $RELEASES_DIR
# After we have tagged, create any new branches.
~/scripts/release-tools/branch_from_yaml.sh $RELEASES_DIR

View File

@ -359,6 +359,18 @@
vars:
wheel_python: python3
- job:
name: tag-releases
pre-run: playbooks/release/pre
run: playbooks/release/tag
post-run: playbooks/release/post
final: true
secrets:
- name: lp_creds
secret: lp_creds
- name: ssh_key
secret: release_ssh_key
- project:
name: openstack-infra/project-config
check:
@ -805,6 +817,78 @@
QSGRUH4KXR0iFvsbK5mtFUYLJLmyF67EVDEECzUK5wKASb5SQOxhXsru5Yh7IqpSWEd8J
+rfHhSdeahDbBRBWShs/otfEFzy4Rgaoxnnpi04jBLO+H0z7XVJ+RLMe18zcNE=
- secret:
name: release_ssh_key
data:
private_key: !encrypted/pkcs1-oaep
- Wg+Fg0nfut/chXjIPXZqxzIAfExGTcRF+ttdZWhYFUAfa7i8u/WnyGed1M3WD4ivsEylC
Mp9OlWAoqat+hx9ET1W0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c2NnDgxY8Jq6591Qvpm6/RujFt8nvLGCJTIfdUimvXYevINbdhwUDRtQ5AGzD5JNEDU
FVlt/Vpko9EN1npl5deCuY04CO0P2REpF3XHLrg6Y6Nvdkj4sj3HnUTL259/ivgaZOrgu
bFYaV0YMLOfFKpCuFuWwIHbQaDTTiOH2FPLnD8O0rtzPB0297GIfSkuUYSWCCY=
access_token: !encrypted/pkcs1-oaep
- Lp5fdfh8RhvORJEdrTZbe63DdufwYoQAejH/6D9wboOJpd+mVUUxWi6gV+2ljBqXdMFsh
txqjO2RxWfRqtezDxqeO4cha6mUKW3ebwlWiWqRKXVWxjOiSAnhP1mASHA3Z3s0drHKt0
qlEzReODGBj8s2k0UIZwwKsgWimhRBejVhYYDC2Yo/Zk4aqAaSTbxPxurBohsMSQkAISS
sw6Vax/h1rEb9NWz+FJY6n6QP6HZjJh2WJGAitjuEkglN6U9DDkRSsgj3JsMUFf20ECEj
AOP7STrvVTdq2ptVzqAtyGMhIXz+GTAMUqGsgHrMj1/OWFYiCvi76QNv09YS/qXCluwpd
OagX40i7tjDPBBNOCuqWaO6QlFhefbtcjUklAzDpsKbU5blBfYFkEl4uLgPem2vet7Pzh
Z37GoRP/CmH0KbTAtxkMwEFqrlj/jP0my6H/u79/yuV5Ufk2k5lAxRe6PYWwc2+kH11+N
UYUxkWiH21RHbKGs5aTegydQmB/Pgw/HoF7yz9XbktfZ4PVghZJ4ssD/S1rq55wE+VwjE
Nx5z/lAk0hzM5MWQj0ZtHsqWs/xqodo4i7ucLNWs9UInT+1e2Md9SphQa3COK9FadhmfM
9zPvfZpEiF/0aC5VoZyKKwFUJvgTj+vxnN2P2JTQVQvTlxnIXxFZANV8LcHmBI=
consumer_key: 'System-wide: Ubuntu (review.openstack.org)'
# This project definition is here so that the only zuul config in
# zuul-jobs are the jobs themselves (to make it easy for other users
# to consume).