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/opendal.git
The following commit(s) were added to refs/heads/main by this push:
new f9de0d9dcb feat(services/chainsafe): setup test for chainsafe (#4089)
f9de0d9dcb is described below
commit f9de0d9dcb032ae2733bc95e94719abbad9563b7
Author: hoslo <[email protected]>
AuthorDate: Tue Jan 30 12:30:39 2024 +0800
feat(services/chainsafe): setup test for chainsafe (#4089)
---
.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"]