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 7bea612bd290220ba0820032122c9bfd0f604732 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/ocaml/opendal.opam | 8 +++---- bindings/python/Cargo.toml | 2 ++ 5 files changed, 40 insertions(+), 4 deletions(-) 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/ocaml/opendal.opam b/bindings/ocaml/opendal.opam index 9fe88f9f73..99b84a9ea8 100644 --- a/bindings/ocaml/opendal.opam +++ b/bindings/ocaml/opendal.opam @@ -1,8 +1,8 @@ # This file is generated by dune, edit dune-project instead opam-version: "2.0" -synopsis: "Open Data Access Layer: Access data freely" +synopsis: "Apache OpenDALâ„¢ OCaml Binding" description: - "OpenDAL is a data access layer that allows users to easily and efficiently retrieve data from various storage services in a unified way." + "Apache OpenDALâ„¢ is a data access layer that allows users to easily and efficiently retrieve data from various storage services in a unified way." maintainer: ["OpenDAL Contributors <[email protected]>"] authors: ["OpenDAL Contributors <[email protected]>"] license: "Apache-2.0" @@ -11,8 +11,8 @@ doc: "https://opendal.apache.org/" bug-reports: "https://github.com/apache/opendal/issues" depends: [ "ounit2" {>= "2.2.6" & with-test} - "ocaml" {>= "4.03.0"} - "dune" {>= "1.5"} + "ocaml" {>= "4.10.0" & < "5"} + "dune" {>= "2.1"} "conf-rust" ] build: [ 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"]
