This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git
The following commit(s) were added to refs/heads/main by this push:
new 120e41083 fix: add redis for nextcloud to solve file locking problem
(#2805)
120e41083 is described below
commit 120e410839f43b92766c0bfb0b7644edb3e1e750
Author: Liuqing Yue <[email protected]>
AuthorDate: Mon Aug 7 18:07:02 2023 +0800
fix: add redis for nextcloud to solve file locking problem (#2805)
fix: add redis for nextcloud
Signed-off-by: Liuqing Yue <[email protected]>
---
.github/workflows/service_test_webdav.yml | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/service_test_webdav.yml
b/.github/workflows/service_test_webdav.yml
index 2f96ea2c0..7f0467d24 100644
--- a/.github/workflows/service_test_webdav.yml
+++ b/.github/workflows/service_test_webdav.yml
@@ -168,7 +168,20 @@ jobs:
SQLITE_DATABASE: nextcloud
NEXTCLOUD_ADMIN_USER: admin
NEXTCLOUD_ADMIN_PASSWORD: admin
- options: --health-cmd="curl -f http://localhost" --health-interval=10s
--health-timeout=5s --health-retries=5
+ REDIS_HOST: redis
+ options: >-
+ --health-cmd="curl -f http://localhost"
+ --health-interval=10s
+ --health-timeout=5s
+ --health-retries=5
+
+ redis:
+ image: redis
+ options: >-
+ --health-cmd "redis-cli ping"
+ --health-interval 10s
+ --health-timeout 5s
+ --health-retries 5
steps:
- uses: actions/checkout@v3
@@ -210,7 +223,6 @@ jobs:
--health-timeout 5s
--health-retries 5
-
redis:
image: redis
options: >-