Commit Graph

173 Commits

Author SHA1 Message Date
Robert Deutz 14746b7f85
[4.4] Pin version MySql Version in Tests to 8.0 (#43420) 2024-05-05 15:25:37 +02:00
Hannes Papenberg 6966a8c78d
Drone: Switching to key authentication for artifacts (#43236) 2024-04-09 09:59:21 +02:00
Hannes Papenberg 8d78c6bada
Drone: Fix artifacts upload for 4.4-dev (#43033) 2024-03-15 08:35:45 +01:00
Allon Moritz 6fc05f7d92
Update the signature for #42545 (#42552) 2023-12-20 14:51:53 +01:00
Christian Heel d8648aad4d
[4.x] add php 8.3 to tests (#42545) 2023-12-20 14:41:40 +01:00
Dimitris Grammatikogiannis 584d7b00b4
[4.4] Node 20 (#42331)
* Node 20

Signed-off-by: Dimitris Grammatikogiannis <dg@dgrammatiko.dev>

* Update build.js

* sign drone config

---------

Signed-off-by: Dimitris Grammatikogiannis <dg@dgrammatiko.dev>
Co-authored-by: Richard Fath <richard67@users.noreply.github.com>
2023-11-11 16:20:30 +01:00
Hannes Papenberg d09813d1e0
Drone: Renaming build script (#42274) 2023-11-03 11:46:42 +01:00
Hannes Papenberg f4efddb7cd
[4.4] Fixing drone packager upload (#42247)
* Fixing drone package upload

* Adding notification for nightly builds to mattermost

* Further fixes

* Fixing name
2023-10-30 10:03:00 +01:00
Dimitris Grammatikogiannis f19d92c96b
Bump node version (#41699)
* Update package.json

* Update .drone.yml

* Update package-lock.json

* changing signature

* Update package-lock.json

* Update package.json

* Reset the indantation to 2 spaces
2023-09-11 21:05:08 +02:00
Allon Moritz d0ddb9bea9
Enable PHP 8.2 unit tests (#41013) 2023-06-22 17:33:38 +02:00
Allon Moritz e3a9ef2896
Set a higher timeout for cypress verification (#40223)
* Set a higher timeout for cypress verification

* debug

* map

* simpler commands

* wrong
2023-03-29 08:58:42 +02:00
Allon Moritz 7611824c5c
Move API system tests to cypress (#40135)
* tests

* api

* artiucles crud

* banners

* contact

* media

* media

* Remove codeception

* cs

* more traces of codeception

* readd certs

* dependencies

* more deps

* secret

* cs

* better doc

* write

* config workaround

* cs

* revert

* prepare db for api tests

* variable

* revert pool

* end connections

* no limit

* cs

* prefix

* Update tests/cypress/drone-system-run.sh

* run specific specs in drone

* Update tests/README.md

Co-authored-by: Brian Teeman <brian@teeman.net>

* Update tests/cypress/integration/api/com_media/Files.cy.js

Co-authored-by: Brian Teeman <brian@teeman.net>

* Update tests/cypress/integration/api/com_media/Files.cy.js

Co-authored-by: Brian Teeman <brian@teeman.net>

* postgres

* media on postgres

* sign

* cs

* remove more traces

* basic api tests

* cleanup

* path

* run recursive specs

* chmod images folder

* path to cms

* correct dependencies and better cleanup

* cleaner deps

* Update tests/cypress/drone-system-run.sh

Co-authored-by: Brian Teeman <brian@teeman.net>

* missing fields

* stabilize cleanup

* cs

* secret in install test

* order of tests

* optimize cleanup

* cs

* cache the connection

* revert connection cache

* docs

* Rename cypress to system

* lint

* simplification and docs

* docs

* better cleanup

* move

* merge conflict

* remove redundant connect

---------

Co-authored-by: Brian Teeman <brian@teeman.net>
2023-03-20 09:51:42 +01:00
Hannes Papenberg bcf7547cc3
Fix packager for 4.4-dev (#40132) 2023-03-16 13:09:43 +01:00
Allon Moritz a9048d900c
Add more information to CS fixer when failed (#39905)
* Add more information to CS fixer when failed

* test wrong cs, will be reverted once checked

* Revert "test wrong cs, will be reverted once checked"

This reverts commit f4214c45bd.

* key

* full key
2023-02-22 12:40:55 +01:00
Astrid 58fb6ec889
Rename cypress.config.js so that it can be included in the .gitignore file. (#39722)
* wip

* wip

* Signing .drone.yml

---------
2023-02-02 11:32:13 +01:00
Hannes Papenberg 7e62923743
Signing drone (#39757) 2023-01-31 14:51:40 +01:00
Allon Moritz 0629357c04
Use PHP 8 for drone setup tasks (#39754)
* Use PHP 8 for drone setup tasks

* 8.1
2023-01-31 13:56:40 +01:00
Harald Leithner f9571a6922
Sign drone 2023-01-31 11:21:20 +01:00
Allon Moritz 1e7527b60e
Fixes various code style issues and integrate PHP CS Fixer into drone (#39745)
* Integrate PHP CS Fixer into drone

* Fix code base

* more verbose

* Ignore psr12 scripts

* Test

* revert

* Ignore also rebase script

* Align array and variable declarations

* Merges

* Fix the no break comment starting with upper case

* Fix alignment in arrays

* Article controller alignment
2023-01-31 11:20:05 +01:00
Hannes Papenberg fe7f0080a4
Revert "[4.3] Drone: Fixing nightly build notification" (#39099) 2022-10-28 23:36:51 +02:00
Hannes Papenberg fadc41a9a2
[4.3] Drone: Fixing nightly build notification (#39098) 2022-10-28 23:02:28 +02:00
Hannes Papenberg 91a9957fe9
Drone: Converting failure script to rclone (#39090) 2022-10-28 22:26:12 +02:00
Hannes Papenberg d859932d51
Drone: Adding curl to image in case of failure (#39089) 2022-10-28 09:52:28 +02:00
Hannes Papenberg 5838613b10
Drone: Posting link to artifacts as status message in PR (#39044) 2022-10-23 12:49:26 +02:00
Hannes Papenberg 08bc1db147
Drone: Changing order of steps (#39040) 2022-10-23 10:44:08 +02:00
Harald Leithner e494ea0682
Move openldap in drone to services (#39041) 2022-10-23 10:24:52 +02:00
Hannes Papenberg 6f6d110c05
Optimizing cypress/drone setup (#39019)
* Optimizing cypress/drone setup

* Fix

* More fix

* Updating joomla-cypress to 0.0.16

* Updating cypress to 10.10.0

* Cleaning up drone

* Fixing drone.yml

* Cypress: Catch uncaught exceptions
2022-10-22 13:59:27 +02:00
Hannes Papenberg aea93957ae
Never run more than 2 system/api tests at once (#39015)
Co-authored-by: Allon Moritz <allon.moritz@digital-peak.com>
2022-10-21 17:52:39 +02:00
Hannes Papenberg f340734748
[4.3] Add a CLI installation for Joomla (#38325)
* Initial code for a CLI installation

* First PoC

* Lots of cleanup

* Finalising CLI installer

* Deleting install folder after installation

* Codestyle

* Fixing path of API test install

* Update installation/INSTALL

Co-authored-by: Brian Teeman <brian@teeman.net>

* Codestyle

* Docblocks

* Wording

* Fixing db prefix for API tests

* Fixing Postgres API tests

* Further fixes to API tests

* Some cleanup

* Fixing API tests one last time

* Docblock formatting

* Resorting fields

* Improving progress indicator messages

* Disable remote DB check for CLI installation

* Fixing check

* Introducing _JCLI_INSTALLATION constant for DB check

* Hiding password entries on CLI

* hide admin psw

* show db_prefix

show db_prefix in interacting mode too

* Adding check for configuration.php present

* Allowing for empty db password

* Deleting installation folder only when not in dev mode

* Codestyle

* Converting strings to ini file

* Update installation/language/en-GB/joomla.cli.ini

Co-authored-by: Brian Teeman <brian@teeman.net>

* Update installation/src/Console/InstallCommand.php

Co-authored-by: Brian Teeman <brian@teeman.net>

* Update installation/src/Console/InstallCommand.php

Co-authored-by: Brian Teeman <brian@teeman.net>

* Update installation/src/Console/InstallCommand.php

Co-authored-by: Brian Teeman <brian@teeman.net>

* Update installation/src/Console/InstallCommand.php

Co-authored-by: Brian Teeman <brian@teeman.net>

* Update installation/src/Console/InstallCommand.php

Co-authored-by: Brian Teeman <brian@teeman.net>

* Update installation/language/en-GB/joomla.cli.ini

Co-authored-by: Brian Teeman <brian@teeman.net>

* Update installation/language/en-GB/joomla.cli.ini

Co-authored-by: Brian Teeman <brian@teeman.net>

* Update installation/language/en-GB/joomla.cli.ini

Co-authored-by: Brian Teeman <brian@teeman.net>

* Update installation/language/en-GB/joomla.cli.ini

Co-authored-by: Brian Teeman <brian@teeman.net>

* Update installation/language/en-GB/joomla.cli.ini

Co-authored-by: Brian Teeman <brian@teeman.net>

* Update installation/language/en-GB/joomla.cli.ini

Co-authored-by: Brian Teeman <brian@teeman.net>

* Update installation/INSTALL

Co-authored-by: Brian Teeman <brian@teeman.net>

* Further bugfixes

* Cleaning up available RDBMS options

* Catching error when connecting to database

* Removing false db type

* Fixing case of attribute

* Removing unnecessary methods from CliInstallationApplication

* Fixing string

* Sorting translation strings for CLI and adding shortened error message

* Fixing docblocks and use statement

* Adding Allons suggestions

* Fixing use statements

* Using language object from app

* Remove unnecessary method

* Fixing language object

* Removing . at the end of sentences since they are followed by a : anyway

* Use - instead of _ in the parameters

* Fixing api tests

Co-authored-by: Brian Teeman <brian@teeman.net>
Co-authored-by: Nicola Galgano <optimus4joomla@gmail.com>
Co-authored-by: Allon Moritz <allon.moritz@digital-peak.com>
2022-10-21 16:26:07 +02:00
Hannes Papenberg b4b0f928cf
[4.3] Adding phan static code analyser (#39002)
* Adding phan static code analyser

* Adding phan configuration files

* Codestyle

* Adding php-ast extension

* Trying different way to install php-ast

* Using our own php7.4-ast docker image

* Removing unnecessary line
2022-10-21 12:19:30 +02:00
Dimitris Grammatikogiannis 4dbd41f6c2
[4.3] NPM build tools cleanup/Perf fixes (#38663)
* Update Drone signature

Co-authored-by: Harald Leithner <leithner@itronic.at>
2022-10-21 10:46:20 +02:00
tatankat 8a87326f65
Add ldap tests (#38593) 2022-09-15 16:06:40 +02:00
Hannes Papenberg 2aef1693f6
[4.3] Switching from Codeception to Cypress for tests (#38422) 2022-08-24 21:30:50 +02:00
Hannes Papenberg dddf7c72e6
Enabling packaging for 4.3-dev in drone (#38331) 2022-07-26 22:49:58 +02:00
Harald Leithner 6a01d923b4 PSR12 2022-06-27 20:22:40 +02:00
George Wilson 54ed9907d0
Skip Session Manager tests on PHP 8.1 as old version of PHPUnit (#38133)
* Skip Session Manager tests on PHP 8.1 as old version of PHPUnit

* Ensure various tests are no longer allowed to fail

* Update signature

* Update tests/Unit/Libraries/Cms/Session/SessionManagerTest.php

Co-authored-by: Harald Leithner <leithner@itronic.at>
2022-06-24 13:05:29 +02:00
Hannes Papenberg 93837494ab
[4.2] Reducing filtering for nightly builds (#37892) 2022-05-25 12:47:56 +02:00
Hannes Papenberg f53b1bf525
[4.2] Switching nightly builds from Jenkins to Drone (#37775) 2022-05-25 09:32:45 +02:00
Hannes Papenberg 8b66b8a64a
[4.2] Improving parallelization of Drone jobs (#37865)
* Adding PHP8.2 to drone setup and enforcing PHP 8.1 compliance

* Executing all system tests in parallel

* Extending wait time for selenium to 10 seconds

* Wait for selenium to be ready

* Update tests/Codeception/drone-api-run.sh

* Update tests/Codeception/drone-api-run.sh

* Update tests/Codeception/drone-system-run.sh

* Update tests/Codeception/drone-system-run.sh

* Reducing parallel load on Drone

* Cludge to change output path

* Signing drone.yml

* Why doesn't sed work with this?

* Another attempt with sed

* More fixes

* Reducing load further

* Execute all System tests after the API tests

* Don't execute more than 4 system tests at a time

* Commenting out the PHP8.2 tests for now

* Fixing dependencies

Co-authored-by: Harald Leithner <leithner@itronic.at>
2022-05-23 19:14:18 +02:00
Hannes Papenberg 3da674c353
[4.2] Drone: Parallelizing tasks (#37831)
merge on code review
2022-05-23 11:40:26 +02:00
Roland Dalmulder cc14bace65
Updated drone hmac
Signed-off-by: Roland Dalmulder <contact@rolandd.com>
2022-05-18 19:25:05 +02:00
Roland Dalmulder ac2b317a32
Merge branch '4.1-dev' into 4.2-dev
# Conflicts:
#	.drone.yml
#	installation/language/af-ZA/langmetadata.xml
#	installation/language/bg-BG/langmetadata.xml
#	installation/language/ca-ES/langmetadata.xml
#	installation/language/en-CA/langmetadata.xml
#	installation/language/en-NZ/langmetadata.xml
#	installation/language/fa-AF/langmetadata.xml
#	installation/language/fi-FI/langmetadata.xml
#	installation/language/he-IL/langmetadata.xml
#	installation/language/lv-LV/langmetadata.xml
#	installation/language/zh-CN/langmetadata.xml
2022-05-18 19:24:01 +02:00
Dimitris Grammatikogiannis 0fd479e665
Node 12 reached EOL (#37757)
* Node 12 reached EOL

* Update .drone.yml

* Update README.md

* Update .drone.yml
2022-05-18 18:47:58 +02:00
Hannes Papenberg c1a079c9ad
Signing .drone.yml (#37525) 2022-04-09 17:09:59 +02:00
Roland Dalmulder 018b1690af
Merge branch '4.1-dev' into 4.2-dev
# Conflicts:
#	.drone.yml
2022-04-09 15:24:54 +02:00
Hannes Papenberg 4c31b88a2c
Updating composer to version 2 (#37515) 2022-04-08 14:53:17 +02:00
Harald Leithner 33d80d2ace
Temporary remove php 8.1 test 2022-01-24 11:10:45 +01:00
Harald Leithner aeccb85424 Update package branch 2022-01-23 12:03:11 +01:00
Benjamin Trenkle 92d7cf3eb8
Merge branch '4.0-dev' of github.com:joomla/joomla-cms into HEAD
# Conflicts:
#	.drone.yml
#	administrator/language/en-GB/install.xml
#	administrator/language/en-GB/langmetadata.xml
#	administrator/manifests/files/joomla.xml
#	administrator/manifests/packages/pkg_en-GB.xml
#	api/components/com_categories/src/Controller/CategoriesController.php
#	api/language/en-GB/install.xml
#	api/language/en-GB/langmetadata.xml
#	composer.lock
#	installation/language/en-GB/langmetadata.xml
#	language/en-GB/install.xml
#	language/en-GB/langmetadata.xml
#	layouts/joomla/content/category_default.php
#	libraries/src/Application/ConsoleApplication.php
#	libraries/src/Version.php
#	tests/Codeception/acceptance/administrator/components/com_media/MediaListCest.php
2022-01-16 03:26:30 +01:00
Harald Leithner 50685f9147 Sign drone.yml 2022-01-10 22:45:33 +01:00