152 Commits

Author SHA1 Message Date
oanhnn
9c1e4eca2d Added function taskGroup and changed spec of function task 2016-02-16 09:47:26 +07:00
oanhnn
61304780c8 Allow create task from callable 2016-02-16 09:45:51 +07:00
Michael Moussa
b20df44787 Changed onlyFor to onlyForStage for explicitness 2016-01-25 09:34:37 -05:00
Michael Moussa
f8fd055cd7 Added support for onlyFor(...) in the series and parallel executors
If the task specifies it must only be run for specific stage(s),
then the task will be skipped if (a) the server environment doesn't have
any stages, or (b) the server environment does have stages, but none of
them match the list of allowed stages.
2016-01-22 18:00:20 -05:00
Michael Moussa
0557f84e6d Added way to tell tasks that they should only run for certain stages 2016-01-22 17:52:11 -05:00
Lucas Jenss
aa7ba7fba3 Fix env variable replacement in download parameters 2016-01-14 21:48:10 +01:00
Lucas Jenss
2173f597e2 Add test for env variable replacement in #upload 2016-01-14 21:41:41 +01: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
Anton Medvedev
0b01cbf1ce Merge pull request #414 from deployphp/init-command
dep init
2016-01-08 12:23:51 +07:00
Dmitry Balabka
54c7dc99ac Make more correct RegExp in RemoteServerTest 2015-12-23 01:19:45 +02:00
oanhnn
bb9942f9c2 Fixed Travis CI build fails 2015-12-18 09:22:09 +07:00
oanhnn
a275613d16 Fixed Travis CI build fails follow @MaartenStaa suggestion 2015-12-18 09:15:52 +07:00
oanhnn
b36b1ede9c Adding a task to clean files and/or directoies 2015-09-08 11:48:07 +07:00
Anton Medvedev
75f83ed7b5 Merge pull request #410 from davidkudera/task-only-on
Task: syntactic suger for onlyOn method
2015-08-24 00:41:40 +07:00
David Kudera
767a36b263 Task: allow string argument at onlyOn method 2015-08-23 19:37:40 +02:00
Dmitry Balabka
0cdc738282 Implemented tests and fixed default timeout value to not soo huge (fixes #429) 2015-08-21 01:24:05 +03:00
Vitaliy Zhuk
0a735a1bdd Fix for code style 2015-07-30 08:41:55 +03:00
Vitaliy Zhuk
235de6e4c5 Fix typos 2015-07-29 11:25:19 +03:00
Vitaliy Zhuk
6be460a839 #407 Add initializer system. Add command for initialize deployer. 2015-07-28 14:28:30 +03:00
Alex Stansfield
03f344ad36 Add default stage support.
set('default_stage', 'prod');
2015-07-27 10:55:59 +07:00
Anton Medvedev
dacebc4256 Update CommonTest.php 2015-07-24 15:27:27 +07:00
Lucas Michot
ad7173b7e7 Update readme 2015-06-17 19:30:25 +02:00
Anton Medvedev
6e77ee8245 Add StageStrategyTest. 2015-06-12 23:23:30 +07:00
Anton Medvedev
fdc68259b6 Split StageStrategy and support run tasks without specify server. 2015-06-12 23:08:52 +07:00
Anton Medvedev
9667b4c7a5 Fix execution tasks with same names. 💎 2015-06-12 20:33:14 +07:00
Vitaliy Zhuk
dc6b348d73 Add password getter system for pass phrase (with use public key for connection) #298 2015-05-27 13:47:56 +03:00
Vitaliy Zhuk
3c036c659b Fix AskPasswordGetter tests (Pop context after testing) 2015-05-27 10:53:12 +03:00
Vitaliy Zhuk
ac5e4781e8 Add testing for PasswordGetter (#298, #299) 2015-05-27 10:48:18 +03:00
Vitaliy Zhuk
9160d09cfb Add password getter system for customize getting password. (#298)
1. Add AskPasswordGetter (ask password before connecting)
2. Add CallabackPasswordGetter (gets password with call callbacks, Closures)
2015-05-26 16:52:10 +03:00
Hubert Viktor
aae6bec2b9 Added the 'server' env var to be set automatically, when the Builder class is instantiated. 2015-05-24 21:33:43 +02:00
oanhnn
be28f8251e Fix bug of pull request #276: add feature protected env params 2015-05-24 00:13:32 +07:00
Hubert Viktor
78a2681f45 Refactored the protected environment parameters' implementation based on the #276 discussion. (+tests) 2015-05-22 15:18:51 +02:00
Hubert Viktor
24d680b15b Added the possibility of 'protected' env parameters. (+test). 2015-05-21 09:58:01 +02:00
Anton Medvedev
3ab3df21fe Test upload function. 2015-05-16 00:56:34 +07:00
Anton Medvedev
e18977e18c Better 💎 2015-05-16 00:22:48 +07:00
Anton Medvedev
8c56942b94 Speed up tests. 2015-05-16 00:17:51 +07:00
oanhnn
b388550cd1 update class DotArray and add more test case 2015-05-13 16:27:00 +07:00
Anton Medvedev
1f80d1dc2d Pop context. 2015-05-13 10:41:00 +07:00
Anton Medvedev
3ff86dc927 runLocally works like run. 2015-05-13 10:29:56 +07:00
Anton Medvedev
56ba9f7dae Fix runLocally. 2015-05-13 10:18:15 +07:00
Anton Medvedev
224ec2fc78 Add serverList() function 🐝 2015-05-12 23:48:04 +07:00
Anton Medvedev
43d92f6f89 Clear stat cache 🐝 2015-05-12 13:45:53 +07:00
Anton Medvedev
6e4c679810 Fix tests 🐝 2015-05-12 13:40:50 +07:00
Anton Medvedev
00f74f2998 Debug tests. 2015-05-12 13:32:51 +07:00
Anton Medvedev
b64c56cb40 Fix tests. 2015-05-12 13:25:47 +07:00
Anton Medvedev
78999ce4b8 Fix tests. 2015-05-12 13:00:50 +07:00
Anton Medvedev
5475227502 Merge pull request #238 from oanhnn/features/change-specific-for-env-vars
Change specific requirement for env vars
2015-05-11 23:59:33 +07:00
Kostadin Damyanov
bfe91f9960 Add ReleaseSymlink test 2015-05-08 15:56:47 +03:00
oanhnn
015241e3a5 Change specific requirement for env vars 2015-05-07 16:49:18 +07:00