This message was deleted.
# general
s
This message was deleted.
w
Figured it out in case anybody is wondering here is a simplistic example to get you started
Copy code
image: node:10.15.3

pipelines:
  branches:
    master:
      - step:
          name: Deploy with Pulumi
          deployment: test
          image: pulumi/pulumi
          script:
            - npm run <YOUR_INSTALL_SCRIPTS>
            - cd <FOLDER_WHERE_PULUMI_IS>
            - pulumi stack ls
            - pulumi stack select <YOUR_STACK_NAME>
            - pulumi up -y
You should set a few environment variables under Repository Settings/Deployments
Here are a few relevant variables on the pulumi docker page https://hub.docker.com/r/pulumi/pulumi
l
Tip for using pulumi in scripts like this: use the
--stack
option, instead of
pulumi stack select
.
And tip for using scripts always use long options like
--yes
instead of short ones like
-y
.
w
Thank you for the tips!!