[tests-only] [full-ci] Run some CI pipelines with Ubuntu 22 - #40747
Merged
Conversation
11 tasks
phil-davis
force-pushed
the
ci-ubuntu22
branch
2 times, most recently
from
April 19, 2023 08:29
0f178ba to
2acede2
Compare
|
Kudos, SonarCloud Quality Gate passed! |
DeepDiver1975
added a commit
that referenced
this pull request
Mar 9, 2026
* feat: php 8.2 * fix: param declarations and deprecations * chore: move adjustments * ci: adjust .drone.star format * feat: fix phpstan & phan * fix: style & phan * fix: add oc version back to DefinitionParameter::jsonSerialize * fix: more php8.x deprecations * fix: more php8.x deprecations * fix: preview generation * fix: more fixes .... * fix: ShareTest and MemcacheLockingProvider * fix: drop ext-apc - this is unused for decades * fix: cache tests + usage of TestCase::getUniqueID() * fix: dynamic properties * feat: move php version check to base.php * fix: installation on MySql * fix: MigratorTest for MySQL * chore: write log messagen an exception to error_log in case of exception during Log::writeExtra * fix: Share20OcsController * fix: Dispatcher/DispatcherTest * fix: Http and tests * fix: more deprcations ... * fix: UserControllerTest * fix: owncloud log command tests * fix: more deprecation warnings * chore: 💤 * chore: migrate to symfony/mailer chore: remove email config `mail_smtpauthtype` - this is now auto detected fix: Mailer::send will always thrown an exception in case of errors during delivery * fix: mail logger method signature * fix: make OC_image::loadFromBase64 public again * feat: php 8.3 * fix: Query::jsonSerialize() return type * Revert "Merge pull request #40747 from owncloud/ci-ubuntu22" This reverts commit 605037a, reversing changes made to e9cb5fd. * fix: php 8.3 is min version * fix: QueryLogger::getMicrotime() returns int * fix: MySQLPlatform casing and MapperTest * fix: composer update + remove roave/security-advisories for the time being - firebase/php-jwt requires major update * ci: use php 8.3 in GH workflows as well * fix: SVG preview generation * fix: Office preview generation + fixing CryptoSessionDataTest * fix: deprecations in ViewTest * fix: mysql setup * ci: use owncloudci/core:83 image for federation tests * fix: Request::getParams() * feat: update firebase/php-jwt 7+ (#41473) * chore(deps): firebase/php-jwt google/apiclient and symfony/* * fix: adjust symfony run to make it compatible * fix: adjust function declaration to be compatible * fix: adjust functions for compatibility * fix: help phan with the missing helper types * fix: replace maps to callbacks in tests to fix return types * fix: wrong tablenode in acceptance tests * fix: replace deprecated "application->add" with "addCommand" * fix: add null type to the failing system config set test * fix: add default empty value to the list group command * ci: use correct docker image owncloudci/core:php83 * ci: use different docker core images for different code versions as running the federated server * ci: fix federated server setup * ci: fix federated server setup * test: fix str_replace in WenUISharingContext::thePublicAccessesTheLastCreatedPublicLinkUsingTheWebUI() * test: ignore failing test ApiTest::testShareStorageMountPoint() under Oracle * fix: change wrong test expectation for previews * ci: disable code coverage due to issues with the cache * test: skip preview test issue 41480 * fix: federation ci (#41481) * chore(ci): use PHP 8.3 for federated server installed from git For the test configuration where we use a federated server that is running the same code as the code in this PR, we need to use PHP 8.3. Other federated server configurations test against existing releases of oC10, and for those we need to use PHP 7.4 * chore(ci): fixup setting of federated PHP version Decide the PHP version needed for the federated server once and pass it to the drone starlark functions that need it. --------- Co-authored-by: Phil Davis <phil@jankaritech.com> Co-authored-by: Juan Pablo Villafañez <jpvillafanez@izertis.com> Co-authored-by: Juan Pablo Villafáñez <jvillafanez@solidgeargroup.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.








Description
We support oC10.12 with PHP 7.4 running on Ubuntu 20.04 or 22.04. We have been running all the tests (unit, litmus, acceptance...) with Ubuntu 20.04. We also want to know that there are not regressions when running on Ubuntu 22.04. There is an
owncloud-ci/phpdocker image that is based on Ubuntu 22.04 with the necessary things done to install PHP 7.4 (rather than PHP 8), and to set up openssl so that legacy encryption methods are enabled. These are the things that also have to be done ona production Ubuntu 22.04 system to run oC10.12.
This PR adds some test pipelines to CI that run on Ubuntu 22.04:
I think that is enough test pipelines to run to help notice any regressions due to the Ubuntu 22.04 settings.
How Has This Been Tested?
CI
Types of changes
Checklist: