586 Commits

Author SHA1 Message Date
Anton Medvedev
f429c750bc Keep release on rollback and mark it as bad 2020-10-09 23:11:30 +02:00
Anton Medvedev
84c9f6bb58 Add status command 2020-10-09 02:24:09 +02:00
Anton Medvedev
c88ebe275f Allow to change current_path 2020-10-09 01:35:42 +02:00
Anton Medvedev
112601294c Fix shared dir with trailing slash 2020-10-09 01:14:16 +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
8cb0b39dc3 Switch deploy:shared and deploy:writable order 2020-10-08 00:45:12 +02:00
Anton Medvedev
a5e00c686a Copy shared dir only if there is no dir 2020-10-08 00:42:44 +02:00
Anton Medvedev
dafad94e8e Better error message for ACL 2020-10-08 00:41:18 +02:00
Anton Medvedev
d2c320ccf9 Ask password for deployer user 2020-10-08 00:35:30 +02:00
Anton Medvedev
744c56fc09 Refactor deploy:writable 2020-10-07 23:55:41 +02:00
Anton Medvedev
47a193f9af
Add docgen 2020-10-02 01:11:13 +03:00
Sacharski Bartłomiej
514d997c15
[issue-2170] Use on(localhost(), ...) instead of runLocally in check_remote.php (#2175)
Reworked the `deploy:check_remote` step, to use the `on(localhost(), ...)`,
instead of relying on `runLocally`.

This has been changed, to make sure that the all functions that
are being executed and are related to "local" part of the logic,
are ran on the local host.

Previously in `runLocally(sprintf("%s ls-remote $opt $repository $ref", get('bin/git')));`
the `get('bin/git')` would've been executed on the remote host, which
could have resulted in an unexpected behaviour.

By closing all of the instructions, in the closure that is executed
by the `on()` function, we are sure that the context is set to the
right host.
2020-10-01 20:32:51 +03:00
Joel Pittet
44f5f840c3
Laravel Task artisan:migrate should only run once (#2169)
Add once() again command that got dropped from the v7 updated commit.
2020-09-24 15:28:21 +02:00
kicaj
685e7cbd2c
Create cakephp4.php (#2167)
* Create cakephp4.php

* Update cakephp4.php
2020-09-21 14:51:34 +03:00
Peter Jaap Blaakmeer
c19b1dcae1
Add sw:plugin:activate:all and sw:plugin:migrate:all to Shopware 6 recipe (#2159)
Do not update upgradeable plugins, it updates code too. What we actually want is to run the migration. But the database:migrate --all command only runs the migrations for the core. Added a task that runs migrations for all plugins too.

Added || true to not let it fail on non-existing database migrations. This can be removed when this commit is released; 2a8a76fd83
2020-09-10 16:13:52 +02:00
Fabian Blechschmidt
f16e0cbad9
Update shopware6.php (#2158)
* Update shopware6.php

I'm not sure wether this is interesting for your @peterjaap I hacked a script with the horrible table output to install, upgrade and activate all plugins

* Update shopware6.php

made it a static function
2020-09-09 14:32:52 +02:00
Andreas Möller
96c739bd5b
Enhancement: Add deploy:is-unlocked (#2152) 2020-09-03 16:17:52 +03:00
Fabian Blechschmidt
d0c8cc1a79
Update shopware6.php (#2151)
* Update shopware6.php

Microoptimization

* Update shopware6.php

Run build with bash
FIXES   build.sh: 6: Bad substitution
2020-09-03 16:15:56 +03:00
Peter Jaap Blaakmeer
d198de47b7
Updated Shopware 6 recipe to reflect production template (#2143)
Instead of development template
2020-08-31 09:32:00 +02:00
Brad Morrical
1d758b005f
Symfony 5 recipe (#2139) 2020-08-21 09:47:56 +03:00
Peter Jaap Blaakmeer
9735b1f6e5
Updated shared_dirs list, added assets install task for Shopware 6 (#2130) 2020-08-06 14:22:03 +03:00
Peter Jaap Blaakmeer
3f7788f7ad
Updated Shopware 6 recipe (#2129)
* Updated Showpare 6 recipe

* Update shopware6.php
2020-08-06 13:28:39 +03:00
Anton Medvedev
8293eb931e wip 2020-07-26 22:35:08 +03:00
Anton Medvedev
59c87c5885 wip 2020-07-11 01:24:18 +03:00
Anton Medvedev
121915fbe2 wip 2020-07-10 00:36:02 +03:00
Anton Medvedev
7c96116df0 wip 2020-07-08 22:12:12 +03:00
Anton Medvedev
b2ec87ce4d wip 2020-07-07 22:18:14 +03:00
Anton Medvedev
ef2c5ba6c5 wip 2020-07-07 22:16:31 +03:00
Bernhard Prange
eb93392377
Process corrected (#2109)
Corrections made for smoother workflow. Tutorial on how to work with this receipe comming soon!
2020-06-24 21:16:26 +03:00
Bernhard Prange
0d6f45475a
Shopware6 installation routine (#2072)
Due to the lack of ANY shopware6 installation routine, here's my little beginning of it. If you think it can be made better, I am very happy to have your ideas on board of this.
2020-05-29 14:52:24 +03:00
Anton Medvedev
29a643b623 v7 2020-05-16 18:02:17 +03:00
Pierre Grimaud
70cdf1e2bf
Fix typos (#2032) 2020-04-24 15:53:23 +03:00
M. Vugteveen
c948ea3e99
Added support for composer v2 installed.json format + composer.phar fix (#2031)
* fix composer v2 installed.json parsing

* add changelog

* only use bin/php on phar file

* update chagnelog

* Update dep
2020-04-24 15:53:08 +03:00
MoogyG
944f9bd582
Update update_code.php (#1958) 2020-04-20 23:56:31 +03:00
Benedict Zinke
467695bcb9
Fix comment in common recipe (#2022)
As stated in https://github.com/deployphp/deployer/issues/869 the copy_dirs task works relative to release_path rather then deploy_path as indicated by the comment in recipe/common.php
2020-04-20 23:53:24 +03:00
Brad Morrical
58a7d51295
Added recipe for Joomla! (#2024)
* Added recipe for Joomla!

* updating Changelog
2020-04-20 23:53:10 +03:00
David Naber
a20582eb95
Filter output upon stage argument only when defined for host fixes #1909 (#2021) 2020-04-07 18:41:42 +03:00
Beno!t POLASZEK
a8dabf03ee
Keep consistency with deployer executable naming (#2011) 2020-03-06 12:49:07 +03:00
Ralf Baussenwein
613e631544
fix backward compatibility of bin/console for symfony4 recipe (#2005)
* fix backward compatibility of bin/console for symfony4 recipe

* update Changelog
2020-02-19 15:25:38 +03:00
Jono Menz
c0bf1d7913
Fix check_remote task revision resolution (#1995)
* Support branch & tag if specified
* Support shortened commit hashes
* Skip on first deployment
* Get true current ref from git

Fixes #1994
2020-02-01 22:15:53 +03:00
Vladimir Pak
377adf977a
Speedup deploy:clear_paths (#1992)
* Update clear_paths.php

one run much faster than several

* Update CHANGELOG.md
2020-01-30 12:08:11 +03:00
Jono Menz
b7a728b7b3
Fixes for check_remote task and SS recipe (#1991)
* Fix check_remote task

* Check remote head contents locally
* Ensure .dep/HEAD file is available so error isn’t thrown
* Document task usage

Fixes #1990

* Fix Silverstripe recipe

* Additionally check shared directory for assets since this directory is commonly excluded from project git repos
* Ensure shared_assets returns a non-null value so the release folder can’t get accidentally deleted

Fixes #1989

* Update CHANGELOG.md

* Clarified contribution instructions

* Update issue templates

Added a bug report template
2020-01-29 11:13:11 +03:00
u_mulder
861f1a34bb Add minor fixes for recipes steps (#1945) 2019-10-26 14:30:22 +03:00
Kartik Patel
d3a6ea7353 updated for SS4. Checks to see if assets is in root or public/assets as per SS4 new directory structure (#1943) 2019-10-21 08:58:24 +03:00
u_mulder
96c130a13b Update README.md (#1932) 2019-10-08 09:52:11 +03:00
Tomasz Gąsior
f82128686e Update symfony4 recipe (#1923)
Fix wrong change introduced in 62db938884

`.env` file should not be shared because it's release-specific. On the other hand, `.env.local` and `.env.local.php` files are specific to deployment environment and should be shared between releases.

See for details: https://github.com/deployphp/deployer/pull/1907#issuecomment-533779139
2019-09-22 15:06:47 +03:00
Nicolás González
62db938884 Update symfony4.php (#1907)
The .env and .env.<environment> files should be committed to the shared repository because they are the same for all developers and machines. However, the env files ending in .local (.env.local and .env.<environment>.local) should not be committed because only you will use them. In fact, the .gitignore file that comes with Symfony prevents them from being committed.

https://symfony.com/doc/current/configuration.html#managing-multiple-env-files
2019-08-16 13:58:53 +03:00
Anton Medvedev
85aae9fd68 Add deploy:check_remote task 2019-08-12 21:01:32 +03:00
Kyle Tucker
6180366acf Update config:hosts and config:current task recipes (#1901)
* Update config:hosts and config:current task recipes

* Update changelog

* Fix variable refs
2019-08-09 22:16:00 +03:00