Hello everyone, how do I go about publishing a rep...
# pulumiverse
g
Hello everyone, how do I go about publishing a repo to
pulumiverse
org on Github? I have a TF Bridge Provider that I have been testing and would like to share with the community. It follows the steps in pulumi-tf-provider-boilerplate to scaffold out the provider.
b
@green-answer-22914 Create a PR in https://github.com/pulumiverse/infra which contains the following: 1. in
02-repositories
create
*.yaml
file named after your provider, which contains the following properties:
name
: Name of the pulumi provider (will become the name of the Git Repo).
description
and
type: provider
2. in
03-members
create a
*.yaml
file named after your GitHub login and add the following properties: `username`: your GitHub User name.
maintain
(GitHub Role) which is an array of repo names. So add the name of the repo you used in
02-repositories
here. As a reference you can use my PR for the
pulumi-mssql
provider https://github.com/pulumiverse/infra/pull/59/files
g
Hi Thomas👋 Many thanks for these instructions. Will do!
b
@green-answer-22914 had an internal discussion about it. It's preferred to move the existing repo to the pulumiverse organization. Obviously you can have a new repo created in Pulumiverse and import your history to this new repo via a Git remote. It's up to you which way you wanna use.
g
I can transfer the repo to
pulumiverse
. Have a few more things to tidy up and then I will initiate the transfer. https://github.com/videmsky/pulumi-redpanda
b
Give me a heads up when you're done plz and initiated the transfer. I've to accept the transfer.
g
@big-architect-71258 Ready! Getting one of these though. Do I need to make it Private to initiate the transfer?:
b
@green-answer-22914 pretty sure you first have to a be member of Pulumiverse. So I think you first have to create a YAML file named after your GitHub username in
03-members
without specifying a repository initially. Pulumi will add your account then to Pulumiverse and you can initiate the transfer. @limited-rainbow-51650 Am I right here? Or is there another issue lurking here?
g
That makes sense. I will do that step.
PR opened!
l
@green-answer-22914 you transfer the (public) repo to @big-architect-71258. He can then move it further to the
pulumiverse
org.
b
@limited-rainbow-51650 boooo ... what a hassle 😛 😄 @green-answer-22914
g
Cool! Will try that. 😁
Initiated transfer to
tmeckel
!
b
NOOOOO!!! 🤣
@green-answer-22914
g
pulumipus dancing music
Now to tackle the release workflow! 🙏
b
@green-answer-22914 Plz don't forget to go through the rest of the workflow for onbording the Redpanda provider, i.e. creating a PR in the
infra
repo and adding the required files in
02-repositories
and
03-members
.
g
b
One small change 😉
@green-answer-22914 the GitHub Pulumi provider is reporting that the deprecated downloads feature is enabled on the RedPanda repo. Since this feature is deprecated (removed?) since 12 years now, I wonder how this could've been enabled on the repo at all. Badly enough I didn't find a way to disable the feature. But because Pulumi requires all properties in sync with the resource while importing, the import will eventually (always!) fail. https://www.pulumi.com/registry/packages/github/api-docs/repository/#hasdownloads_nodejs
@limited-rainbow-51650 any idea here?
Copy code
gh api -X PATCH /repos/pulumiverse/pulumi-redpanda -f has_downloads=false
@green-answer-22914 PR is merged
g
🙌