shopware / paas

PaaS template based on production template
MIT License
10 stars 14 forks source link

optimize cache clear during deployments for dedicated generation 2 #6

Closed devicezero closed 1 year ago

devicezero commented 1 year ago

In dedicated environments where you have multiple nodes the deploy hook only runs once, while the pre_start hook (which is specific to dedicated gen 2) is executed on all nodes.

$PLATFORM_REGISTRY_NUMBER is an environment variable that is only present on dedicated generation 2 clusters (but not on grid nor on dedicated generation 3)