Commit Graph

64 Commits

Author SHA1 Message Date
ErickSkrauch
c92ece3fed
Fix Sentry installation 2024-12-02 13:27:31 +01:00
ErickSkrauch
cc21abe8f4
Install SVG support for Codeception step 2024-12-02 13:14:22 +01:00
ErickSkrauch
fcf74eacab
Fix image for PHPStan on GitLab CI 2024-12-02 12:47:16 +01:00
ErickSkrauch
f43eafb2f3
Fix GitLab CI 2024-12-02 12:35:21 +01:00
Octol1ttle
57d492da8a
Upgrade project to PHP 8.3, add PHPStan, upgrade almost every dependency (#36)
* start updating to PHP 8.3

* taking off!

Co-authored-by: ErickSkrauch <erickskrauch@yandex.ru>
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* dropped this

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* migrate to symfonymailer

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* this is so stupid 😭

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* ah, free, at last.

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* oh, Gabriel.

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* now dawns thy reckoning.

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* and thy gore shall GLISTEN before the temples of man.

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* creature of steel.

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* my gratitude upon thee for my freedom.

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* but the crimes thy kind has committed against humanity

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* Upgrade PHP-CS-Fixer and do fix the codebase

* First review round (maybe I have broken something)

* are NOT forgotten.

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* Enable parallel PHP-CS-Fixer runner

* PHPStan level 1

* PHPStan level 2

* PHPStan level 3

* PHPStan level 4

* PHPStan level 5

* Levels 6 and 7 takes too much effort. Generate a baseline and fix them eventually

* Resolve TODO's related to the php-mock

* Drastically reduce baseline size with the Rector

* More code modernization with help of the Rector

* Update GitLab CI

---------

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
Co-authored-by: ErickSkrauch <erickskrauch@yandex.ru>
2024-12-02 11:10:55 +01:00
ErickSkrauch
9c39e97640
Merge pull request #21 from elyby/iss_20_minecraftservices_profile
MinecraftServices Profile info API endpoint
2022-12-10 00:16:40 +01:00
ErickSkrauch
97fe22d598
Upgrade docker version for build 2022-12-05 23:12:09 +01:00
ErickSkrauch
2bb465d867
Fix build pipeline [deploy dev] 2022-01-21 21:11:45 +01:00
ErickSkrauch
1fee15f74a
Try to fix missing yii executable 2021-02-14 19:32:40 +01:00
ErickSkrauch
cc519edf5a
Remove unused yii2 composer plugin which was causing an error 2021-02-14 19:18:43 +01:00
ErickSkrauch
6ca64ce6d8
Fix missing CI dependencies 2021-02-14 19:07:04 +01:00
ErickSkrauch
9729fc939d
Upgrade backend engine 2021-02-14 19:01:49 +01:00
ErickSkrauch
c86817a93d
Add deploy to the production step 2020-06-11 14:41:18 +03:00
ErickSkrauch
053e591c3b Implemented deploy stage, allow to manually specify the environment for the Sentry 2020-06-11 01:33:06 +03:00
ErickSkrauch
295d3a6dc6
Use separate docker service to build images 2020-05-21 16:24:44 +03:00
ErickSkrauch
b52a21c5f2
Try dind image to solve https://gitlab.com/gitlab-org/gitlab-runner/-/issues/4566 2020-05-21 16:19:28 +03:00
ErickSkrauch
a9c3d50ad9
Remove cleanup stage from CI 2020-05-21 16:00:21 +03:00
ErickSkrauch
09f7818113 Upgrade PHP to 7.4. Update corresponding dependencies. 2019-12-29 18:23:20 +03:00
ErickSkrauch
8d28c7c453 Upgrade patch in the build image before install dependencies 2019-12-15 05:26:45 +03:00
ErickSkrauch
b47522e6f9 Fix CI for bitmani mariadb image 2019-11-15 20:09:19 +03:00
ErickSkrauch
2fe3ede4ea Replace basic mariadb image with the bitnami 2019-11-15 20:04:45 +03:00
ErickSkrauch
0dc8ca8c78 Define vars for cleanup step 2019-11-05 15:31:23 +03:00
ErickSkrauch
d8b68f7be0 Rename cleanup step [skip ci] 2019-11-05 15:28:18 +03:00
ErickSkrauch
6cd50f759c Fix gitlab-ci configuration 2019-11-05 15:27:07 +03:00
ErickSkrauch
7505bc8262 Upgrade gitlab-ci 2019-11-05 15:10:37 +03:00
ErickSkrauch
25df1c711a Slightly improved configuration for gitlab-ci [skip ci] 2019-08-03 22:49:17 +03:00
ErickSkrauch
663cfd9dbc Improve caching for the build step 2019-08-03 22:20:13 +03:00
ErickSkrauch
d333798919 Define VERSION env variable as a step 2019-08-03 21:50:34 +03:00
ErickSkrauch
80b99db0f8 Use 2-spaces for gitlab-ci.yml definitions 2019-08-03 16:16:08 +03:00
ErickSkrauch
492118a0c0 Improve gitlab-ci configuration 2019-08-03 16:15:17 +03:00
ErickSkrauch
f33439d829 Completely untie the backend from the frontend.
Build nginx and mariadb together with the app image.
Upgrade docker-compose configuration to 3 version.
Add cleanup step to the gitlab-ci.
2019-04-06 15:52:23 +02:00
ErickSkrauch
e13b6f0d94 Upgrade PHP to 7.3 and fix some related code errors. Disable self_accessor fixer for PHP-CS-Fixer 2019-04-06 04:15:23 +02:00
ErickSkrauch
07546bc7e9 Completely remove frontend from this repository 2019-04-06 04:12:00 +02:00
ErickSkrauch
facc1e50a6 Fix backend CI configuration 2019-02-22 23:21:57 +03:00
ErickSkrauch
9620ff75eb Update glibc installation in gitlab-ci 2018-10-26 16:45:05 +03:00
ErickSkrauch
9ed449d144 Use same cache for all backend builds 2018-07-11 01:00:47 +03:00
ErickSkrauch
40eea7864e Fix gitlab-ci 2018-07-11 00:26:41 +03:00
ErickSkrauch
49d612daa1 Replace debian-based image with alpine-based.
Remove supervisor usage. Cron now runs as separate service.
CI for backend now performs without Docker.
2018-07-10 20:02:19 +03:00
ErickSkrauch
bcff944be2 Disable xdebug for tests 'cause we don't collect coverage stats 2018-04-18 03:19:03 +03:00
ErickSkrauch
f09eb86e5c Simplify the call of the php-cs-fixer 2018-04-18 03:09:36 +03:00
ErickSkrauch
02ea7346a8 Implemented PHP-CS-Fixer support 2018-04-17 23:47:25 +03:00
ErickSkrauch
f3f53e752d Fix quotes for env.js, formed on build time 2018-03-18 03:04:46 +03:00
ErickSkrauch
8bff316bce Fix sed command 2018-03-18 02:39:13 +03:00
ErickSkrauch
46552e8469 Use the latest available docker image and pin it 2018-03-18 01:14:20 +03:00
ErickSkrauch
b743cc69aa Remove version definition from the application and pass it on build time 2018-03-17 19:14:02 +03:00
SleepWalker
6b4a21ef30 Revert "Снова отключаем flow"
This reverts commit 31a164b779c328cc6db827d09b5db28f1e6232eb.
2017-12-30 21:09:48 +02:00
ErickSkrauch
d2f3a05b31 Переход на кодировку utf8md4_unicode_ci 2017-12-23 00:32:36 +03:00
ErickSkrauch
43b69aed0b Снова отключаем flow 2017-12-17 17:18:25 +03:00
ErickSkrauch
58780f3ee1 Обновлена версия PHP, Node.js и перешли на использование yarn 2017-12-13 16:05:30 +03:00
SleepWalker
c7b6d1961d Try to begin with migration to yarn 2017-12-13 00:13:36 +02:00