Page MenuHomePhabricator

ENC API should update cloud/instance-puppet.git instead of requiring the caller to do so
Closed, ResolvedPublic

Description

Right now the ENC API just stores the ENC state and the caller (horizon) is responsible for updating the mirror cloud/instance-puppet.git. Since we want to open up the API to non-admin clients that Git update should be moved to the API service.

Event Timeline

Mentioned in SAL (#wikimedia-cloud) [2022-12-25T14:21:08Z] <taavi> register developer account 'instance-puppet-user-dev' to update the codfw1dev instance-puppet repo without access to the eqiad1 repo T318504

Change 871294 had a related patch set uploaded (by Majavah; author: Majavah):

[labs/private@master] keyholder: add fake instance-puppet keys

https://gerrit.wikimedia.org/r/871294

Change 871295 had a related patch set uploaded (by Majavah; author: Majavah):

[openstack/horizon/wmf-puppet-dashboard@main] support letting the api handle git updates

https://gerrit.wikimedia.org/r/871295

Change 871296 had a related patch set uploaded (by Majavah; author: Majavah):

[operations/puppet@production] openstack: wmf_sink: tell enc-api that we handle Git updates

https://gerrit.wikimedia.org/r/871296

Change 871298 had a related patch set uploaded (by Majavah; author: Majavah):

[operations/puppet@production] openstack: encapi: perform git updates server-side

https://gerrit.wikimedia.org/r/871298

Change 871296 merged by David Caro:

[operations/puppet@production] openstack: wmf_sink: tell enc-api that we handle Git updates

https://gerrit.wikimedia.org/r/871296

Change 871295 merged by jenkins-bot:

[openstack/horizon/wmf-puppet-dashboard@main] support letting the api handle git updates

https://gerrit.wikimedia.org/r/871295

Change 871294 merged by David Caro:

[labs/private@master] keyholder: add fake instance-puppet keys

https://gerrit.wikimedia.org/r/871294

Change 871298 merged by Andrew Bogott:

[operations/puppet@production] openstack: encapi: perform git updates server-side

https://gerrit.wikimedia.org/r/871298

Change 875281 had a related patch set uploaded (by Majavah; author: Majavah):

[operations/puppet@production] openstack: designate: use the enc api to update git data

https://gerrit.wikimedia.org/r/875281

Change 875283 had a related patch set uploaded (by Majavah; author: Majavah):

[operations/puppet@production] openstack: horizon: use the enc api to update git data

https://gerrit.wikimedia.org/r/875283

Change 875317 had a related patch set uploaded (by Majavah; author: Majavah):

[operations/puppet@production] openstack: encapi: improve git pushing

https://gerrit.wikimedia.org/r/875317

Change 875317 merged by David Caro:

[operations/puppet@production] openstack: encapi: improve git pushing

https://gerrit.wikimedia.org/r/875317

Change 875281 merged by Andrew Bogott:

[operations/puppet@production] openstack: designate: use the enc api to update git data

https://gerrit.wikimedia.org/r/875281

Change 875283 merged by Andrew Bogott:

[operations/puppet@production] openstack: horizon: use the enc api to update git data

https://gerrit.wikimedia.org/r/875283

Change 875402 had a related patch set uploaded (by Majavah; author: Majavah):

[openstack/horizon/wmf-puppet-dashboard@main] drop support for doing the git updates

https://gerrit.wikimedia.org/r/875402

Change 875402 merged by jenkins-bot:

[openstack/horizon/wmf-puppet-dashboard@main] drop support for doing the git updates

https://gerrit.wikimedia.org/r/875402

I think I'm done here. Closing.