mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-27 20:16:12 +01:00
Commit graph

45 commits

Author SHA1 Message Date
bernd
f134e193cd
[TASK] Use the development php.ini on GitLab CI (#1481)
Fixes #1214
2024-10-07 21:01:36 +02:00
Oliver Klee
a3d72de1de
[FEATURE] Add Composer scripts and a CI job for Rector (#1459)
* [FEATURE] Add Composer scripts and a CI job for Rector

Closes #851
2024-09-30 07:21:41 +02:00
bernd
fb7b22a559
[TASK] Change the image to the official core testing image (#1462) 2024-09-17 14:32:40 +02:00
Łukasz Uznański
fdace0a094
[BUGFIX] Fix functional php8.2 v12 highest job in GitLab CI(#1460) 2024-09-17 13:34:16 +02:00
Łukasz Uznański
902097b7dd
[BUGFIX] Fix parallel lint in GitLab CI (#1456) 2024-09-17 12:23:40 +02:00
Felix Althaus
adc864f257
[FEATURE] Update node to version 22 (#1420)
Fixes: #1403
2024-08-01 13:31:59 +00:00
Oliver Klee
a6710987bf
[TASK] Rename the CSS lint npm command (#1406)
The name of the command should reflect the type of file that gets
linted.

This is a pre-patch to #1396.
2024-07-30 20:46:53 +02:00
Felix Althaus
cd6df41eb7
[TASK] Rename npm commands to fit general naming scheme (#1404) 2024-07-30 19:44:41 +02:00
5a25569a19
[TASK] Use typoscript instead of ts within script names (#1392)
As ts is usually understood as TypeScript instead of TypoScript.
TYPO3 itself also changed its file extension from `.ts` to `.typoscript`.
We reflect that by adopting the script name.

Resolves: #1385
2024-07-29 19:49:37 +02:00
Stefan Bürk
dc04824b4c
[TASK] Streamline nodejs dependency management (#1302)
With #1289 the `nodejs` dependency management has
been changed from `yarn` to `npm` missing the one
or other important requirement.

This change streamlines the management by ...

* adding a `.nvmrc` file to the repository root to
  allow automatic nodejs/npm switch if the nvm shell
  switching is available on the host system.
* adding a `.npmrc` file to specify the lock file
  version and engine option.
* adding `nodejs` and `npm` version constraints as
  `engine` specification to the `package.json` file.
* remove `package-lock.json` from `.gitignore` and
  add it to the repository to ensure reproducable
  setups - which becomes more important if extension
  get custom backend/frontend modules and javascript.
* adding `package-lock.json` to exclude it from archive,
  due to remove from the `.gitignore` file.
* ensuring that new development files are excluded from
  packaging and publishing.
* use `npm ci` in GitHub action workflows to install
  from the lock-file.

Note: This change unblocks adding `npm` dispatching
to `Build/Scripts/runTests.sh`.

Resolves: #1301
Related: #1289
2024-05-14 12:13:43 +02:00
Łukasz Uznański
fbb7e0c930
[TASK] Switch from yarn to npm (#1289)
Resolves: #1274
2024-05-07 15:40:32 +02:00
Łukasz Uznański
964efa4963
[TASK] Migrate to Core testing docker image in GitLab CI (#1187) 2024-03-11 12:25:59 +01:00
ae233d8de0
[TASK] Prevent composer.lock file (#1161)
This is a TYPO3 extension, a library.
We do not track the `composer.lock` file for that reason.
Composer itself offers an option to prevent generation of the file.
This is now configured to prevent the creation of the file.

That should prevent issues with local version of the file.
One might change the `composer.json` version constraints but updates
might fail due to locked version constraints.
This no longer happens if no locked version, due to missing lock file,
exist.

Composer would render warnings when using `composer install` without a
lock file. That's why we update the CI commands to use `composer update`
instead. That warning was already rendered within CI due to missing
file.
2024-02-07 09:54:59 +01:00
Simon Schaufelberger
1f4370c92f
[TASK] Add PHP CS Fixer to GitLab (#1151) 2024-02-04 10:03:06 +01:00
Łukasz Uznański
503177b41a
[TASK] Add php8.3 to functional tests gitlab (#1064)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2023-12-15 16:49:23 +01:00
Łukasz Uznański
deded4d20d
[TASK] Migrate xliff lint on gitlab (#1073)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2023-12-15 16:34:37 +01:00
Łukasz Uznański
9ffbf82d3e
[TASK] Add php8.3 unit tests to gitlab ci (#1033)
Depends on: #1032

Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2023-11-27 18:19:25 +01:00
Łukasz Uznański
5998d5699b
[FEATURE] Add PHP 8.3 lint to GitLab CI (#1032)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2023-11-27 18:14:17 +01:00
687af8b8a3
[BUGFIX] Wrong GitLab job name (#1015)
The job name did not match the file name and the actual content of the
job.

Relates: #976
2023-11-27 12:51:38 +01:00
Oliver Klee
afd6a00b1a
[TASK] Output the job name in the GitLab CI builds (#1013)
Some GitLab jobs seem to run commands that do not belong in the
the corresponding job.

This change outputs the job name in CI in order to help us track
this down.

Related: #976
2023-11-27 12:43:26 +01:00
Oliver Klee
a281a7355f
[TASK] Bump the TYPO3 12 dependency from ^12.3 to ^12.4 (#822)
TYPO3 12.4 AKA 12LTS has been released.
2023-04-25 10:01:54 +02:00
0e85116d75
[TASK] Remove phpcpd (PHP Copy/Paste Detector) (#800)
The project got archived and is not maintained anymore.

Resolves: #796
2023-04-06 16:26:51 +02:00
Chris Müller
959d2ab2f9
[FEATURE] Support PHP 8.2 (#787) 2023-04-02 12:53:33 +02:00
Oliver Klee
10ba55414e
[TASK] Bump the TYPO3 12 version from 12.2 to 12.3 (#782)
Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com>
2023-04-01 16:09:44 +00:00
Łukasz Uznański
f814042f8b
[FEATURE] Add check for PSR-4 namespace correctness (#740) 2023-02-22 18:46:08 +01:00
Łukasz Uznański
7cd09a3b52
Upgrade to TYPO3 v12.2 (#746) 2023-02-08 17:26:08 +01:00
Oliver Klee
5f9fa25339
[TASK] Set the minimal 12LTS version to 12.1 (#702)
TYPO3 12.1 has been released. So the 12.0 sprint release is no longer
relevant.
2022-12-26 07:06:50 +01:00
Oliver Klee
1d9c79a439
[FEATURE] Run the functional tests on TYPO3 12 as well (#615)
Fixes #519
Closes #528

Co-authored-by: lina.wolf <lwolf@w-commerce.de>
2022-10-19 19:12:47 +02:00
Oliver Klee
43e4829255
[FEATURE] Run the unit tests on TYPO3 12 on CI (#653)
Co-authored-by: lina.wolf <lwolf@w-commerce.de>
2022-10-19 16:04:38 +02:00
Łukasz Uznański
9f1c0687b4
[TASK] Add lowest and highest dependencies to gitlab ci (#655)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2022-10-19 15:12:07 +02:00
Łukasz Uznański
aaa4158b09
[FEATURE] Add unit tests for v11 to gitlab ci (#607)
Fixes #590
Fixes #605

Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2022-10-05 15:52:28 +02:00
Łukasz Uznański
813c162421
Fix typo in functional tests needs in gitlab (#606) 2022-10-05 15:46:13 +02:00
Łukasz Uznański
000fd583a8
Add functional tests for v11 for gitlab (#604)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2022-10-05 14:16:15 +02:00
Lina Wolf
672194fba8
[TASK] Drop TYPO3 10LTS support (#594)
Fixes #589

Co-authored-by: lina.wolf <lwolf@w-commerce.de>
2022-09-27 16:48:54 +02:00
Łukasz Uznański
9c3e8abd24
Fix pipeline after dropping php support (#595)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2022-09-26 19:40:07 +02:00
Oliver Klee
14c804b209
[TASK] Drop support for PHP 7.2 and 7.3 (#581)
Also sync the test matrices of the `predefined` CI jobs with those
from the Composer-script-driven CI jobs.

This change does not add any 7.4-only PHP language features.

Fixes #577
2022-09-22 11:49:45 +02:00
Oliver Klee
e8da69e4fa
[TASK] Stop using the typo3/minimal package on CI (#531)
The `typo3/minimal` package is not maintained very much, and currently
cannot be used as a requirement to install the latest TYPO3 development
version (as it still depends on `dev-master`, not on `dev-main`).

In addition, not depending on it will allow us to find any missing
dependencies in our requirements that so far have been masked by
the `typo3/minimal` dependencies.

(This is the same as #520, but for GitLab CI.)
2022-08-28 20:17:31 +02:00
Łukasz Uznański
53009a44ff
[BUGFIX] Fix GitLab CI pipeline (#478)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2022-07-13 13:14:52 +02:00
jpmschuler
518bae014e
[TASK] Move npm tools and config to default places (#445)
- Move npm tools and config to default places
- Remove now unnecessary config file parameter from npm scripts
- editorconfig and eslint config contradict, adapt editorconfig
- switch JS indent linting to TYPO3 coding standard of 2 spaces
- adapt composer scripts for new npm location
2022-05-18 17:17:45 +02:00
Oliver Klee
8204165d9c
[BUGFIX] Do not cache the .Build directory in GitLab CI (#432)
We must not cache this directory. If it is cached, this might cause
Composer to (re-)install dependency version that are not valid for
the current PHP version, which possibly might break the build.
2022-04-14 18:09:32 +02:00
Łukasz Uznański
9e00038119
[FEATURE] Enable php8.1 (#381) 2022-02-23 14:38:20 +01:00
Łukasz Uznański
9a870876b3
[TASK] Drop v9 support in gitlab ci (#380)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.pl>
2022-02-11 21:12:54 +01:00
Tobias Gaertner
c818970d6e
install and use wait-for-it for functional tests (#373)
It might happen, when starting the fuctional test that the database service container is not ready yet. 

This patch provides an extra timeout to wait for the service to make sure the test does not fail because of missing database.
2022-02-01 13:14:00 +01:00
Łukasz Uznański
f49a8bcae3
[TASK] Add php8 compatibility (#311)
Resolves: #287

Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2021-09-23 10:50:10 +02:00
Łukasz Uznański
04d8ffed31
[CLEANUP] Split GitLab jobs (#273) 2021-08-24 10:27:50 +02:00