1970 Commits

Author SHA1 Message Date
Anton Medvedev
ff110c987d
Refactor recipes (#2224) 2020-10-25 18:00:05 +03:00
Anton Medvedev
f6750584a6 Update CHANGELOG.md 2020-10-25 15:07:39 +01:00
Anton Medvedev
936cfb0b69 Update CHANGELOG.md 2020-10-25 15:00:22 +01:00
Anton Medvedev
af995ac8dc
Add docgen check action (#2223) 2020-10-25 16:58:37 +03:00
Anton Medvedev
2feb5c1247 Update docs 2020-10-25 14:20:03 +01:00
Anton Medvedev
56e05373fa Update README.md 2020-10-25 14:11:06 +01:00
Joey Kaan
ee3746690b
Add composer_version to choose which composer version to install (#2222)
Co-authored-by: Joey Kaan <joeyk@spotify.com>
2020-10-25 13:01:34 +01:00
Anton Medvedev
007b0db40f Add funding 2020-10-25 09:51:47 +01:00
Anton Medvedev
530353ee65 Fix e2e 2020-10-25 09:50:01 +01:00
Anton Medvedev
90ae26b5d8 Clean up configs 2020-10-25 09:46:47 +01:00
Markus Staab
7bb908608f
Add phpstan (#2218)
* added phpstan static analysis via GitHub Actions

* Update CHANGELOG.md

* fix bad merge

* Update phpstan.yml

Co-authored-by: Anton Medvedev <anton@medv.io>
2020-10-25 11:21:07 +03:00
Markus Staab
8ee17a9b5b
fix phpdocs (#2219) 2020-10-24 01:06:40 +03:00
Anton Medvedev
f3e0c18de4
Update FUNDING.yml 2020-10-24 00:30:18 +03:00
Markus Staab
76a5011119
added phpdocs (#2216) 2020-10-22 19:28:25 +02:00
Markus Staab
119da3b65e
updated docs for fail() (#2215)
* updated docs for fail()

* Update functions.php

* Update functions.php
2020-10-22 19:26:43 +02:00
Justinas Urbanavicius
a6edb7f977
fixed issue #2209 (#2211)
* fixed issue #2209

Copy shared files and folder should be verbose only when deployer is run with Very verbose output

* updated CHANGELOG.md

* changed to -vvv

* changes sprintf to interpolation
2020-10-22 13:56:20 +02:00
Tobias van Beek
c7417e4bcc
Typehint functions file (#2210)
* Add typehints for the functions.php file

* Update the changelog

* add src/functions.php to the phpcs config

* Fix the phpcs errors
- add missing typehints
- remove not needed doc block comments about params and return values and empty lines
2020-10-22 13:54:24 +02:00
Andrey Helldar
9f89525548
[composer 3] Removed deprecated option "--no-suggest" (#2212)
* [composer 3] deprecated option "--no-suggest"

* Updated CHANGELOG.md

* Update CHANGELOG.md

Co-authored-by: Anton Medvedev <anton@medv.io>
2020-10-21 23:53:25 +02:00
Anton Medvedev
3667c991df Rename build to unit 2020-10-19 23:58:24 +02:00
Anton Medvedev
106972e9e3 Remove .travis.yml 2020-10-19 22:42:56 +02:00
Sacharski Bartłomiej
67ed1a800b
[#2197] Created E2E testing environment (#2198)
* [#2197] Created E2E testing environment

Created docker-based end-to-end testing environment, which allows
for testing more complex scenarios.

Additionally added FunctionE2ETest class that contains test scenario
for `run` function with placeholders.

Closes #2197

* [#2197] Moved docker to test dir & separated e2e tests from unit-tests

The docker directory has been moved into test/ directory.
Additionally the e2e tests have been separated from the unit-test
files:
  * AbstractE2ETest class is directly inheriting from TestCase,
    dropping relation to the AbstractTest
  * Separate bootstrap.php file for e2e test was created
  * Separate phpunit-e2e.xml.dist file was created to configure
    PHPUnit for just the e2e tests
  * deployer docker service now runs only e2e tests by default

* [#2197] Added E2E tests to GH actions

Added E2E tests steps to GH actions:
* building the docker-compose stack (building images)
* starting the stack to run the tests

If E2E tests fail, then docker-compose up will end with non-zero
exit code, thus the workflow will be marked as failed.

* [#2197] Fixed no output when using run() with sudo

Fixed a discrepancy in the `run()` function, where there would be
no output when the command was being executed with a sudo.

* [#2197] Added testcases for running commands with sudo

Added two testcases for e2e tests, that verify:
* that sudo command can be ran with password provided interactively
* that sudo command can be ran with password passed via argument

To allow for these tests to happen, the Dockerfile for server
service had to be modified - the deployer user will require a
password, when running command with sudo.

* [#2197] Added Laravel-boilerplate deploy E2E test

Added a very simple E2E test that checks whether the Laravel-boilerplate
deploys successfully to the testing server.

The testing scenario will deploy the app, copy sample .env file,
generate the app key and finally try to get the main page contents
to verify that the expected string is visible in the page source.

* [#2197] Moved E2E tests to separate job

Moved E2E tests to separate job and added docker-compose cache
to slightly improve stack build times.

* [#2197] Using deployphp test-laravel repo for E2E tests

Updated the laravel-boilerplate deploy config to use the repository
that belongs to deployphp organization.

Co-authored-by: Bartlomiej Sacharski <beton@cementowina.org>
2020-10-19 23:38:15 +03:00
Anton Medvedev
5b615b42a6 Update README.md 2020-10-17 11:15:50 +02:00
Anton Medvedev
9fdade7b90 Update changelog 2020-10-17 11:13:08 +02:00
bonswouar
f7fb577b34
[#2207] Symfony change dir to execute DoctrineMigrations (#2208)
Co-authored-by: bonswouar <contact@florianmessmer.com>
2020-10-17 11:07:22 +03:00
Anton Medvedev
748a57c89d Back on master 2020-10-16 22:58:01 +02:00
Anton Medvedev
d4acd597f2 Release 7.0.0-beta.2 v7.0.0-beta.2 2020-10-16 22:56:35 +02:00
Anton Medvedev
10c8b0de8f Better dep init command 2020-10-16 22:54:20 +02:00
Anton Medvedev
f65d013574 Rename Console namespace to Command 2020-10-15 22:21:27 +02:00
Anton Medvedev
8e8c0bc2dc Add yaml syntax 2020-10-15 22:12:24 +02:00
helsner
f251352fa2
feat!: adapt chat notify favicon to handle custom links (#2203)
* feat!: adapt chat notify favicon to handle custom links

* style: add missing punctuation
2020-10-14 17:33:18 +02:00
Anton Medvedev
e58e3eabd6 Fix test 2020-10-12 22:24:36 +02:00
Anton Medvedev
6163ccb70d No spinner in --no-ansi mode 2020-10-12 22:16:59 +02:00
Anton Medvedev
18bdfc8bd9 Better options passing to worker and connect commands 2020-10-12 22:15:20 +02:00
Anton Medvedev
b006a9b7e5 Remove unused import 2020-10-12 16:02:02 +02:00
Anton Medvedev
09b3292315 Fix typo 2020-10-12 16:01:40 +02:00
Anton Medvedev
fa2ec714ef Better option descriptions 2020-10-12 15:56:55 +02:00
Anton Medvedev
63fe690229 Fix local() in worker 2020-10-11 17:03:50 +02:00
Anton Medvedev
77d3141ad0 Release 7.0.0-beta.1 v7.0.0-beta.1 2020-10-11 16:45:27 +02:00
Anton Medvedev
daee77bf1f Update docs 2020-10-11 16:35:59 +02:00
Anton Medvedev
5bc321f129 Update docs 2020-10-11 16:24:03 +02:00
Anton Medvedev
36596a618e Add dotenv support 2020-10-11 16:23:40 +02:00
Anton Medvedev
5bd53b8fc9 Added env test 2020-10-11 16:04:44 +02:00
Anton Medvedev
91c1d5fbec Docs updates 2020-10-11 01:52:36 +02:00
Anton Medvedev
3c3cb6a608 Improve init command 2020-10-11 00:25:31 +02:00
Anton Medvedev
9b83b8b846 Delete write() func 2020-10-11 00:09:07 +02:00
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