Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
2. Run `composer update shopsys/deployment`
3. Check files in mentioned pull requests and if you have any of them extended in your project, apply changes manually

## Upgrade from v5.0.0 to v5.1.0

- deploy script now automatically runs `build-deploy-part-3-non-blocking` Phing target after maintenance page is turned off, if available

## Upgrade from v4.6.1 to v5.0.0

- remove files that are already part of project-base by default ([#66](https://github.com/shopsys/deployment/pull/66))
Expand Down
5 changes: 5 additions & 0 deletions deploy/parts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,11 @@ runCommand "FAILED" "kubectl exec ${RUNNING_WEBSERVER_PHP_FPM_POD} --namespace=$
echo -n "Clean storefront cache (queries and translations) "
runCommand "FAILED" "kubectl exec ${RUNNING_WEBSERVER_PHP_FPM_POD} --namespace=${PROJECT_NAME} -- ./phing clean-redis-storefront"

if kubectl exec ${RUNNING_WEBSERVER_PHP_FPM_POD} --namespace=${PROJECT_NAME} -- ./phing -l 2>/dev/null | grep -q "build-deploy-part-3-non-blocking"; then
echo -n "Run non-blocking post-deploy tasks "
runCommand "FAILED" "kubectl exec ${RUNNING_WEBSERVER_PHP_FPM_POD} --namespace=${PROJECT_NAME} -- ./phing build-deploy-part-3-non-blocking"
Comment thread
TomasLudvik marked this conversation as resolved.
fi

if [ -z ${DISABLE_WEBSITE_RUNNING_CHECK} ]; then
DISABLE_WEBSITE_RUNNING_CHECK=false
fi
Expand Down
Loading