https://pulumi.com logo
Title
s

salmon-mechanic-4571

06/08/2021, 12:54 PM
Hi All, We're about to embark on the Pulumi journey. But before we chose this I need to have tested how to utulize Pulimu with azure DevOps and I'm quite close to have it all solved. THough I keep having an issue with my release pipeline, are there anybody who knows about the Pulumi plugin for AzureDevOps to run Pulumi tasks v.1.0 ?
b

brave-planet-10645

06/08/2021, 12:57 PM
What's the error message you're getting?
s

salmon-mechanic-4571

06/08/2021, 12:57 PM
I don't know if it's my build pipeline that is something wrong with, I can see there is generated any artifact, so maybe thats why it can't find it
My code is structered like this and the Pulumi project is inside ./infrastructure
This is my build pipeline .yaml file
maybe this is all wrong
?
b

brave-planet-10645

06/08/2021, 1:37 PM
Can you add the entire azure-pipeline.yml file (removing any secrets you have in there)
s

salmon-mechanic-4571

06/08/2021, 1:42 PM
steps: - task: pulumi.build-and-release-task.custom-build-release-task.Pulumi@1 displayName: 'Run pulumi' inputs: azureSubscription: 'Sandbox Portal Unitsystem' command: up args: '--yes --skip-preview' cwd: ./ stack: 'carvedrock-training-python'
b

brave-planet-10645

06/08/2021, 1:51 PM
the
cwd
option needs to point at the folder that contains (in your case) the
__main__.py
file
s

salmon-mechanic-4571

06/08/2021, 1:57 PM
Sure, but how do I reference that in the correct syntax?
I have made it all from scrats again and kept everything in the root of my folder but now I get this:
And what should my artifact be, just the repo right?
b

brave-planet-10645

06/08/2021, 2:02 PM
s

salmon-mechanic-4571

06/08/2021, 2:04 PM
thanks I'll go through again