dazzling-sundown-39670
09/09/2020, 8:47 AMpulumi up
. I read somewhere that I should do a CronJob without a schedule but the typescript didn't like that. Any other suggestions?limited-rainbow-51650
09/09/2020, 8:52 AMpulumi up
?dazzling-sundown-39670
09/09/2020, 8:57 AMpulumi up
. I tried working with initContainers
but that runs every time a new pod is created.suspend: true
after googling a bit but that just didn't create a single job, I guess I would have to change it to true after the first run or somethinglimited-rainbow-51650
09/09/2020, 9:01 AMdazzling-sundown-39670
09/09/2020, 9:04 AMbin/magento setup:db-schema:upgrade
which is basically a db-migration. I only want to run this once per deploy. When I say "deploy" I mean pulumi up
limited-rainbow-51650
09/09/2020, 9:08 AMAutomation API
. See the #announcements channel for more info.dazzling-sundown-39670
09/09/2020, 9:13 AMlimited-rainbow-51650
09/09/2020, 9:17 AMdazzling-sundown-39670
09/09/2020, 9:18 AMlemon-agent-27707
09/09/2020, 2:15 PMbillowy-army-68599
dazzling-sundown-39670
09/09/2020, 4:31 PMJob
which ran my migrations and then I had my Deployment
have a dependency on that Job. Seems to work out great. Will definitely look into the automation API when it comes with Typescript support but this seems to work out great for now!billowy-army-68599