gifted-agency-25998
11/08/2022, 9:38 AMPulumi.yaml files and dependencies between different stacks (happy to describe this in the BUILD files) and perhaps do a preview on build and an up on publish.
For flutter (I don't know enough about it) but would like to be able to integrate the build commands (flutter pub get, flutter test etc., in the relevant goals!)
Any help with this would be much appreciated :)happy-kitchen-89482
11/08/2022, 3:43 PMhappy-kitchen-89482
11/08/2022, 3:46 PMhappy-kitchen-89482
11/08/2022, 3:46 PMhappy-kitchen-89482
11/08/2022, 3:48 PMhappy-kitchen-89482
11/08/2022, 3:49 PMexperimental_shell_command today, cc @ancient-vegetable-10556ancient-vegetable-10556
11/08/2022, 4:09 PMexperimental_run_shell_command is probably your best bet. That just lets you use Pants to run a given command, which you can string together with Pants’ goals using the Aliases feature.
Actually using the smarter features inside pants is a lot harderfaint-businessperson-86903
11/08/2022, 4:14 PMgifted-agency-25998
11/08/2022, 4:19 PMexperimental_run_shell_command seems like a reasonable stop-gap solution, and will try that out 🙂
Thank you all for your help 🙂faint-businessperson-86903
11/08/2022, 4:48 PMfaint-businessperson-86903
11/08/2022, 4:49 PMpdlbuild.pulumi to backend_packages in pants.toml. Feel free to reach out to me if you have any questions.gifted-agency-25998
11/09/2022, 9:48 AMgifted-agency-25998
01/11/2023, 1:18 PMfaint-businessperson-86903
01/11/2023, 3:54 PMaws.s3.BucketObject resources or the synced folder provider. At that point it just becomes a natural part of your deployment flow. But with our build system we do have a way to pass in pre_deploy and post_deploy scripts (in the form of `./pants run`nable targets that happens from a higher-level internal tool that calls pants. We went this way because it didn’t feel appropriate to add the pre-deploy and post-deploy hooks at the target level.gifted-agency-25998
01/11/2023, 4:57 PMBucketObject to push files up, but I've read that it's a bit unwieldy when there are larger numbers of files as I believe it uploads them all again while aws s3 sync only uploads changed files. Having said that, I just realised that since the timestamps would be updated by the checkout (we run it in CI/CD), it'll upload them all anyway.
The pre_deploy and post_deploy will definitely be useful for other actions though 🙂
I look forward to an updated package. I'll document the steps I had to take to get it working and ping it over to you as well to add in 🙂
Thanks again 😄gifted-agency-25998
01/30/2023, 11:15 AMdeploy ing
Is there a way to define order of deployments between multiple stacks, and ideally also the running of dependent stacks on changes to a dependee?faint-businessperson-86903
01/30/2023, 5:36 PMpulumi_program targets into one deploy goal run isn’t a part of our workflow. But if we wanted it to work that way, it shouldn’t be that hard to pick out pulumi_program direct dependencies of other programs and use that info to organize a DAG.faint-businessperson-86903
01/30/2023, 5:40 PMgifted-agency-25998
01/30/2023, 5:47 PMfaint-businessperson-86903
01/30/2023, 5:49 PMDo you automate the subsequent run, or do it manually.Automated runs are triggered regularly, so we usually let it happen organically, or manually if we are impatient 🙂
gifted-agency-25998
01/31/2023, 3:23 PMgifted-agency-25998
04/28/2023, 2:07 PM