Skip to content

Commit

Permalink
fix cluster_name option
Browse files Browse the repository at this point in the history
  • Loading branch information
whhe committed Jun 24, 2024
1 parent 191bb0f commit 1d24cf5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/java-test-oceanbase-ce.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ on:
mode:
required: true
type: string
cluster_name:
required: false
type: string
default: 'obcluster'
port:
required: true
type: string
Expand Down Expand Up @@ -51,6 +55,7 @@ jobs:
image_name: oceanbase-ce
container_name: oceanbase-ce
mode: ${{ inputs.mode }}
cluster_name: ${{ inputs.cluster_name }}
sql_port: ${{ inputs.port }}
sys_root_password: ${{ inputs.sys_password }}
tenant_name: ${{ inputs.test_tenant }}
Expand Down Expand Up @@ -81,7 +86,7 @@ jobs:

- name: Test Docker container
env:
cluster_name: 'github-action'
cluster_name: ${{ inputs.cluster_name }}
host: '127.0.0.1'
port: ${{ inputs.port }}
sys_username: 'root'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-oceanbase-ce.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ jobs:
with:
cache_key: oceanbase-ce
image_file: oceanbase-ce.tar
cluster_name: github-action
mode: mini
port: 1234
sys_password: 1234567
Expand Down

0 comments on commit 1d24cf5

Please sign in to comment.