Commit Graph
73 Commits
Author SHA1 Message Date
Viktor Scharf c77ba9ce0f test: commit the composer.lock files of the PHP test dependencies (#4198)
* test: commit the composer.lock files of the PHP test dependencies

The PHP dependencies of the acceptance tests were installed without lock
files: .gitignore excluded them, and the Makefile deleted a lock file
whenever its composer.json changed. So every run resolved the newest
versions allowed by the composer.json files, and the tests depended on
whatever was released upstream that day.

Commit the lock files of the root, vendor-bin/behat and
vendor-bin/opencloud-codestyle, and install exactly what they pin.
Before installing, `composer validate` fails if a composer.json was
changed without updating its lock file.

The vendor-bin namespaces don't inherit config.platform of the root
composer.json, so they now set it themselves, to PHP 8.4.1 like the CI
images (PHPUnit 13.3 needs at least 8.4.1). The lock files no longer
depend on the PHP version of whoever updates them.

Dependabot now updates the lock files weekly.

Fixes #4190

Assisted-by: Claude Code:claude-opus-5-5

* test: don't chmod the composer.lock files after the docker test run

The lock files are committed now and the container no longer creates
them, so there is no need to make them writable for everyone. The
chmod 777 set their executable bit, which git reports as a mode change
of the committed files.

Assisted-by: Claude Code:claude-opus-5-5
2026-12-04 08:32:24 +01:00
Dominik Schmidt 299586bf7d ci: activate Tika's thumbnail preset wherever Tika runs
PUT /unpack/preset/thumbnail answers 404 unless the thumbnail catalog preset is
active, and the thumbnailer then finds no thumbnail for any document.
TIKA_PRESETS=thumbnail activates it and needs Tika 4.2.0, so the acceptance
stack and the example deployment follow the snapshot image until the release is
out. The deployment also reads the shared OC_TIKA_URL so the thumbnailer uses
the Tika that is already there.
2026-11-27 16:38:01 +01:00
Viktor Scharf 1a9ae68995 tests: use mailpit instead of inbucket as the email server (#4138)
The local dev setup of web switched from inbucket to mailpit
(opencloud-eu/web#4059). Use mailpit for the acceptance tests too, in the
CI, the docker setup and the README, so that one mail catcher is used
everywhere.

The tests now read and delete the emails through the API of mailpit
(port 8025), and the server sends them via SMTP to port 1025. mailpit's
search also matches parts of addresses, so EmailHelper narrows the results
down to the mailbox (the local part of the address), as inbucket did.

Assisted-by: Claude Code:claude-opus-5-5
2026-11-26 17:26:47 +01:00
Dominik Schmidt 2282082349 test(search): run acceptance and CI against the released tika 4.1.0 2026-10-03 11:12:18 +02:00
Alex Ababii 5a7afe0bf6 Merge pull request #3348 from opencloud-eu/fix/posix_cli_commands
fix: posix cli commands
2026-09-01 14:07:17 +02:00
Alex Ababii a2d5ee2bc6 fix revisions purge cli command for posix 2026-09-01 10:03:34 +02:00
Alex Ababii 7aa5b467f6 cli: fix for cleanup call 2026-09-01 10:03:34 +02:00
Dominik Schmidt 77bb974f9b test(search): run acceptance and CI against the released tika 4.0.0
Both tika pins (local compose and the CI service) point at apache/tika:4.0.0-full; the search README links tika version-less.
2026-09-01 09:09:55 +02:00
Pascal Bleser f88765ed7f fix(acceptance): fix running acceptance tests against host on Linux (#3358)
Add an entry host.docker.internal -> host-gateway entry to the
acceptable tests container in tests/acceptance/docker/src/acceptance.yml
in order to be able to run them against an opencloud server running on
the host on Linux as well.

Reference: https://www.baeldung.com/ops/docker-compose-add-host
2026-08-20 10:56:24 +02:00
Sawjan Gurung b40c3f068c test: remove accountHashDifficulty test suite (#2190)
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2026-01-21 14:07:01 +05:45
Sawjan GurungandViktor Scharf 601ebc0f0f [full-ci] test: use single command to run the containers and the API tests (#2169)
* test: setup for running wopi API tests locally

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* chore: remove unnecessary target

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: merge test run commands

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: merge local and core expected failures

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: remove unnecessary commands and files

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: add help command

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* docs(test): update testing docs as per the new changes

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: remove duplicate expected failure list

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* tset: fix term colors in run script

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* docs(test): update readme docs

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: beautify logs

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* change run-test.sh

* test: expose more test envs

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* docs(test): update docs

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

---------

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
Co-authored-by: Viktor Scharf <v.scharf@opencloud.eu>
2026-01-20 16:44:04 +05:45
Sawjan GurungandViktor Scharf e86e95db24 [tests-only] test: setup for running wopi API tests locally (#2139)
* test: setup for running wopi API tests locally

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* docs: add docs to run wopi API tests

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* chore: remove unnecessary target

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: export compose file env

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* docs(test): use posix examples

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* adapt for macos

---------

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
Co-authored-by: Viktor Scharf <v.scharf@opencloud.eu>
2026-01-19 10:53:45 +05:45
Viktor Scharf e33ff722f7 run wopi-validator tests localy (#2151) 2026-01-15 12:22:04 +01:00
Viktor Scharf 6e7538a834 replace CI images 2026-01-09 11:42:43 +01:00
Viktor Scharf aa2ff8bdc6 update tika version 2025-11-18 17:37:46 +01:00
Viktor Scharf 5751d1e2a0 [decomposed] use Alpine for opencloud starting (#1547)
* use Alpine for opencloud starting

* Update opencloud.Dockerfile

* fix
2025-09-24 14:31:05 +02:00
Viktor Scharf 308f801f03 collaborative posix test (#672)
* collaborative posix test

* fix after review
2025-05-05 10:21:11 +02:00
Viktor Scharf 1d0fcfbca4 fix local setup 2025-03-19 18:10:23 +01:00
Artur Neumann 9e80334e8d Merge pull request #360 from opencloud-eu/runE2EInCI
Run E2E tests in CI
2025-03-13 19:08:45 +05:45
Viktor Scharf 5638652016 fix test with password banned list 2025-02-28 15:53:35 +01:00
Jörn Friedrich Dreyer 2225b1039f use correct docker hub orga
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-02-27 11:33:53 +01:00
Jörn Friedrich Dreyer 350398bf61 allow running api tests with posix
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-02-27 11:31:00 +01:00
Jörn Friedrich Dreyer 74b6078158 bump reva, change decomposeds3 drivername
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-02-20 11:07:31 +01:00
Viktor Scharf f6b5a961da clean up tests 2025-02-11 11:27:05 +01:00
Viktor Scharf 9f321f3ab7 set graph available roles by default 2025-02-07 10:54:04 +01:00
Viktor Scharf 8db7e7c799 adapt script for running tests 2025-01-31 16:15:30 +01:00
Jörn Friedrich Dreyer 8ac250952f url fixes, more decisions
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-29 16:49:39 +01:00
Jörn Friedrich Dreyer 3900a08049 Merge pull request #118 from opencloud-eu/switch-to-decomposed-decomposed-s3
Switch from ocis/s3ng to decomposed/decomposed_s3 storage drivers
2025-01-27 16:43:40 +01:00
Jörn Friedrich Dreyer 9817295630 fix docker complaining about case ...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-27 15:38:40 +01:00
Viktor Scharf e98f56002c run all tests 2025-01-24 16:50:47 +01:00
André Duffeck 57fa8eb43c Switch from ocis/s3ng to decomposed/decomposed_s3 storage drivers
ocis/s3ng are still supported for backwards compatibility reasons, but
they need to be configured using the decomposed/decomposed_s3 options.
2025-01-24 11:04:23 +01:00
Viktor Scharf eab4a8e272 run tests in docker fix 2025-01-22 09:03:19 +01:00
Viktor Scharf 9db4693a9e rebranding tests 2025-01-16 17:39:02 +01:00
Jörn Friedrich Dreyer a46fd132bd use OC_ env prefix
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-13 16:11:11 +01:00
Saw-jan 327e6260ff tests: error handling
tests: remove unnecessary logs
2024-11-22 16:01:58 +05:45
Niraj Acharya 415a4b5f56 removing test-acceptance-from-core-api and merging core and api behat config files to use single command to run api tests 2024-09-03 12:08:19 +05:45
Ralf Haferkamp 5b38fa149d settings: Remove deprecated filesystem backend
We changed the default to `metadata` before the 2.0 release. This PR
alos removes the associated `SETTINGS_STORE_TYPE` and
`SETTINGS_DATA_PATH` settings as they are no longer needed with
`metadata` as the only available backend.
2024-05-13 14:50:02 +02:00
Sabin Panta fff20ac8db [tests-only][full-ci] updating given step for sharing and env in docs for starting email service (#9081)
* updating given step for sharing and env in docs for starting email service

* addressing review

* fixing the given steps of sharing
2024-05-09 12:25:57 +05:45
Sabin Panta e861512f15 updated php version to 8.2 (#8903) 2024-04-19 15:17:15 +05:45
Nalem7 d73351af89 [tests-only][full-ci] Make graph api default in test (#8290)
* make graph api default in test

* skip quota test in reva
2024-01-30 17:14:56 +05:45
amrita 0da009d180 Remove TEST_OCIS env 2023-09-29 14:58:42 +05:45
Sagar Gurung b930e0ffec [tests-only][full-ci]Added documentation to run tika service related tests (#7295)
* Added documentation to run tika service related tests

* Added documentation for docker compose as well

* Make tika service run only for tika
2023-09-25 12:49:56 +05:45
Florian Schade f172eb20ab [full-ci] chore: bump web to v8.0.0-alpha.1 (#7198)
* chore: bump web to 8.0.0-alpha.1
2023-09-04 17:31:14 +02:00
Sawjan Gurung 5e4b9baa1c [tests-only][full-ci] Update local test docker-compose setup to allow unicode preview tests (#6940)
* update local test docker-compose setup to allow unicode preview tests

* update docs
2023-08-02 17:14:30 +05:45
Swikriti Tripathi d35a4ac4a6 Use different image of clamav in docker compose (#6588) 2023-06-22 14:08:10 +05:45
Swikriti Tripathi 4f85efee84 [tests-only][full-ci] use tcp for antivirus service in ci (#6573)
* Test antivirus service in ci with different config

* enable other tests and update docker compose files
2023-06-22 09:55:58 +05:45
Swikriti Tripathi cf6610878d Add configuration for antivirus in docker compose for tests 2023-06-09 16:10:32 +05:45
Sawjan Gurung 89d92d7b1d [docs-only] Add email service to the docker-compose setup for tests (#6347)
* add email docker compose for running tests

* update docs to run email tests in docker compose setup

* fix typo
2023-05-19 18:03:55 +05:45
Phil Davis 4874da778c Reword 'allow to' sentences 2023-05-18 09:48:29 +05:45
Sawjan Gurung 14b11f24a6 [tests-only][full-ci] Change wrapper port from 5000 to 5200 (#6321)
* use port 5200 for wrapper API server

* remove binary and ignore the build
2023-05-16 15:40:06 +05:45