https://pulumi.com logo
#contribute
Title
# contribute
m

millions-judge-24978

04/16/2020, 6:20 PM
I am thinking about reviving a new version of https://github.com/ibrasho/pulumi-github with the hope of getting it under pulumi ownership. @broad-dog-22463 you helped me before to do the same for
pulumi-spotinst
. Would you be open to taking ownership of this one as well?
b

billowy-army-68599

04/16/2020, 7:03 PM
I can help here! We're working on putting together some thing to help support community providers. If you can put the provider together I can help you with the rest
👍 1
l

limited-rainbow-51650

04/16/2020, 7:14 PM
Amazing how a plan comes together. A few hours ago, I talked to Paul about community providers and the Github provider. Wow. 😄
🎉 2
m

millions-judge-24978

04/16/2020, 7:59 PM
I hope the new stuff includes a new boilerplate 😅
b

billowy-army-68599

04/16/2020, 8:04 PM
I actually just worked on getting the boilerplate ready for the v2 release, is there anything else you think needs fixing there?
I also have a doc out internally about "community providers support" which I'll share with you all soon
m

millions-judge-24978

04/16/2020, 8:06 PM
Is this a new thing living somewhere else besides https://github.com/pulumi/pulumi-tf-provider-boilerplate?
b

broad-dog-22463

04/16/2020, 8:11 PM
@millions-judge-24978 does that boilerplate repo not work for you?
Maybe we need to make the documentation a little more clear on it or someting
m

millions-judge-24978

04/16/2020, 8:14 PM
Well, the issue is that I tried to start from there, and add some of the updates that have been done to the
pulumi-spotinst
repo, but the boilerplate seems very out of date
I’m thinking maybe I should have actually just duplicated the spotinst repo as a starting point instead
b

broad-dog-22463

04/16/2020, 8:50 PM
ah there is a PR right now open for the new boiler plate
the spotinst repo has been prepped for the new go modules work
m

millions-judge-24978

04/16/2020, 8:55 PM
Ah well I had pretty good luck starting from there,
make build
just passed
b

broad-dog-22463

04/16/2020, 8:59 PM
awesome
I am going to record a video on how to migrate a provider
m

millions-judge-24978

04/16/2020, 9:04 PM
Are there any docs on what I need to get the
dotnet
sdk to build? I did a
brew cask install dotnet
, but I think I need to install something more still
b

billowy-army-68599

04/16/2020, 9:27 PM
That should be all it needs, are you getting an error?
m

millions-judge-24978

04/16/2020, 9:28 PM
I think it needed an sdk or something hang on let me get the error again
I’ve done zero dotnet dev
oh wait now it works fine hmm ¯\_(ツ)_/¯
Alright without further ado: https://github.com/timmyers/pulumi-github Seems to be all working. Travis fails once it gets to the deploy job of course.
b

billowy-army-68599

04/17/2020, 12:51 AM
@millions-judge-24978 if you want a release process, have a look at https://github.com/jaxxstorm/pulumi-rke
specifically the actions part, and the makefile which has been updated
m

millions-judge-24978

04/17/2020, 12:57 AM
Ah nice okay. So this let's everything work smoothly without having to upload artifacts in pulumis org?
b

billowy-army-68599

04/17/2020, 12:59 AM
yep!
m

millions-judge-24978

04/17/2020, 1:00 AM
How will docs work?
b

billowy-army-68599

04/17/2020, 1:02 AM
that's a good question, haven't figured that out yet, but it's on the list
m

millions-judge-24978

04/17/2020, 1:02 AM
Also I'm sure maintaining every provider is tough, but a lot of the updates I think are pretty hard to know what to do as a community member, just based on the changes to the spotinst provider since I transferred ownership. Any plan to help guide this sort of thing? Would a community provider just need to sort of watch another repo and mirror changes made to it occasionally?
b

billowy-army-68599

04/17/2020, 1:04 AM
we have some plans around community providers which are coming together, we know it's an area for improvement. It's a lot of work for the team too, so we're hoping to make some progress on this very soon
m

millions-judge-24978

04/17/2020, 1:07 AM
Gotcha okay. Is there a desire to not take ownership of all providers on your guys part? More than just wanting to support community providers which others may want to own themselves better?
For instance I have no strong desire to own this, but I am willing to
b

billowy-army-68599

04/17/2020, 1:24 AM
we want to set up a community governing body for these types of providers, which @limited-rainbow-51650 alluded to earlier
👌 1
m

millions-judge-24978

04/17/2020, 3:05 AM
I’m getting this error in the build actions workflow
tf2pulumi is missing, please install it and re-run
I don’t see it being installed anywhere in
pulumi-rke
Any idea why I’d be getting this error?
Added this in any case, but confused why your package doesnt need it
Copy code
- name: Install tf2pulumi
        uses: pulumi/action-install-tf2pulumi@releases/v1
        with:
          tf2pulumi-version: 0.6.0
nodejs publishing all working except for no script is being added to install the plugin, not sure how that should work for these community providers
l

limited-rainbow-51650

04/17/2020, 6:37 AM
@millions-judge-24978 If I’m not mistaken, with NodeJS packages, the provider binary is included in the package and the path to it is calculated by the Pulumi runtime.
So as long as you can publish an NPM package including the provider binary, you should be fine.
m

millions-judge-24978

04/17/2020, 7:54 PM
It’s normally installed in a npmjs install script that gets populated by some magic step in the build process. You can see it if you look in your
node_modules/@pulumi/aws/package.json
for example:
Copy code
"scripts": {
        "build": "tsc",
        "install": "node scripts/install-pulumi-plugin.js resource aws v1.31.0"
    },