Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
uses: 1Password/load-secrets-action@eb2efd0703da22a93c467f2d1ffbb6826c11e19c # v4.1.1
uses: 1Password/load-secrets-action@70062d7a876d3eb6334754fa26efd2fbd90c32f2 # v5.0.1
with:
export-env: true
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/services/azblob/azure_azblob/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
uses: 1Password/load-secrets-action@eb2efd0703da22a93c467f2d1ffbb6826c11e19c # v4.1.1
uses: 1Password/load-secrets-action@70062d7a876d3eb6334754fa26efd2fbd90c32f2 # v5.0.1
with:
export-env: true
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/services/azdls/azdls/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
uses: 1Password/load-secrets-action@eb2efd0703da22a93c467f2d1ffbb6826c11e19c # v4.1.1
uses: 1Password/load-secrets-action@70062d7a876d3eb6334754fa26efd2fbd90c32f2 # v5.0.1
with:
export-env: true
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/services/azfile/azfile/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
uses: 1Password/load-secrets-action@eb2efd0703da22a93c467f2d1ffbb6826c11e19c # v4.1.1
uses: 1Password/load-secrets-action@70062d7a876d3eb6334754fa26efd2fbd90c32f2 # v5.0.1
with:
export-env: true
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/services/b2/b2/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
uses: 1Password/load-secrets-action@eb2efd0703da22a93c467f2d1ffbb6826c11e19c # v4.1.1
uses: 1Password/load-secrets-action@70062d7a876d3eb6334754fa26efd2fbd90c32f2 # v5.0.1
with:
export-env: true
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/services/cos/cos/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
uses: 1Password/load-secrets-action@eb2efd0703da22a93c467f2d1ffbb6826c11e19c # v4.1.1
uses: 1Password/load-secrets-action@70062d7a876d3eb6334754fa26efd2fbd90c32f2 # v5.0.1
with:
export-env: true
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/services/dropbox/dropbox/disable_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup credentials
uses: 1Password/load-secrets-action@eb2efd0703da22a93c467f2d1ffbb6826c11e19c # v4.1.1
uses: 1Password/load-secrets-action@70062d7a876d3eb6334754fa26efd2fbd90c32f2 # v5.0.1
with:
export-env: true
env:
Expand Down
42 changes: 42 additions & 0 deletions .github/services/etcd/etcd-server-tls/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# 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: etcd-server-tls
description: 'Behavior test for etcd with server-authenticated TLS'

runs:
using: "composite"
steps:
- name: Copy Etcd Certificate Files
shell: bash
working-directory: fixtures
run: |
mkdir -p /tmp/etcd
cp -r "$(pwd)/etcd/"* /tmp/etcd
- name: Setup etcd server TLS
shell: bash
working-directory: fixtures/etcd
run: docker compose -f docker-compose-standalone-server-tls.yml up -d --wait
- name: Setup
shell: bash
run: |
cat << EOF >> "$GITHUB_ENV"
OPENDAL_ETCD_ENDPOINTS=https://127.0.0.1:2379
OPENDAL_ETCD_ROOT=/tmp/opendal
OPENDAL_ETCD_CA_PATH=/tmp/etcd/ca.pem
OPENDAL_ETCD_MAX_DECODING_MESSAGE_SIZE=10485760
EOF
2 changes: 1 addition & 1 deletion .github/services/gcs/gcs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
uses: 1Password/load-secrets-action@eb2efd0703da22a93c467f2d1ffbb6826c11e19c # v4.1.1
uses: 1Password/load-secrets-action@70062d7a876d3eb6334754fa26efd2fbd90c32f2 # v5.0.1
with:
export-env: true
env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
uses: 1Password/load-secrets-action@eb2efd0703da22a93c467f2d1ffbb6826c11e19c # v4.1.1
uses: 1Password/load-secrets-action@70062d7a876d3eb6334754fa26efd2fbd90c32f2 # v5.0.1
with:
export-env: true
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/services/gcs_grpc/gcs_grpc/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
uses: 1Password/load-secrets-action@eb2efd0703da22a93c467f2d1ffbb6826c11e19c # v4.1.1
uses: 1Password/load-secrets-action@70062d7a876d3eb6334754fa26efd2fbd90c32f2 # v5.0.1
with:
export-env: true
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/services/gdrive/gdrive/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
uses: 1Password/load-secrets-action@eb2efd0703da22a93c467f2d1ffbb6826c11e19c # v4.1.1
uses: 1Password/load-secrets-action@70062d7a876d3eb6334754fa26efd2fbd90c32f2 # v5.0.1
with:
export-env: true
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/services/hdfs/hdfs_default_gcs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Load secrets
uses: 1Password/load-secrets-action@eb2efd0703da22a93c467f2d1ffbb6826c11e19c # v4.1.1
uses: 1Password/load-secrets-action@70062d7a876d3eb6334754fa26efd2fbd90c32f2 # v5.0.1
with:
export-env: true
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/services/hf/hf_bucket/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
uses: 1Password/load-secrets-action@eb2efd0703da22a93c467f2d1ffbb6826c11e19c # v4.1.1
uses: 1Password/load-secrets-action@70062d7a876d3eb6334754fa26efd2fbd90c32f2 # v5.0.1
with:
export-env: true
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/services/hf/hf_bucket_http/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
uses: 1Password/load-secrets-action@eb2efd0703da22a93c467f2d1ffbb6826c11e19c # v4.1.1
uses: 1Password/load-secrets-action@70062d7a876d3eb6334754fa26efd2fbd90c32f2 # v5.0.1
with:
export-env: true
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/services/hf/hf_dataset/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
uses: 1Password/load-secrets-action@eb2efd0703da22a93c467f2d1ffbb6826c11e19c # v4.1.1
uses: 1Password/load-secrets-action@70062d7a876d3eb6334754fa26efd2fbd90c32f2 # v5.0.1
with:
export-env: true
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/services/koofr/koofr/disable_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
uses: 1Password/load-secrets-action@eb2efd0703da22a93c467f2d1ffbb6826c11e19c # v4.1.1
uses: 1Password/load-secrets-action@70062d7a876d3eb6334754fa26efd2fbd90c32f2 # v5.0.1
with:
export-env: true
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/services/oss/oss/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
uses: 1Password/load-secrets-action@eb2efd0703da22a93c467f2d1ffbb6826c11e19c # v4.1.1
uses: 1Password/load-secrets-action@70062d7a876d3eb6334754fa26efd2fbd90c32f2 # v5.0.1
with:
export-env: true
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/services/oss/oss_with_versioning/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
uses: 1Password/load-secrets-action@eb2efd0703da22a93c467f2d1ffbb6826c11e19c # v4.1.1
uses: 1Password/load-secrets-action@70062d7a876d3eb6334754fa26efd2fbd90c32f2 # v5.0.1
with:
export-env: true
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/services/s3/aws_s3/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
uses: 1Password/load-secrets-action@eb2efd0703da22a93c467f2d1ffbb6826c11e19c # v4.1.1
uses: 1Password/load-secrets-action@70062d7a876d3eb6334754fa26efd2fbd90c32f2 # v5.0.1
with:
export-env: true
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/services/s3/aws_s3_express/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
uses: 1Password/load-secrets-action@eb2efd0703da22a93c467f2d1ffbb6826c11e19c # v4.1.1
uses: 1Password/load-secrets-action@70062d7a876d3eb6334754fa26efd2fbd90c32f2 # v5.0.1
with:
export-env: true
env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
uses: 1Password/load-secrets-action@eb2efd0703da22a93c467f2d1ffbb6826c11e19c # v4.1.1
uses: 1Password/load-secrets-action@70062d7a876d3eb6334754fa26efd2fbd90c32f2 # v5.0.1
with:
export-env: true
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/services/s3/aws_s3_with_sse_c/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
uses: 1Password/load-secrets-action@eb2efd0703da22a93c467f2d1ffbb6826c11e19c # v4.1.1
uses: 1Password/load-secrets-action@70062d7a876d3eb6334754fa26efd2fbd90c32f2 # v5.0.1
with:
export-env: true
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/services/s3/aws_s3_with_versioning/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
uses: 1Password/load-secrets-action@eb2efd0703da22a93c467f2d1ffbb6826c11e19c # v4.1.1
uses: 1Password/load-secrets-action@70062d7a876d3eb6334754fa26efd2fbd90c32f2 # v5.0.1
with:
export-env: true
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/services/s3/aws_s3_with_virtual_host/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
uses: 1Password/load-secrets-action@eb2efd0703da22a93c467f2d1ffbb6826c11e19c # v4.1.1
uses: 1Password/load-secrets-action@70062d7a876d3eb6334754fa26efd2fbd90c32f2 # v5.0.1
with:
export-env: true
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/services/s3/neon/disabled_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
uses: 1Password/load-secrets-action@eb2efd0703da22a93c467f2d1ffbb6826c11e19c # v4.1.1
uses: 1Password/load-secrets-action@70062d7a876d3eb6334754fa26efd2fbd90c32f2 # v5.0.1
with:
export-env: true
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/services/s3/r2/disabled_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
uses: 1Password/load-secrets-action@eb2efd0703da22a93c467f2d1ffbb6826c11e19c # v4.1.1
uses: 1Password/load-secrets-action@70062d7a876d3eb6334754fa26efd2fbd90c32f2 # v5.0.1
with:
export-env: true
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/services/tos/tos/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ runs:
using: "composite"
steps:
- name: Setup
uses: 1Password/load-secrets-action@eb2efd0703da22a93c467f2d1ffbb6826c11e19c # v4.1.1
uses: 1Password/load-secrets-action@70062d7a876d3eb6334754fa26efd2fbd90c32f2 # v5.0.1
with:
export-env: true
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_bindings_haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ jobs:
# name: bindings-haskell-sdist
# - name: Load secret
# id: op-load-secret
# uses: 1Password/load-secrets-action@eb2efd0703da22a93c467f2d1ffbb6826c11e19c # v4.1.1
# uses: 1Password/load-secrets-action@70062d7a876d3eb6334754fa26efd2fbd90c32f2 # v5.0.1
# with:
# export-env: true
# env:
Expand Down
8 changes: 4 additions & 4 deletions bindings/dotnet/OpenDAL/ServiceConfig/EtcdServiceConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@ namespace OpenDAL.ServiceConfig
public sealed class EtcdServiceConfig : IServiceConfig
{
/// <summary>
/// certificate authority file path default is None
/// PEM certificate authority file used to verify the server. Enables TLS independently of `cert_path` and `key_path`. default is None
/// </summary>
public string? CaPath { get; init; }
/// <summary>
/// cert path default is None
/// PEM client certificate file used for mutual TLS. Must be configured together with `key_path`. default is None
/// </summary>
public string? CertPath { get; init; }
/// <summary>
/// network address of the Etcd services. If use https, must set TLS options: `ca_path`, `cert_path`, `key_path`. e.g. "127.0.0.1:23790,127.0.0.1:23791,127.0.0.1:23792" or "http://127.0.0.1:23790,http://127.0.0.1:23791,http://127.0.0.1:23792" or "https://127.0.0.1:23790,https://127.0.0.1:23791,https://127.0.0.1:23792" default is "http://127.0.0.1:2379"
/// network address of the Etcd services. Use HTTPS endpoints for TLS. Set `ca_path` to trust a custom certificate authority. Client authentication additionally requires both `cert_path` and `key_path`. e.g. "127.0.0.1:23790,127.0.0.1:23791,127.0.0.1:23792" or "http://127.0.0.1:23790,http://127.0.0.1:23791,http://127.0.0.1:23792" or "https://127.0.0.1:23790,https://127.0.0.1:23791,https://127.0.0.1:23792" default is "http://127.0.0.1:2379"
/// </summary>
public string? Endpoints { get; init; }
/// <summary>
/// key path default is None
/// PEM client private key file used for mutual TLS. Must be configured together with `cert_path`. default is None
/// </summary>
public string? KeyPath { get; init; }
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -902,24 +902,28 @@ public Map<String, String> configMap() {
@RequiredArgsConstructor(access = AccessLevel.PRIVATE)
class Etcd implements ServiceConfig {
/**
* <p>certificate authority file path</p>
* <p>PEM certificate authority file used to verify the server.
* Enables TLS independently of <code>cert_path</code> and <code>key_path</code>.</p>
* <p>default is None</p>
*/
public final String caPath;
/**
* <p>cert path</p>
* <p>PEM client certificate file used for mutual TLS.
* Must be configured together with <code>key_path</code>.</p>
* <p>default is None</p>
*/
public final String certPath;
/**
* <p>network address of the Etcd services.
* If use https, must set TLS options: <code>ca_path</code>, <code>cert_path</code>, <code>key_path</code>.
* Use HTTPS endpoints for TLS. Set <code>ca_path</code> to trust a custom certificate authority.
* Client authentication additionally requires both <code>cert_path</code> and <code>key_path</code>.
* e.g. &quot;127.0.0.1:23790,127.0.0.1:23791,127.0.0.1:23792&quot; or &quot;http://127.0.0.1:23790,http://127.0.0.1:23791,http://127.0.0.1:23792&quot; or &quot;https://127.0.0.1:23790,https://127.0.0.1:23791,https://127.0.0.1:23792&quot;</p>
* <p>default is &quot;http://127.0.0.1:2379&quot;</p>
*/
public final String endpoints;
/**
* <p>key path</p>
* <p>PEM client private key file used for mutual TLS.
* Must be configured together with <code>cert_path</code>.</p>
* <p>default is None</p>
*/
public final String keyPath;
Expand Down
Loading
Loading