This is an automated email from the ASF dual-hosted git repository.

hoslo pushed a commit to branch chainsafe-test
in repository https://gitbox.apache.org/repos/asf/opendal.git

commit f8e0a59e76accd6cb30590ac290ea31aa87eaaa4
Author: ran <[email protected]>
AuthorDate: Sun Jan 28 22:15:49 2024 +0800

    feat(services/chainsafe): setup test for chainsafe
---
 .github/services/chainsafe/chainsafe/action.yml | 30 +++++++++++++++++++++++++
 bindings/java/Cargo.toml                        |  2 ++
 bindings/nodejs/Cargo.toml                      |  2 ++
 bindings/python/Cargo.toml                      |  2 ++
 4 files changed, 36 insertions(+)

diff --git a/.github/services/chainsafe/chainsafe/action.yml 
b/.github/services/chainsafe/chainsafe/action.yml
new file mode 100644
index 0000000000..09920e8cb8
--- /dev/null
+++ b/.github/services/chainsafe/chainsafe/action.yml
@@ -0,0 +1,30 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+name: chainsafe
+description: 'Behavior test for Chainsafe.'
+
+runs:
+  using: "composite"
+  steps:
+    - name: Setup
+      uses: 1password/load-secrets-action@v1
+      with:
+        export-env: true
+      env:
+        OPENDAL_CHAINSAFE_BUCKET_ID: op://services/chainsafe/bucket_id
+        OPENDAL_CHAINSAFE_API_KEY: op://services/chainsafe/api_key
diff --git a/bindings/java/Cargo.toml b/bindings/java/Cargo.toml
index 9d199342c3..7e38605d88 100644
--- a/bindings/java/Cargo.toml
+++ b/bindings/java/Cargo.toml
@@ -53,6 +53,7 @@ services-all = [
   "default",
 
   "services-cacache",
+  "services-chainsafe",
   "services-dashmap",
   "services-dropbox",
   "services-etcd",
@@ -98,6 +99,7 @@ services-all = [
 services-azblob = ["opendal/services-azblob"]
 services-azdls = ["opendal/services-azdls"]
 services-cos = ["opendal/services-cos"]
+services-chainsafe = ["opendal/services-chainsafe"]
 services-fs = ["opendal/services-fs"]
 services-gcs = ["opendal/services-gcs"]
 services-ghac = ["opendal/services-ghac"]
diff --git a/bindings/nodejs/Cargo.toml b/bindings/nodejs/Cargo.toml
index f9182e3a88..9521e3ba7a 100644
--- a/bindings/nodejs/Cargo.toml
+++ b/bindings/nodejs/Cargo.toml
@@ -52,6 +52,7 @@ services-all = [
   "services-azfile",
   "services-b2",
   "services-cacache",
+  "services-chainsafe",
   "services-dashmap",
   "services-dropbox",
   "services-etcd",
@@ -93,6 +94,7 @@ services-all = [
 services-azblob = ["opendal/services-azblob"]
 services-azdls = ["opendal/services-azdls"]
 services-cos = ["opendal/services-cos"]
+services-chainsafe = ["opendal/services-chainsafe"]
 services-fs = ["opendal/services-fs"]
 services-gcs = ["opendal/services-gcs"]
 services-ghac = ["opendal/services-ghac"]
diff --git a/bindings/python/Cargo.toml b/bindings/python/Cargo.toml
index f2145c8ee5..eb964de02f 100644
--- a/bindings/python/Cargo.toml
+++ b/bindings/python/Cargo.toml
@@ -50,6 +50,7 @@ services-all = [
 
   "services-azfile",
   "services-cacache",
+  "services-chainsafe",
   "services-dashmap",
   "services-dropbox",
   # FIXME this service need protoc
@@ -95,6 +96,7 @@ services-all = [
 services-azblob = ["opendal/services-azblob"]
 services-azdls = ["opendal/services-azdls"]
 services-cos = ["opendal/services-cos"]
+services-chainsafe = ["opendal/services-chainsafe"]
 services-fs = ["opendal/services-fs"]
 services-gcs = ["opendal/services-gcs"]
 services-ghac = ["opendal/services-ghac"]

Reply via email to