68 Commits

Author SHA1 Message Date
Philipp Bammes
8d23bac440
Fix typo in rollback.php (#3617)
* Fix typo in `rollback.php`

* Fix typos in `rollback.php`

* `php bin/docgen`
2023-06-12 09:27:24 +02:00
Jan Henk Hazelaar
3953996a30
Add remote option to update_code_strategy to rename remote to repository (#3466)
* Add 'remote' option to 'update_code_strategy'

* Using archive and then add remote to speedup deployment

* Optimize remote option and add documentation

* Optimize code

* Update docs

* Combine clone and remote to remove duplicate code

* Removed  option and merge functionality into  option

* Generate docs

* Generate docs
2023-02-10 23:51:27 +01:00
antonmedv
de509b115e [automatic] Update docs with bin/docgen 2022-10-04 19:26:14 +00:00
Wilfried Wolf
6d759ef372
Feature/additional writable modes (#3316)
* adds sticky and skip mode

Sticky means, that the command-line-user and the http-user are different but share the same group. This mode add a sticky bit to directories and adds writeable for group to all files.
Skip just skips this in case the interactiv user and the http user are equal

* adds comments to file

* updates documentation
2022-09-22 22:45:48 +02:00
Anton Medvedev
6113e5e4f5 Improve docs 2022-09-12 12:53:42 +02:00
Anton Medvedev
4bdf95ebda Update docs 2022-09-12 12:29:44 +02:00
antonmedv
260ac590e1 [automatic] Update docs with bin/docgen 2022-09-10 07:35:16 +00:00
antonmedv
88cb11a909 [automatic] Update docs with bin/docgen 2022-09-10 07:18:47 +00:00
antonmedv
77723519c4 [automatic] Update docs with bin/docgen 2022-09-10 07:10:34 +00:00
Anton Medvedev
e80876d90d Update docs 2022-07-26 09:18:44 +02:00
Tom Scott-Malden
97cbbd4d79
Add username in deploy:lock error message (#3046)
* Update to the lock recipe so that it shows you who currently has the lock on the deployment

* DD#0000: feat: Updated joy test

* DD#0000: feat: Regenerated docs
2022-03-22 15:27:41 +01:00
Anton Medvedev
208bf652fe Fix sub_directory update code strategy 2022-03-17 20:07:19 +01:00
antonmedv
37f79878a9 [automatic] Update docs with bin/docgen 2022-03-03 20:35:54 +00:00
matsn0w
baece5a6e3
Add an option to deploy only a sub-folder of the repository (#2821)
* add new sub_directory option

* update docs

* Update docs/recipe/deploy/update_code.md

Co-authored-by: Mario Ramundo <ramundomario@gmail.com>

Co-authored-by: Mario Ramundo <ramundomario@gmail.com>
Co-authored-by: Anton Medvedev <anton@medv.io>
2022-03-03 21:35:25 +01:00
Anton Medvedev
a52ae3da6a Small fixes 2022-01-13 14:30:46 +01:00
Anton Medvedev
a92bec4880 Remove unused use. 2022-01-13 14:30:42 +01:00
antonmedv
d7da44d9b9 [automatic] Update docs with bin/docgen 2022-01-13 13:30:00 +00:00
Alex Mayer
2ff8593027
Refactor deploy:cleanup Command (#2788)
* Refactor deploy:cleanup Command

Remove $runOpts since it's not actually used
Move release symlink deletion to beginning of method. This will
allow the release symlink to be deleted even if deleting the old
releases fails.

* Refactor deploy:releases_log

Fixes issue where multiple failed releases in a row cause old
releases to not be cleaned up.

Fixes #2759

Co-authored-by: Anton Medvedev <anton@medv.io>
2022-01-13 14:29:32 +01:00
Anton Medvedev
fb6f2154ef Use StrictHostKeyChecking=accept-new by default
I deleted code which was doing known_host population manually as it was buggy. The StrictHostKeyChecking=accept-new is exactly what we need.
2022-01-11 19:56:59 +01:00
Luca Rath-Heel
8c14ae44b7
Cd to deploy_path in release_name callback
* Update release.php

* Run bin/docgen

* Update release.php
2022-01-11 19:07:29 +01:00
Anton Medvedev
92a0eb6eb1 Refactor deploy:update_code to use target config 2021-11-21 11:20:42 +01:00
Anton Medvedev
55879f95ee Replace ``bash with `` 2021-11-10 23:20:32 +01:00
antonmedv
659669c7d2 [automatic] Update docs with bin/docgen 2021-11-10 21:36:43 +00:00
Anton Medvedev
a2b3da8c32 Add *s 2021-11-08 22:59:39 +01:00
Anton Medvedev
fe14f02aec Add doc on releases task 2021-11-07 00:29:15 +01:00
Anton Medvedev
4ecc4786de Fix docgen 2021-11-06 19:02:51 +01:00
Anton Medvedev
1cd8ae2138 Add rollback docs 2021-11-05 23:17:29 +01:00
Anton Medvedev
d7011cc185 Don't modify state inside set callback 2021-10-22 23:22:18 +02:00
Anton Medvedev
7f39d1fd04 Move configs around and update docs 2021-10-18 18:29:14 +02:00
antonmedv
cf523e36d1 [automatic] Update docs with bin/docgen 2021-10-15 22:28:26 +00:00
Anton Medvedev
377b722611 Refactor checkout strategy to clone 2021-10-12 22:49:34 +02:00
Anton Medvedev
ded366723f Speed up deploy:setup task 2021-10-11 22:10:47 +02:00
Anton Medvedev
1b71c9cd81 Fix desc spelling 2021-10-11 22:10:24 +02:00
Anton Medvedev
3105caa1ce Refactor deploy:is-unlocked to deploy:is_locked 2021-10-11 22:08:58 +02:00
Anton Medvedev
25c7defe14 Add desc 2021-10-11 22:07:45 +02:00
Anton Medvedev
9b01d7955c Fix typo 2021-10-11 22:04:08 +02:00
Anton Medvedev
b89cc1c58e Update shopware recipe 2021-10-09 18:11:44 +02:00
antonmedv
4d81d37ef4 Update docs with bin/docgen 2021-10-09 16:04:14 +00:00
Anton Medvedev
582871cde9 Update update_code.md 2021-10-09 18:03:57 +02:00
antonmedv
514b1ec453 Update docs with bin/docgen 2021-10-09 15:59:42 +00:00
Anton Medvedev
8042e85f83 Remove extra docs from docs 2021-09-26 15:43:51 +02:00
Anton Medvedev
3216576680 Add docs 2021-09-26 15:25:58 +02:00
Anton Medvedev
8b2e55f3fe Remove docs/api.md, docs/recipe, docs/contrib 2021-09-24 14:42:32 +02:00
Anton Medvedev
b724073157 Fix code style 2021-09-24 10:58:53 +02:00
Anton Medvedev
14879da60b Update setup.php 2021-09-24 10:49:16 +02:00
Anton Medvedev
9ae2b96c23 Fix code style 2021-09-24 10:46:32 +02:00
Anton Medvedev
1bf79a4fd4 Regenerate docs 2021-09-24 00:18:49 +02:00
Anton Medvedev
d14c65c5dd Update release/rollback logic 2021-09-23 02:09:55 +02:00
Anton Medvedev
8c7ddf09c2 Use json instead of csv for releases metainfo 2021-09-20 00:32:34 +02:00
Anton Medvedev
363f7ed6a1 Improve docgen 2021-08-31 23:25:22 +02:00