1925 Commits

Author SHA1 Message Date
Anton Medvedev
8e72449246 Add push task 2020-10-11 00:08:50 +02:00
Anton Medvedev
2a8844c377 Add select func 2020-10-10 23:13:43 +02:00
Anton Medvedev
b66f7b0dc1 Better docs 2020-10-10 23:03:37 +02:00
Anton Medvedev
77e7e164a6 Better -vv mode 2020-10-10 22:55:55 +02:00
Anton Medvedev
8e417f7c33 Improve invoke func 2020-10-10 22:47:57 +02:00
Anton Medvedev
83022a3927 Improve select on tasks 2020-10-10 22:37:06 +02:00
Anton Medvedev
e227623ba6 Fix deploy:check_remote task 2020-10-10 21:58:06 +02:00
Anton Medvedev
0bb88a06cb Catch all 2020-10-10 20:38:49 +02:00
Anton Medvedev
6bea23bf02 Fix status command if release not a git repo 2020-10-10 20:38:32 +02:00
Anton Medvedev
7a096b9dd1 Simplify init command 2020-10-10 20:38:11 +02:00
Anton Medvedev
f05f74642c Remove unuseful comments 2020-10-10 18:26:15 +02:00
Anton Medvedev
0ec5aea8a5 Remove unused class 2020-10-10 18:24:09 +02:00
Anton Medvedev
dca0796a80 Fix imports 2020-10-10 18:22:52 +02:00
Anton Medvedev
86732395fb Add telemetry 2020-10-10 18:21:59 +02:00
Anton Medvedev
418d4aa6eb Update build script 2020-10-10 17:10:24 +02:00
Anton Medvedev
040489d587 Update test 2020-10-10 10:50:45 +02:00
Anton Medvedev
6bd45d9223 Update docs 2020-10-09 23:21:03 +02:00
Sacharski Bartłomiej
357cfc04c8
[#2192] Support for placeholders in run and runLocally (#2193)
* [#2192] Support for placeholders in run and runLocally

Added support for placeholder in the `run` and `runLocally` functions.
By passing the `vars` key with an associative array to the second
argument of `run` and `runLocally`, it is possible to use placeholders
in the command, that will be used directly in the executed command.

The placeholders should be wrapped in the command with `%NAME%`, for
instance `%foo%`. The `vars` array could be `[ 'foo' => '{{bar}}']`.

Sample:

```php
runLocally("echo '%foo%'", ['vars' => ['foo' => '{{bar}}']]);
```

will output:

```plain
{{bar}}
```

* [#2192] Added missing implementation for placeholders in run()

Added missing implementation for placeholders support int the `run()`
function as it was missing in previous commit.

Co-authored-by: Bartlomiej Sacharski <beton@cementowina.org>
2020-10-10 00:16:55 +03:00
Anton Medvedev
f429c750bc Keep release on rollback and mark it as bad 2020-10-09 23:11:30 +02:00
Anton Medvedev
4493fe913a Fix test 2020-10-09 02:24:44 +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
d688b5e7d0
Fix failing test (#2195)
(╯°□°)╯︵ ┻━┻
2020-10-09 01:42:43 +03:00
Anton Medvedev
e85f08c428
Update bug_report.md 2020-10-09 01:25:48 +03:00
Anton Medvedev
e7b0c6793e
Update config.yml 2020-10-09 01:23:00 +03:00
Anton Medvedev
29a724e12a
Update config.yml 2020-10-09 01:21:50 +03:00
Anton Medvedev
6148a11033
Create config.yml 2020-10-09 01:20:14 +03:00
Anton Medvedev
74234d2348 Update docs 2020-10-09 00:15:36 +02:00
Anton Medvedev
54748566a9 Improve tests 2020-10-09 00:15:28 +02:00
Anton Medvedev
8367eea1dc Show git status after update 2020-10-08 09:53:25 +02:00
Anton Medvedev
951f964a87 Fix style 2020-10-08 02:28:33 +02:00
Matt Stein
b1a34ff1ef
Support custom rsync flags + document. (#2189)
* Support custom rsync flags.

* Update changelog.

* Document method.

Co-authored-by: Anton Medvedev <anton@medv.io>
2020-10-08 03:26:30 +03:00
Anton Medvedev
50d4203306 🔥 2020-10-08 02:24:25 +02:00
Anton Medvedev
cdc326ecab Release 7.0.0-rc.1 2020-10-08 02:21:24 +02:00
Hardy Johnson
68d9cbd4e1
Cachetool contrib recipe, add stat:clear command. (#2103)
Co-authored-by: Anton Medvedev <anton@medv.io>
2020-10-08 03:17:56 +03:00
Matt Stein
2098c41fe5
Support custom rsync flags. (#2115)
* Support custom rsync flags.

* Update changelog.

Co-authored-by: Anton Medvedev <anton@medv.io>
2020-10-08 02:55:54 +03:00
Anton Medvedev
a1103bee17 Migrate to common prepare/publish tasks 2020-10-08 01:53:45 +02:00
Anton Medvedev
34e6c5f00f Fix CHANGELOG.md style 2020-10-08 01:40:51 +02:00
Markus Staab
db1b005ef1
fixed min-php version check (#2102)
* fixed min-php version check

* Update CHANGELOG.md

* more generic wording

* Update dep

Co-authored-by: Anton Medvedev <anton@medv.io>
2020-10-08 02:40:08 +03:00
Anton Medvedev
de23a23b8e Add only needed options to connect command 2020-10-08 01:31:20 +02:00
Anton Medvedev
04c2a406e3 Add verbose() tasks 2020-10-08 01:27:48 +02:00
Anton Medvedev
71afcdcc3a Store composer.phar in .dep 2020-10-08 01:19:39 +02:00
Anton Medvedev
58b47b7484 Update docs 2020-10-08 01:06:10 +02:00
Anton Medvedev
7434bb259a Add once() test 2020-10-08 01:04:25 +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
1deef65987 Apply config overrides in connect command 2020-10-08 00:22:28 +02:00