279 Commits

Author SHA1 Message Date
Stephan Jorek
42de97b1a1 Fix home-directory tilde-expansion (~) in paths by limiting the replacement to leading tilde only (#1852) 2019-06-02 20:24:21 +03:00
Kick_the_BUCKET
c27aa03019 Properly handle input options (#1793)
* Properly handle VALUE_NONE options

* Add test-case for unset VALUE_NONE option

* Fix null and empty string handling

* Better handle value-required options

* Add test-case names for easier issue finding

* Properly handle empty string values

* Update changelog

* Minor test expectation improvement

* Make the input filtering anonymous function static
2019-01-17 12:55:36 +07:00
Vitaliy Ryaboy
0db4d18d8f improve ParallelExecutor::generateOptions to manage all types of InputOption (#1792) 2019-01-15 12:52:08 +07:00
Jérémie Augustin
f8ecded38c Fix task(...)->once() with --parallel and --limit (#1784)
* add test to show issue with once() used with --parallel and --limit issue

* handle once() in a better way to prevent issue with --parallel and --limit
2019-01-06 14:07:40 +07:00
Vitaliy Ryaboy
01782211e7 remove undefined class usage (#1714) 2018-09-28 08:17:11 +03:00
Anton Medvedev
9e24cf4c1b
Changelog parser (#1692)
* Add changelog parser

* Add changelog stringer

* Fix empty lines

* Better error message

* Remove getters

* Remove extra white space

* Style fix

* Add test

* Add update/release/fix commands

* Update PULL_REQUEST_TEMPLATE.md

* Update tests
2018-09-06 13:03:38 +07:00
J Randall
b4672dd2fb Fixes issue #1671, Range expansion in FileLoader when host.yml is loa… (#1686) 2018-09-04 13:28:33 +07:00
Marc Legay
fe88babd85 Fixed once() tasks that where being run multiple times with ParallelE… (#1624)
* Fixed once() tasks that where being run multiple times with ParallelExecutor

* CHANGELOG: reorder issue

* Add test case for parallel deploy on ->once() task
2018-08-27 13:33:45 +07:00
GoodVibesDevelopment
4d0df304f9 Using param's value inside (#1541)
* Parse Host params

* update changelog
2018-04-18 11:34:39 +07:00
Anton Medvedev
a2dbd3be2a Make test branch independence 2018-02-27 23:36:43 +07:00
Gregor Harlan
c1e2633687 parse input before using dirname() (#1545)
* parse input of dirname()

* tests

* changelog
2018-02-14 15:44:35 +07:00
Dariusz Rumiński
192078a540 Upgrade PHPUnit (#1417)
* Upgrade PHPUnit

* Update ScriptManagerTest.php

* Update InitializerTest.php

* Update GroupTaskTest.php

* Update HostSelectorTest.php

* Update DeployerTest.php
2018-01-02 18:13:28 +07:00
Anton Medvedev
67063c3c24 Add tests for deploy:release 2017-12-16 20:29:52 +07:00
Tseho
53fbea17b7 Add tests for invoke on groups 2017-09-17 13:04:03 +02:00
Anton Medvedev
a36e0148f4 Apply fixes from StyleCI 2017-08-16 09:35:28 +00:00
Anton Medvedev
90da753412 Add extra tests 2017-08-16 12:35:16 +03:00
Anton Medvedev
8e01cf6924 Refactor environment variables handling 2017-08-12 20:31:19 +03:00
Anton Medvedev
4570df21cf Apply fixes from StyleCI 2017-08-12 16:03:34 +00:00
Anton Medvedev
d750fb312b Merge branch 'master' into task-callables 2017-08-12 18:44:15 +03:00
Anton Medvedev
53b0261c1b Refactor run and runLocally return type 2017-08-12 18:06:21 +03:00
Anton Medvedev
77a8ae6ff2 Fix tests 2017-08-12 12:02:53 +03:00
Alin Alexandru
668bfa0508 Fixed CS 2017-07-27 14:04:04 +03:00
Alin Alexandru
ee9b3b54cc Fixed CS 2017-07-27 14:02:57 +03:00
Alin Alexandru
e506208b20 Added once feature 2017-07-27 13:55:15 +03:00
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
Anton Medvedev
ddeb64930a Add misc tests 2017-05-31 13:55:57 +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
Anton Medvedev
90d040af1f Fix cleanup task and releases list 2017-05-04 13:00:01 +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
d30a100277 Apply fixes from StyleCI 2017-03-25 08:05:20 +00: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
7b6af034b4 Better error handling in parallel mode 2017-03-22 23:25:35 +07:00
Anton Medvedev
cc4bac30e9 Rename onFailure to fail 2017-03-22 21:53:20 +07:00
Anton Medvedev
231b81d917 Rename FIXTURES to DEPLOYER_FIXTURES 2017-03-21 16:23:41 +07:00