26 Commits

Author SHA1 Message Date
Anton Medvedev
be7511ad89 Update .gitignore 2021-09-26 15:25:30 +02:00
Anton Medvedev
e31c0d20b2 Ignore autogenerated content 2021-09-24 15:20:48 +02:00
Anton Medvedev
90ae26b5d8 Clean up configs 2020-10-25 09:46:47 +01: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
29a643b623 v7 2020-05-16 18:02:17 +03:00
Anton Medvedev
86c7b3848f Fix incompatibility with Symfony 5 2019-12-15 21:11:39 +07:00
Daisuke Tsuji
658c2df22a Updated gitignore (#1726)
* added coverage.xml to .gitignore

* removed .php_cs.cache from .gitignore

* added .DS_Store to .gitignore

* Update CHANGELOG.md (updated .gitignore)

* Revert "added .DS_Store to .gitignore"

This reverts commit e372283ae79ea8bacdb8e6d3d1e789d36a2b14f3.

* Revert "added coverage.xml to .gitignore"

This reverts commit b34fc413223408af2cc3eb34a52904764132efa7.

* Revert "Update CHANGELOG.md (updated .gitignore)"

This reverts commit 5149eda8a0e264d2522dfd2636a31733e42778f5.
2018-10-08 12:09:38 +07:00
Lucas Michot
85e89a33e4 Let user override phpunit locally. 2017-05-15 11:22:08 +02: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
66d2a23833 Refactor test recipes location 2017-03-21 15:26:09 +07:00
Anton Medvedev
9e7ffe7984 Refactor recipe tests 2017-03-16 20:03:11 +07:00
Anton Medvedev
30298cfbc9 Tests for src 2017-03-16 14:50:34 +07:00
Anton Medvedev
50163385bd Set https for manifest file. 2016-11-05 12:05:41 +07:00
Anton Medvedev
b2b8b58f4d User specific files should not appear in .gitignore.
Please, use local .gitignore.
2016-03-07 12:33:09 +07:00
Anton Medvedev
eb9672d82f Ignore deploy.php file. 2016-01-11 12:32:47 +07: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
Lucas Michot
ad7173b7e7 Update readme 2015-06-17 19:30:25 +02:00
elfet
2de75b5c33 Add composer.lock 🌀 2015-02-20 15:20:29 +03:00
Anton Medvedev
503e19234c A large piece of improvements and refactoring 💎 2014-11-29 22:11:11 +03:00
Elfet
978f59a0e3 Ignore all *.phar 🔭 2014-07-08 17:00:52 +04:00
Elfet
185b002eaf Update .gitignore 2014-07-04 12:41:05 +04:00
miziomon
14862f10d3 Add download features 2014-03-28 09:13:53 +01:00
Elfet
e4a58b9a23 Fix pages/ in git ignore. 👍 2013-07-13 00:03:11 +04:00
Elfet
0d6eb5dcf8 Add pages/ to git ignore. 2013-07-12 23:59:06 +04:00
Elfet
52b7af8e0a Add compile class and command. 2013-07-12 23:19:38 +04:00
Elfet
383572dc3d first commit 2013-07-11 15:47:09 +04:00