https://pulumi.com logo
#automation-api
Title
# automation-api
d

damp-honey-93158

05/23/2023, 9:04 PM
Can I use pulumi deployments automation to up/down stacks sourced from a repo in something other than GitHub? in my case Az DevOps. Thanks!
r

red-match-15116

05/23/2023, 9:08 PM
Hi! You can use the generic git source which will allow you all the functionality except push-to-deploy.
So you will still be able to click to deploy in the UI or use the API to create deployments.
d

damp-honey-93158

05/23/2023, 9:33 PM
Oh! Have you got a link to an example please?
not of the UI, just of the generic git side of the pulumi deployments part.
r

red-match-15116

05/23/2023, 9:36 PM
There are multiple ways to set deployment settings. Here's an example using the API: https://www.pulumi.com/docs/pulumi-cloud/deployments/reference/#from-the-api Here's one using the pulumiservice provider: https://www.pulumi.com/docs/pulumi-cloud/deployments/reference/#defined-as-code-with-the-pulumi-service-provider Some examples of what your payload should look like if you're using generic git auth: https://www.pulumi.com/docs/pulumi-cloud/deployments/api/#examples
You can also set all of these settings in the UI by choosing 'Git' instead of 'GitHub' as the source control option
d

damp-honey-93158

05/23/2023, 10:14 PM
thank you - that’s plenty to go on, I appreciate your help!
2 Views