File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed
Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ name: ScalarDB Cluster Test (dispatch)
33on :
44 workflow_dispatch :
55 inputs :
6+ scalardb_cluster_version :
7+ description : ' ScalarDB Cluster version'
8+ type : string
9+ default : " 3.15.3"
610 time_limit :
711 description : ' Test duration in second'
812 required : true
5357 cluster :
5458 runs-on : ubuntu-latest
5559
60+ env :
61+ SCALARDB_CLUSTER_VERSION : ${{ github.event.inputs.scalardb_cluster_version }}
62+
5663 steps :
5764 - uses : actions/checkout@v4
5865
Original file line number Diff line number Diff line change 2222 com.azure/azure-cosmos
2323 io.grpc/grpc-core
2424 com.scalar-labs/scalardb-rpc]]]}
25- :cluster {:dependencies [[com.scalar-labs/scalardb-cluster-java-client-sdk " 3.15.3 "
25+ :cluster {:dependencies [[com.scalar-labs/scalardb-cluster-java-client-sdk " 4.0.0-SNAPSHOT "
2626 ; ; avoid the netty dependency issue
2727 :exclusions [software.amazon.awssdk/*
2828 com.oracle.database.jdbc/ojdbc8-production
Original file line number Diff line number Diff line change 1010 (:import (java.io File)))
1111
1212(def ^:private ^:const CLUSTER_VALUES_YAML " scalardb-cluster-custom-values.yaml" )
13+ (def ^:private ^:const DEFAULT_SCALARDB_CLUSTER_VERSION " 3.15.3" )
1314(def ^:private ^:const DEFAULT_CHAOS_MESH_VERSION " 2.7.1" )
1415
1516(def ^:private ^:const TIMEOUT_SEC 600 )
8384 :--set " primary.service.type=LoadBalancer" )
8485
8586 ; ; ScalarDB Cluster
86- (let [version (env :scalardb-cluster-version )
87+ (let [version (or (some-> (env :scalardb-cluster-version ) not-empty)
88+ DEFAULT_SCALARDB_CLUSTER_VERSION)
8789 chart-version (->> (c/exec :helm :search
8890 :repo " scalar-labs/scalardb-cluster" :-l )
8991 str/split-lines
You can’t perform that action at this time.
0 commit comments