69 Commits

Author SHA1 Message Date
Massimiliano Arione
3dd66bda82
add log_files to Symfony recipe (#3572) 2023-04-10 11:27:30 +02:00
Anton Medvedev
d2a65e5a13
Add more dirs into Symfony to writable dirs
Added: 'var/cache', 'var/log', 'var/sessions'
2022-03-03 21:39:28 +01:00
Jeffrey Cafferata
91f459727f
Added the Doctrine mapping files validation (with --skip option) as a (possible) deploy task. (#2901) 2022-01-15 21:20:50 +01:00
Anton Medvedev
a2b3da8c32 Add *s 2021-11-08 22:59:39 +01:00
Sander
afa76801f3
Remove var/sessions as a default shared dir in the Symfony recipe (#2720)
* Remove var/sessions as a default shared dir in the Symfony recipe

* Update docs for Symfony recipe

* Update line numbers in docs
2021-11-03 16:29:09 +01:00
Tobias Schultze
239b817540
Fix symfony cache:clear running twice on deployment (#2602)
* Fix symfony cache:clear running twice on deployment

Any standard symfony app is running cache:clear on composer install ever since.
I.e. in composer.json

```
"scripts": {
    "auto-scripts": {
      "cache:clear": "symfony-cmd",
      "assets:install %PUBLIC_DIR%": "symfony-cmd"
    },
    "post-install-cmd": [
      "@auto-scripts"
    ],
    "post-update-cmd": [
      "@auto-scripts"
    ]
  },
```

This prevents cache clearing being run twice for no reason.

* regenerate doc
2021-07-15 23:20:44 +03:00
Anton Medvedev
817a6b3cd8 Remove dump-env 2021-04-21 00:39:41 +02:00
Anton Medvedev
c23688adcf Add default symfony_env 2021-04-17 15:41:12 +02:00
Victor Paumier
63a0e667b7
add deploy:dump-env & remove .env.local.php from shared_files (#2507) 2021-04-16 12:13:58 +03:00
Loris Leiva
7627f9ba43
Add and use new release_or_current_path (#2486)
* Add release_or_current_path option

* Use new path in platform-specific recipes

* Update CHANGELOG.md
2021-04-03 15:05:45 +03:00
Anton Medvedev
5c736c07d4 Refactor recipes 2020-10-29 23:16:36 +01:00
Anton Medvedev
ff110c987d
Refactor recipes (#2224) 2020-10-25 18:00:05 +03:00
Andrey Helldar
9f89525548
[composer 3] Removed deprecated option "--no-suggest" (#2212)
* [composer 3] deprecated option "--no-suggest"

* Updated CHANGELOG.md

* Update CHANGELOG.md

Co-authored-by: Anton Medvedev <anton@medv.io>
2020-10-21 23:53:25 +02:00
Anton Medvedev
a1103bee17 Migrate to common prepare/publish tasks 2020-10-08 01:53:45 +02:00
Anton Medvedev
71afcdcc3a Store composer.phar in .dep 2020-10-08 01:19:39 +02:00
Anton Medvedev
47a193f9af
Add docgen 2020-10-02 01:11:13 +03:00
Anton Medvedev
29a643b623 v7 2020-05-16 18:02:17 +03:00
Jérémy DECOOL
a4ab269df0 Added migrations_config option to the Symfony recipes (#1739)
* Add option to define migration file configuration to Symfony recipe

* Add option to define migration file configuration to Symfony4 recipe

* Update CHANGELOG
2018-10-13 21:02:35 +07:00
Wesley Lancel
6708d2640f Fix time format for touch when deploying assets 2017-10-19 08:19:33 +02:00
Anton Medvedev
e76e9881e4 Fix bug in symfony recipe 2017-08-22 22:27:20 +07:00
Anton Medvedev
8e01cf6924 Refactor environment variables handling 2017-08-12 20:31:19 +03:00
Anton Medvedev
ae51d763b9 Add deploy:info to recipes 2017-08-12 12:01:27 +03:00
Vladimir
fd625e579a #1289: delete excess option 2017-07-05 15:51:52 +03:00
Rok Andrée
2758eadff1 Cache must be cleared before it's warmed up
See:
http://symfony.com/doc/current/deployment.html#d-clear-your-symfony-cache
2017-06-29 14:51:31 +02:00
Anton Medvedev
c6dc030b30 Refactor common.php 2016-11-19 15:13:32 +07:00
Anton Medvedev
e704377aab Use clear_paths in Symfony recipe #880. 2016-11-17 23:35:25 +07:00
Anton Medvedev
c133d6444a Refactor env() to set()/get(). 2016-11-05 17:50:18 +07:00
Anton Medvedev
4846c96b81 Add lock and unlock functionality. 2016-11-05 12:56:53 +07:00
Anton Medvedev
e397486eb2 Merge branch 'master' into 4.x
# Conflicts:
#	README.md
#	recipe/symfony.php
#	src/Bootstrap/BootstrapByConfigFile.php
#	src/functions.php
2016-11-05 11:55:03 +07:00
Mathieu GILLOOTS
6900a2ae12 Don't stop the deploy process when zero migrations 2016-11-03 23:47:16 +01:00
Anton Medvedev
1a5e68c3e2 Merge branch 'robfrawley-master' into 4.x
# Conflicts:
#	recipe/symfony.php
2016-08-04 22:04:42 +03:00
Anton Medvedev
f9422e0f56 Merge branch 'master' into 4.x
# Conflicts:
#	src/functions.php
2016-08-04 21:58:46 +03:00
oanhnn
2cffa08410 Fix timestamp in task deploy:asset of Symfony recipe. Close #718 2016-07-18 09:08:36 +07:00
Rob Frawley 2nd
ec3fb29562 refactoring/cleanup of symfony-related recipes
fix double task

removed composer.lock from commit

fix for styleci

fix for styleci

fix for https://travis-ci.org/deployphp/deployer/builds/135430111

added option to allow composer update

renamed env to build_env

removed composer action logic

moved env to only symfony-recepes

removed allow update

cleanup comment
2016-06-10 04:01:59 -04:00
Oanh Nguyen
c9737de03c Applied fixes from StyleCI 2016-05-31 22:15:00 -04:00
Anton Medvedev
a3733d0d81 Revert "Added function taskGroup and changed spec of function task"
This reverts commit 9c1e4eca2d5f4e5a3581e7602906c76c8af6ed72.

Conflicts:
	test/src/FunctionsTest.php
2016-04-04 17:01:55 +07:00
Anton Medvedev
6c6b1f8c9b Merge branch 'master' into 4.x
Conflicts:
	composer.lock
	recipe/common.php
2016-04-04 16:58:34 +07:00
Anton Medvedev
5539b16437 Use bin/php in recipes. 2016-04-04 16:51:42 +07:00
Felix Nehrke
f870cff58d Run deploy:writable only after cache warmup 2016-03-23 23:32:27 +01:00
Felix Nehrke
43432981c8 Run deploy:writable again after cache warmup
As described in ticket #575 the cache is not writable after the
deployment of symfony if the deployment-user is not the httpd-user.
Therefore we would make the cache-directory writable again after the
cache-warmup.  This is necessary because symfony may not do that and the
deploy user should know who is able to write into the cache.  You can
finally define this by using `set('writable_dirs', […])` and
`set('http_user', '…')`.
2016-03-11 17:58:51 +01:00
oanhnn
9c1e4eca2d Added function taskGroup and changed spec of function task 2016-02-16 09:47:26 +07:00
Anton Medvedev
5eadb573a3 Add Deployer namespace for functions. 2016-01-11 14:00:45 +07:00
Anton Medvedev
e0a1b328d0 Replace old email with new one. 2016-01-11 12:51:59 +07:00
Piotr Antosik
77f5e6e518 Flag for assetic:dump task 2015-12-18 01:50:07 +01:00
Anton Medvedev
65d0a683a1 Fix date of release to UTC. Merge #357. 2015-08-24 00:31:29 +07:00
Martin Zajíc
a28c003164 Remove with app_*.php also config.php 2015-08-18 14:43:27 +02:00
Anton Medvedev
81778a0315 FIX MISSING COMMA! 2015-06-12 23:43:54 +07:00
Lucas Michot
ce9c3a0e78 Also change time calculation for Symfony assets 2015-06-12 12:25:31 +02:00
Hubert Viktor
09602bbe48 Removed setting the 'auto_migrate' global variable, since it had no effect on anything. 2015-06-02 09:20:37 +02:00
Hubert Viktor
a33e23dd6d Changed the symfony recipe, so that it supports the new (v3) dir structure. 2015-05-19 09:57:17 +02:00