Also trigger Github mirroring on tags

We transitioned from Gerrit-wide replication to using repo-specific
jobs for Github mirroring of official OpenStack repositories.

The job was only triggered by merges ('post' pipeline), which means
that new tags are not replicated until the next merge.

Since that can take a while for less-active projects, we should
also trigger that job when a tag is pushed ('pre-release' and
'release' pipelines).

Change-Id: Icfb5d4053b59074c5fc5a366557b71aec4039c1d
This commit is contained in:
Thierry Carrez 2020-05-13 10:40:47 +02:00 committed by Andreas Jaeger
parent 3e2845f28c
commit f7f8fbb032
1 changed files with 7 additions and 1 deletions

View File

@ -1931,8 +1931,14 @@
name: official-openstack-repo-jobs
description: |
Jobs attached to official and active OpenStack repositories.
This template must be added in openstack/project-config repository.
post:
jobs:
- openstack-upload-github-mirror
pre-release:
jobs:
- openstack-upload-github-mirror
release:
jobs:
- openstack-upload-github-mirror