replace CI images
This commit is contained in:
+1
-9
@@ -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);
|
||||
|
||||
@@ -1025,7 +1025,7 @@ trait Provisioning {
|
||||
*/
|
||||
public function userHasBeenCreated(
|
||||
array $userData,
|
||||
string $byUser = null
|
||||
?string $byUser = null
|
||||
): void {
|
||||
$userId = null;
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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,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:
|
||||
|
||||
@@ -5,5 +5,5 @@ services:
|
||||
- clamav
|
||||
command: clamav:3310
|
||||
clamav:
|
||||
image: mkodockx/docker-clamav:alpine
|
||||
image: opencloudeu/clamav-ci:latest
|
||||
|
||||
|
||||
Reference in New Issue
Block a user