Basically for local dev we deploy our stack with pulumi local stack. Then in tilt I just use a
Copy code
kubectl set image deployment/x
works really well
c
chilly-plastic-75584
02/17/2022, 6:56 PM
Do you a blog post on this? I was thinking of skaffold as it supports custom build commands so pulumi could work.
I'm not sure what pulumi local command is or you meant you just have a stack config special for local work?
f
fast-florist-41572
02/18/2022, 9:21 AM
Was thinking I should because it took a bit to get working 😆
So when I say local, we use a local stack (ie not remote) to store the state. So I have a make file in the root and the one command is like this
Copy code
PULUMI_CONFIG_PASSPHRASE= PULUMI_BACKEND_URL="file://$(current_dir)/.fynbos/" \
pulumi up -y -s local -C ./infra/clusters/local/
c
chilly-plastic-75584
02/24/2022, 10:01 PM
Cool. I'm probably going to have to shift from local to doing something hybrid with only database and such being local but mixing in services, and being able to run pulumi as needed for certain parts would be great.
I wrap up all my pulumi tasks in mage so it would be easy to adapt what you did (if interested)
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.