Migrating git repos to OpenDev
fungi at yuggoth.org
Sun Mar 10 17:07:37 UTC 2019
On 2019-03-10 17:03:27 +0000 (+0000), Jeremy Stanley wrote:
> On 2019-03-10 11:52:33 -0400 (-0400), David Moreau Simard wrote:
> > ARA is an "unofficial" OpenStack project that would be part of this
> > move and I would appreciate if ARA could remain on GitHub where the
> > Ansible community is.
> > Is there a way to make this work ?
> The idea is that you could run a Zuul job in the "post" pipeline
> which pushes the branch tip to a repository in a GitHub (or
> Bitbucket or whatever) remote URL of your choice. The job could
> include credentials for a service account you create with push
> rights for that remote. While the playbook containing the Zuul
> secret would need to be in your repository, the fundamental role to
> perform the git push is probably a good candidate for including in
> Zuul's standard library. You'd probably also want it to run in the
> "tag" pipeline to push a copy of any tag which triggers it.
I also meant to add (mostly for the sake of other readers as I
expect it's obvious to you) that the job would be able to run on the
Zuul executor and so would be effectively instantaneous, as it then
doesn't wait for a job node assignment.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 963 bytes
Desc: not available
More information about the openstack-discuss