replace CI images

This commit is contained in:
Viktor Scharf
2026-01-09 11:42:43 +01:00
parent 6082e0c4df
commit 6e7538a834
10 changed files with 55 additions and 59 deletions
+1 -9
View File
@@ -437,18 +437,10 @@ Start ClamAV daemon
#### 2. Setup clamAV With Docker
##### Linux OS user
Run `clamAV` through docker
```bash
docker run -d -p 3310:3310 owncloudci/clamavd
```
##### Mac OS user
```bash
docker run -d -p 3310:3310 -v /your/local/filesystem/path/to/clamav/:/var/lib/clamav mkodockx/docker-clamav:alpine
docker run -d -p 3310:3310 opencloudeu/clamav-ci:latest
```
### Run OpenCloud
@@ -1577,7 +1577,7 @@ class FeatureContext extends BehatVariablesContext {
*
* @return mixed
*/
public function getJsonDecodedResponseBodyContent(ResponseInterface $response = null): mixed {
public function getJsonDecodedResponseBodyContent(?ResponseInterface $response = null): mixed {
$response = $response ?? $this->response;
$response->getBody()->rewind();
return HttpRequestHelper::getJsonDecodedResponseBodyContent($response);
+1 -1
View File
@@ -1025,7 +1025,7 @@ trait Provisioning {
*/
public function userHasBeenCreated(
array $userData,
string $byUser = null
?string $byUser = null
): void {
$userId = null;
+3 -3
View File
@@ -450,7 +450,7 @@ trait Sharing {
string $user,
string $path,
bool $publicUpload = false,
string $sharePassword = null,
?string $sharePassword = null,
$permissions = null,
?string $linkName = null,
?string $expireDate = null
@@ -1207,7 +1207,7 @@ trait Sharing {
*/
public function deleteLastShareUsingSharingApi(
string $user,
string $sharer = null,
?string $sharer = null,
bool $deleteLastPublicLink = false
): ResponseInterface {
$user = $this->getActualUsername($user);
@@ -2672,7 +2672,7 @@ trait Sharing {
* @return ResponseInterface
* @throws GuzzleException
*/
public function expireShare(string $shareId = null): ResponseInterface {
public function expireShare(?string $shareId = null): ResponseInterface {
$adminUser = $this->getAdminUsername();
if ($shareId === null) {
$shareId = $this->getLastCreatedUserGroupShareId();
+2 -2
View File
@@ -1644,7 +1644,7 @@ trait WebDav {
string $user,
string $source,
string $destination,
string $spaceId = null,
?string $spaceId = null,
?bool $isGivenStep = false
): ResponseInterface {
$user = $this->getActualUsername($user);
@@ -4054,7 +4054,7 @@ trait WebDav {
*
* @return string|null
*/
public function getFileIdForPath(string $user, string $path, string $spaceId = null): ?string {
public function getFileIdForPath(string $user, string $path, ?string $spaceId = null): ?string {
$user = $this->getActualUsername($user);
try {
return WebDavHelper::getFileIdForPath(
+1 -1
View File
@@ -1,6 +1,6 @@
services:
acceptance-tests:
image: owncloudci/php:8.2
image: opencloudeu/php-alpine-ci:8.4
working_dir: /woodpecker/src/github.com/opencloud-eu/opencloud
command: /bin/bash /test/run-tests.sh
environment:
+1 -1
View File
@@ -5,5 +5,5 @@ services:
- clamav
command: clamav:3310
clamav:
image: mkodockx/docker-clamav:alpine
image: opencloudeu/clamav-ci:latest