103 Commits

Author SHA1 Message Date
Anton Medvedev
6daa72993b ð 2021-10-21 21:47:50 +02:00
Anton Medvedev
f0e3d44d24 Fix release 2021-10-21 21:39:21 +02:00
Anton Medvedev
7f7337494b Fix release 2021-10-21 21:30:04 +02:00
Anton Medvedev
f80ff32a8e Update release 2021-10-21 21:27:56 +02:00
Anton Medvedev
35a442f532 Refactor release process 2021-10-21 21:14:30 +02:00
Anton Medvedev
2d58cadb26 Add automatic docs deploy 2021-10-19 22:40:12 +02:00
Anton Medvedev
fb3a005645 Add php matrix tests 2021-10-13 19:32:25 +02:00
Anton Medvedev
dac32a9c2f Rename update.yml to sync.yml 2021-10-11 22:13:17 +02:00
Anton Medvedev
b3c4d1d695 Update commit message 2021-10-09 18:04:40 +02:00
Anton Medvedev
1320e21e42 Add update workflow 2021-10-09 17:59:21 +02:00
Anton Medvedev
efe4ebc1f2 Require bin/docgen 2021-09-26 22:56:37 +02:00
Anton Medvedev
71f0c13486 Don't require bin/docgen 2021-09-24 14:50:58 +02:00
Anton Medvedev
ca3991c49a Remove patreon 2021-09-24 00:33:05 +02:00
Anton Medvedev
387b4c1d51
Update composer dependencies (#2453)
As well rename test dir to tests, as Pest does not support dir without s on the end.
Also, remove PHP requirement from composer.json as we already have check-in bin/dep and it's better to have the check only in one place (now they already out of sync).
2021-03-12 13:56:16 +03:00
Anton Medvedev
5437c0fe86
Update config.yml 2020-12-17 18:25:42 +03:00
Anton Medvedev
bb85e2f532 Add phpcs action 2020-11-17 22:59:18 +01:00
Anton Medvedev
14443f1446
Update bug_report.md 2020-11-10 00:47:34 +03:00
Anton Medvedev
6bad93a8b0
Update bug_report.md 2020-11-10 00:46:21 +03:00
Anton Medvedev
cf6d6998fc
Update bug_report.md 2020-11-10 00:45:47 +03:00
Anton Medvedev
af995ac8dc
Add docgen check action (#2223) 2020-10-25 16:58:37 +03: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
Anton Medvedev
f3e0c18de4
Update FUNDING.yml 2020-10-24 00:30:18 +03: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
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
e85f08c428
Update bug_report.md 2020-10-09 01:25:48 +03:00
Anton Medvedev
e7b0c6793e
Update config.yml 2020-10-09 01:23:00 +03:00
Anton Medvedev
29a724e12a
Update config.yml 2020-10-09 01:21:50 +03:00
Anton Medvedev
6148a11033
Create config.yml 2020-10-09 01:20:14 +03:00
Anton Medvedev
54748566a9 Improve tests 2020-10-09 00:15:28 +02:00
Anton Medvedev
ebaff4eb5f Clean up .github 2020-10-02 12:24:34 +02:00
Anton Medvedev
e2875b4dfd
Create test.yml 2020-09-28 09:52:04 +03:00
Anton Medvedev
3ea39a40d3 Update issue templates 2020-09-03 17:21:08 +03:00
Anton Medvedev
14786f899d
Update FUNDING.yml 2020-05-16 18:04:13 +03:00
Anton Medvedev
29a643b623 v7 2020-05-16 18:02:17 +03:00
Jono Menz
b7a728b7b3
Fixes for check_remote task and SS recipe (#1991)
* Fix check_remote task

* Check remote head contents locally
* Ensure .dep/HEAD file is available so error isn’t thrown
* Document task usage

Fixes #1990

* Fix Silverstripe recipe

* Additionally check shared directory for assets since this directory is commonly excluded from project git repos
* Ensure shared_assets returns a non-null value so the release folder can’t get accidentally deleted

Fixes #1989

* Update CHANGELOG.md

* Clarified contribution instructions

* Update issue templates

Added a bug report template
2020-01-29 11:13:11 +03:00
Anton Medvedev
4e8dbd98ec
Update PULL_REQUEST_TEMPLATE.md 2019-07-02 08:24:32 +03:00
Anton Medvedev
fe03581387
Delete ISSUE_TEMPLATE.md 2019-07-02 08:21:57 +03:00
Anton Medvedev
300cf4c22e
Update ISSUE_TEMPLATE.md 2019-07-02 08:21:35 +03:00
Anton Medvedev
89017a0cf7
Create FUNDING.yml 2019-07-01 07:46:47 +03:00
Anton Medvedev
27633770fc
Update PULL_REQUEST_TEMPLATE.md 2018-12-10 13:04:09 +07:00
Anton Medvedev
283faba6f0
Update ISSUE_TEMPLATE.md 2018-12-10 13:03:54 +07:00
Anton Medvedev
2b8dbcb0d7
Update PULL_REQUEST_TEMPLATE.md 2018-09-06 13:04:42 +07: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
Anton Medvedev
2727b938d8
Update PULL_REQUEST_TEMPLATE.md 2017-11-09 15:07:53 +07:00
Lucas Michot
574127a9e3 Move contributing to .github folder 2017-05-15 12:34:32 +02:00
Anton Medvedev
fcb0ee1c81 Update PULL_REQUEST_TEMPLATE.md 2017-01-18 17:24:36 +07:00
Anton Medvedev
c7e8b8b85e Update PULL_REQUEST_TEMPLATE.md 2017-01-18 00:53:42 +07:00
Anton Medvedev
60fae1826f Update ISSUE_TEMPLATE.md 2016-03-15 22:43:47 +07:00
Anton Medvedev
e470de9244 Update ISSUE_TEMPLATE.md 2016-03-11 13:10:37 +07:00