129 Commits

Author SHA1 Message Date
Rich Sage
ec099da499 Allow any callable to be passed to task().
This permits callables that aren't specifically closures, to be passed in.
2017-07-21 12:11:59 +01:00
Anton Medvedev
b698f184f6 Fix bug with parallel deploy to same host 2017-06-20 23:27:29 +07:00
de Christo
5a200a60f6 #1137 - Added tests and header comment 2017-05-26 10:09:30 +02:00
de Christo
9999e76802 #1137 - Adjusted coding style 2017-05-26 08:36:46 +02:00
de Christo
5fc67f66c0 #1137 - Adjusted coding style 2017-05-26 08:35:01 +02:00
de Christo
e84edfda30 #1137 - Adjusted coding style 2017-05-26 08:32:47 +02:00
de Christo
b825e47aa1 #1137 - Adjusted coding style 2017-05-26 08:29:42 +02:00
de Christo
70138c8003 #1137 - Added tests for HostSelector and ScriptManager. 2017-05-25 21:40:33 +02:00
Anton Medvedev
64f5bbce7a Fix tests for templates 2017-05-14 21:37:25 +07:00
Michael Woodward
7ec8cfb9c2 Move multiplexing into SSH Arguments class 2017-04-14 15:52:33 +01:00
Michael Woodward
f8db17e132 Remove quotes from ssh arguments 2017-04-14 15:52:33 +01:00
Michael Woodward
37b0f780ec Add + Fix tests for SSH Arguments 2017-04-14 15:52:33 +01:00
Anton Medvedev
542e5f0dc2 Fix runLocally test 2017-04-14 17:12:55 +07:00
Azuka
8c378457da Add port if specified to ssh options. 2017-04-10 07:19:41 -07:00
Anton Medvedev
bafb0b872a Restrict ConfigurationException usage only by Configuration 2017-04-08 17:02:30 +07:00
Anton Medvedev
7f74425d88 Add question to ssh command 2017-04-06 16:48:16 +07:00
Anton Medvedev
c6c3f49ed3 Add storage test
Now, in parallel mode, local and parallel tasks can exchange data through config.
2017-03-25 15:05:01 +07:00
Anton Medvedev
9d79f9e7fb Add persistent config 2017-03-24 21:07:40 +07:00
Anton Medvedev
e5d499a92f Add logger 2017-03-23 18:40:45 +07:00
Anton Medvedev
55ce7761d4 Localhost extend Host 2017-03-23 11:40:24 +07:00
Anton Medvedev
2e0b2e26e8 Add host aliases 2017-03-20 12:51:07 +07:00
Anton Medvedev
ecbe80bda5 Add shouldBePerformed tests 2017-03-19 19:32:47 +07:00
Anton Medvedev
78789d2844 Implement stage, roles, hostnames checks 2017-03-19 17:03:38 +07:00
Anton Medvedev
3f52da4a20 Add support tests 2017-03-19 01:24:50 +07:00
Anton Medvedev
be23ad3c4e Introduce support helpers 2017-03-19 01:00:28 +07:00
Anton Medvedev
eadea2f08a Refactor tasks 2017-03-18 23:27:55 +07:00
Anton Medvedev
8e2c025c96 Add method tests 2017-03-18 15:11:24 +07:00
Anton Medvedev
4668d2fd86 Add FileLoaderTest 2017-03-18 15:04:08 +07:00
Anton Medvedev
d6ba93d3ec Add more tests 2017-03-17 13:12:55 +07:00
Anton Medvedev
0abec765c4 Expand hosts in host func 2017-03-17 12:34:03 +07:00
Anton Medvedev
0e918fb553 Add host ranges 2017-03-17 12:15:25 +07:00
Anton Medvedev
dafc57cdd0 Update Symfony min version to 2.7 2017-03-16 15:40:35 +07:00
Anton Medvedev
c162cb9adf Add a few tests 2017-03-16 15:05:16 +07:00
Anton Medvedev
30298cfbc9 Tests for src 2017-03-16 14:50:34 +07:00
Anton Medvedev
5745a714be Start refactoring tests 2017-03-16 11:26:43 +07:00
Anton Medvedev
92a4c20271 Refactor server+environment to host 2017-03-12 21:56:23 +07:00
Hasham Ahmad
c728185321 Parse hyphens in environment setting names 2017-03-09 11:33:15 +00:00
Mathias Brodala
43cf9db961 Fix merge of string array config options
This unbreaks e.g. the following:

add('shared_files', ['foo']);
add('shared_files', ['bar']);

Without this fix, this would become ['bar'] instead of ['foo', 'bar']
2017-03-07 11:51:27 +01:00
Maksim Kuznetsov
70ba131549 Fix tests and StyleCI for --no-hooks option 2017-03-03 05:03:28 +03:00
Maksim Kuznetsov
41e4f2d009 Add --no-hooks option for running commands without before() and after() (#934) 2017-03-03 04:50:38 +03:00
Mathias Brodala
c37237da88 Add a way to retrieve a defined task
This is useful to reconfigure tasks defined in 3rd party recipes,
e.g. to limit execution to a few servers.
2017-02-13 16:54:24 +01:00
Mathias Brodala
d2cbc89da3 Fix scalar options merge (#1003)
* Add (failing) tests for scalar option merge behavior

* Fix scalar values on recursive option merge

This covers the following two essential usecases:

1. A scalar default value should be overridden
2. Values should be added to a array default value

* Update changelog

* Add a few comments

* Use specific class name for config merge
2017-02-07 23:16:46 +07:00
Anton Medvedev
decad7a8d4 Apply fixes from StyleCI 2017-01-27 06:23:49 +00:00
Anton Medvedev
acf322238a Update dependencies
Do composer update and refactor PHPUnit namespaces.
2017-01-27 11:06:12 +07:00
Mathias Brodala
031a090afa Recursively add configuration options 2017-01-18 12:21:27 +01:00
Jordi Sala
841ae52311 remove trailing whitespace, add whitespace checks on styleci 2016-12-08 00:14:27 +01:00
Anton Medvedev
f87868bdbd Fix tests. 2016-11-19 16:02:17 +07:00
Anton Medvedev
3e40fcd958 Feature: logger. 2016-11-13 17:42:35 +07:00
Anton Medvedev
8a3c7884b0 Refactor config: remove dotarray. 2016-11-13 15:23:26 +07:00
Anton Medvedev
e5bd3a08ca Fix tasks. 2016-11-12 17:21:28 +07:00