https://pulumi.com logo
t

thankful-match-46035

08/17/2023, 6:55 PM
Hi 👋 With Engin we worked together on pulumi-ovh provider. Today I has a trouble in the release github action: https://github.com/scraly/pulumi-ovh/actions/runs/5890976896/job/15977145254 Do you know what is happening? Thanks
l

limited-rainbow-51650

08/18/2023, 7:09 AM
Hello @thankful-match-46035, I'm Engin's colleague in Belgium. The problem you encounter is probably because you have different versions of these two Pulumi go packages in `provider/go.mod`:
Copy code
<http://github.com/pulumi/pulumi/sdk/v3|github.com/pulumi/pulumi/sdk/v3> v3.78.1
<http://github.com/pulumi/pulumi/pkg/v3|github.com/pulumi/pulumi/pkg/v3> v3.76.1 // indirect
Can you bump
pulumi/pkg
also to
v3.78.1
? Before trying a new release, you can run
make provider
locally, which is the same as GoReleaser executes.
t

thankful-match-46035

08/18/2023, 8:15 AM
Thanks for your answer. I bumped the version and now I have some issues during the `make provider`command:
image.png
image.png
l

limited-rainbow-51650

08/18/2023, 8:28 AM
I'll check this.
@thankful-match-46035 I can't get it to work either. I'll pick it up with one of our engineers and communicate back when I have more info or results.
t

thankful-match-46035

08/18/2023, 12:27 PM
Ok, thanks
l

limited-rainbow-51650

08/18/2023, 1:07 PM
In the meantime, @many-telephone-49025 provided you a PR: https://github.com/scraly/pulumi-ovh/pull/19
m

many-telephone-49025

08/18/2023, 1:08 PM
Nice to see @thankful-match-46035 that you get best person to help on this! @limited-rainbow-51650 is the best!
Thanks @limited-rainbow-51650 for the help! the next bottle of Leffe is from me in Toulouse when we visit @thankful-match-46035!
l

limited-rainbow-51650

08/18/2023, 1:17 PM
I know that area pretty well. Was on holiday in Cazac, Caussade & Orgueil spread over the past years and visited Toulouse as one of our local trips. Toulouse has a very nice atmosphere. Albi as well!
m

many-telephone-49025

08/18/2023, 1:27 PM
So Pulumi Toulouse PUG in autumn! 😍
t

thankful-match-46035

08/18/2023, 1:35 PM
september and october will be “sporty” on my side but november/december why not 😉 we need to think about
m

many-telephone-49025

08/18/2023, 1:39 PM
Let’s get the provider up and running again! As soon as it is release under your orga @thankful-match-46035 i will update my article too
t

thankful-match-46035

08/18/2023, 1:40 PM
I started the process to move to the ovh orga this morning. I’ll take you inform when it will be migrated 🙂 Step one: try to fix the provider in my own orga ^^
m

many-telephone-49025

08/18/2023, 1:47 PM
wow
t

thankful-match-46035

08/18/2023, 2:37 PM
I add to change again “ediri” to “scraly “(my orga on GH) and now I have another error type ^^ https://github.com/scraly/pulumi-ovh/actions/runs/5903758622/job/16014657339
m

many-telephone-49025

08/18/2023, 2:40 PM
There are stuff with my name in?
looks like there are traces of my stuff
or remove this file
in python too
@thankful-match-46035 best thing: remove the sdks in the sdk folder and run
make build
again
t

thankful-match-46035

08/18/2023, 2:44 PM
ok, i’m doing wip 🙂
image.png
m

many-telephone-49025

08/18/2023, 2:53 PM
pulumi ctl is missing
check my dockerfile
t

thankful-match-46035

08/18/2023, 3:06 PM
brew install pulumi/tap/pulumictl added ^^ Now ‘dotnet’ CLI is missing?
m

many-telephone-49025

08/18/2023, 3:08 PM
yes, thats why i use
FROM  --platform=linux/amd64 pulumi/pulumi:3.74.0
this has all sdks in
I don’t know
gitpod
t

thankful-match-46035

08/18/2023, 3:36 PM
i can’t do the same things on gitpod, so i need to install the donet CLI from gitpod-workspace image I tested to start a gitpod env from the pulumi image and it’s not working 😉
l

limited-rainbow-51650

08/18/2023, 3:53 PM
To remove the generated SDKs, run
make clean
.
t

thankful-match-46035

08/21/2023, 6:57 AM
after a short week-end, the journey continue ^^ Codespace is not working this morning, so i continue on gitpod. i installed donet $ dotnet --version 6.0.413 I executed make clean again and make build and I have another error. Should I use another version of dotnet?
image.png
m

many-telephone-49025

08/21/2023, 7:01 AM
t

thankful-match-46035

08/21/2023, 7:03 AM
it’s what i am doing to right now 🙂 🤞
with no success
m

many-telephone-49025

08/21/2023, 7:05 AM
sure the user location is right?
t

thankful-match-46035

08/21/2023, 7:09 AM
image.png
m

many-telephone-49025

08/21/2023, 7:11 AM
let me try in gitpod
1sec
t

thankful-match-46035

08/21/2023, 7:13 AM
I updated the gitpod dockerfile https://github.com/scraly/pulumi-ovh
m

many-telephone-49025

08/21/2023, 7:14 AM
ok let me rebuild the workspace
gitpod is much slower then DevPod 😄
t

thankful-match-46035

08/21/2023, 7:27 AM
gitpod is slower the first time, not after that
m

many-telephone-49025

08/21/2023, 7:30 AM
ok what is strange
is that you have MSBuild version 17.3.2+561848881
let me parallel check it in devcontainer
looks like an issue with gitpod https://github.com/gitpod-io/gitpod/issues/8901
you may have to check the issues
In DevPod it works fine! Yeah OSS and standard!
t

thankful-match-46035

08/21/2023, 7:42 AM
everyday a new problem 😄 pulumi + briged provider + gitpod = several issues every day for me ^^
m

many-telephone-49025

08/21/2023, 7:46 AM
🤷‍♂️
t

thankful-match-46035

08/21/2023, 7:46 AM
i am trying with devpod 🤞
m

many-telephone-49025

08/21/2023, 7:46 AM
I am not using GitPod so I can’t help with this
t

thankful-match-46035

08/21/2023, 7:46 AM
sure, no problem 🙂
in DevPod, make build is OK so I am tagging again and executing again the gthub action 🙂
m

many-telephone-49025

08/21/2023, 7:59 AM
nice!
and welcome to the new way of Dev Environments 😄
t

thankful-match-46035

08/21/2023, 8:00 AM
fortunately I played with DevPod after Toronto and reviewed the ovh provider written by my colleague ^^
😂
call me “black cat”
m

many-telephone-49025

08/21/2023, 8:10 AM
Special talent! 😄
t

thankful-match-46035

08/21/2023, 8:11 AM
if a company wants to discover all the bugs before the users, I’m here 😂
m

many-telephone-49025

08/21/2023, 8:11 AM
AaaS (Aurelie as a Service)! 🤣
t

thankful-match-46035

08/21/2023, 8:44 AM
😄
Now I have a problem with my nuget API key Should I need to create an organization? (I didn’t create one) What configuration I need to add during the API key/token creation? Thanks 🙂
m

many-telephone-49025

08/21/2023, 9:12 AM
i created an account
thats very quick to do
but I saw you removed dotnet for the moment
t

thankful-match-46035

08/21/2023, 9:19 AM
Yes i removed it in order to see other problems But I don’t understand the issue I created an account, then I created the api key but i have a 403 error
BTW, Have you documented all theses steps to help provider creators? 🙂
m

many-telephone-49025

08/21/2023, 9:20 AM
image.png
thats mine
t

thankful-match-46035

08/21/2023, 9:21 AM
Should i create manually packages before to trigger the gh action?
m

many-telephone-49025

08/21/2023, 9:22 AM
no
it should work
NUGET_PUBLISH_KEY
is set correctly?
And I have as glob
*
you have as glob
*.
t

thankful-match-46035

08/21/2023, 9:25 AM
i changed the glob, I will test again
m

many-telephone-49025

08/21/2023, 9:36 AM
@thankful-match-46035: when you change the Readme you. need to run make build again! https://github.com/scraly/pulumi-ovh/commit/5d53d455f7006d76d547e61919504a1d9d3adae4
Because the README.md is part of the SDKs
and you will get an error message during the publish sdk phase as your workstate is not clean
t

thankful-match-46035

08/21/2023, 9:37 AM
😅 thanks
You hop through all hoops! 😄
t

thankful-match-46035

08/21/2023, 9:40 AM
i’m tired 😄
m

many-telephone-49025

08/21/2023, 9:41 AM
“Normally” it is: • DevPod • call upgrade-provider … • review PR
At least for me
I just setup npmjs and pypi and Nuget once for the API keys. never touched it agine
t

thankful-match-46035

08/21/2023, 9:45 AM
“normally” don’t like me 😄 the change of gh orga + gitpod + api keys create lot of troubles now I am using devpod, so one trouble less ^^ make build in progress
I will have every existing troubles? 😄
m

many-telephone-49025

08/21/2023, 10:05 AM
lol
You honestly take everything with you
Try again never saw this but looks like GH runner are slow
at the moment
t

thankful-match-46035

08/21/2023, 10:19 AM
yes everything is green on gh status but it’s not ^^ runner are not online and/or slower as usual
i will eat and hope the afternoon will be better 😄
victory! Next: play with upgrade-provider and when i’ll have the rights, move to OVH GH orga 🤞
TODO: fix package’s name
npm install @scraly/ovh
->
npm install @scraly/pulumi-ovh
pip install scraly-ovh
->
pip install scraly_pulumi_ovh
and
dotnet add package scraly.Ovh
->
dotnet add package Scraly.PulumiPackage.ovh
The
NODE_MODULE_NAME
variable in the Makefile is never used for node package name?
l

limited-rainbow-51650

08/21/2023, 12:54 PM
... and reflects in the generated
package.json
here: https://github.com/scraly/pulumi-ovh/blob/main/sdk/nodejs/package.json#L2
t

thankful-match-46035

08/21/2023, 12:56 PM
yes i saw the generated package.json
I don’t understand how to have a package name in npm and other called “pulumi-ovh” instead on only “ovh” (https://www.npmjs.com/package/@scraly/ovh) in others providers (https://www.npmjs.com/package/@lbrlabs/pulumi-grafana) i saw the package in resources/go and Makefile is just “grafana” for example but in npm the package name is “pulumi-grafana”
I’ll try to change in resources.go but if the variable is not used in the Makefile, please remove it
l

limited-rainbow-51650

08/21/2023, 1:08 PM
One of the shortcomings with non-Pulumi managed providers is keeping the build setup up to date. Engin and I work both on Pulumiverse community providers and we feel that pain too. The internal engineering team has ci-mgmt to consistently roll out changes to all of the build related files (Makefile, GHA workflows, lint configs, ...). Unfortunately, that setup is not reusable at the moment for 3rd parties (Pulumiverse, OVH, ...). It's my personal quest to get that working though.
t

thankful-match-46035

08/21/2023, 1:10 PM
Thanks for the explaination and the support by the way 🙂 With the Terraform change of licensing, I think more and more users will tests Pulumi specially the providers bridges so I think it can be useful to improve the DX and to document clearly everything. It can help a lot of users and help to increase the nb of users and active users.
l

limited-rainbow-51650

08/21/2023, 1:11 PM
We are more than aware of this. 😄
t

thankful-match-46035

08/21/2023, 1:12 PM
I don’t have any doubt about this ^^
but i know also that when external users say it, it can help more internally 👼
In order to migrate the pulumi-ovh into our ovh organization in GitHub, our internal teams ask me SBOMs with licenses and vulnerabilities I saw in the github action that SBOM are generated but a priori without licenses and vulnerabilities. Do you already had the same need?
m

many-telephone-49025

08/23/2023, 8:44 AM
I was thinking for my providers to add Trivy scan plus generating sarif format results and upload to GH security center! I do this for some of my private projects