|
147 | 147 |
|
148 | 148 | <target name="build-deploy-part-1-db-independent" depends="build-version-generate,clean,composer-prod,dirs-create,assets,npm" description="First part of application build for production preserving your DB (can be run without maintenance page)."/> |
149 | 149 |
|
150 | | - <target name="build-deploy-part-2-db-dependent" depends="check-migrate-uploaded-files,elasticsearch-index-migrate,redis-check,db-migrations,domains-data-create,friendly-urls-generate,domains-urls-replace,migrate-uploaded-files-force,warmup" description="Second part of application build for production preserving your DB (must be run with maintenance page when containing DB migrations)."/> |
| 150 | + <target name="build-deploy-part-2-db-dependent" depends="elasticsearch-index-migrate,redis-check,db-migrations,domains-data-create,friendly-urls-generate,domains-urls-replace,warmup" description="Second part of application build for production preserving your DB (must be run with maintenance page when containing DB migrations)."/> |
151 | 151 |
|
152 | 152 | <target name="build-deploy-part-3-non-blocking" depends="run-post-deploy-tasks" description="Third part of application build for production. Non-blocking tasks that run after maintenance page is turned off."/> |
153 | 153 |
|
|
173 | 173 | </copy> |
174 | 174 | </target> |
175 | 175 |
|
176 | | - <target name="check-migrate-uploaded-files" description="Checks if the uploaded files structure is compatible with 'migrate-uploaded-files'." hidden="true"> |
177 | | - <exec executable="${path.php.executable}" passthru="true" checkreturn="true"> |
178 | | - <arg value="${path.bin-console}"/> |
179 | | - <arg value="shopsys:uploaded-files:check-migrate"/> |
180 | | - </exec> |
181 | | - </target> |
182 | | - |
183 | 176 | <target name="checks" depends="checks-internal,standards,tests" description="Runs internal checks, coding standards and runs unit, DB and smoke tests."/> |
184 | 177 |
|
185 | 178 | <target name="checks-ci" depends="checks-internal,test-demo-data,tests-functional,tests-smoke,tests-acceptance" description="Runs internal checks and runs DB, smoke and acceptance tests."/> |
|
847 | 840 | </exec> |
848 | 841 | </target> |
849 | 842 |
|
850 | | - <target name="migrate-uploaded-files" description="Move all uploaded files from subdirectories to the top level directory." hidden="true"> |
851 | | - <exec executable="${path.php.executable}" passthru="true" checkreturn="true"> |
852 | | - <arg value="${path.bin-console}"/> |
853 | | - <arg value="shopsys:uploaded-files:migrate"/> |
854 | | - </exec> |
855 | | - </target> |
856 | | - |
857 | | - <target name="migrate-uploaded-files-force" description="Force move (without check) all uploaded files from subdirectories to the top level directory." hidden="true"> |
858 | | - <exec executable="${path.php.executable}" passthru="true" checkreturn="true"> |
859 | | - <arg value="${path.bin-console}"/> |
860 | | - <arg value="shopsys:uploaded-files:migrate"/> |
861 | | - <arg value="--force"/> |
862 | | - </exec> |
863 | | - </target> |
864 | | - |
865 | 843 | <target name="npm" description="Build node modules."> |
866 | 844 | <phingcall target="npm-install-dependencies"/> |
867 | 845 | <phingcall target="npm-export-translations"/> |
|
0 commit comments