pulumiverse / infra

IaC for all infrastructure required by Pulumiverse
Apache License 2.0
6 stars 15 forks source link

Add automation to keep the provider build workflows up to date #40

Open ringods opened 2 years ago

ringods commented 2 years ago

How a provider needs to be build, packaged and released is mainly defined by Pulumi. They also have a lot of automation for keeping the Github Actions workflows up to date in all of the provider repositories.

We could benefit from having an automated setup serving two purposes:

Pulumi is aware that building & releasing a provider must become must simpler. There is planned work to make the pulumi/ci-mgmt a consumable artefact. This artefact, with the proper configuration, would be able to generate the correct workflows for a provider repository.

Let's follow up on that work, test it, provide feedback (issues & PR), so we can build on top of that effort.

ringods commented 1 month ago

I'm making progress on this one. The following providers serve as a testbed for the automatic workflow generation, driven by pulumi/ci-mgmt:

omercnet commented 1 month ago

happy to include pulumi-vercel in this testing

ringods commented 1 month ago

@omercnet I will notify you to get included. This PR first needs to be merged:

https://github.com/pulumi/ci-mgmt/pull/1099

This also changes the permission model for Pulumi-managed providers, so the team needs to review and test these changes more thorougly.

If this is merged, I have another set of changes lined up to make the upgrade-provider and upgrade-bridge workflows going for third-party packages.

omercnet commented 1 month ago

I'm already using upgrade provider and most of the ci-mgmt in https://github.com/pulumiverse/pulumi-vercel and https://github.com/descope/pulumi-descope/

let me know if you need any assistance - I'd love to see this work seamlessly