Skip to content

Commit

Permalink
add init_sql
Browse files Browse the repository at this point in the history
  • Loading branch information
whhe committed Jun 20, 2024
1 parent 3fbe71e commit 66da477
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/java-test-oceanbase-ce.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ on:
required: false
type: string
default: '127.0.0.1:2882:2881'
init_sql:
required: false
type: string
default: ''

jobs:
test-oceanbase-ce:
Expand Down Expand Up @@ -60,6 +64,7 @@ jobs:
sql_port: ${{ inputs.port }}
sys_root_password: ${{ inputs.sys_password }}
tenant_name: ${{ inputs.test_tenant }}
init_sql: ${{ inputs.init_sql }}

- name: Test Docker container
env:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test-oceanbase-ce.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
port: 1234
sys_password: ''
test_tenant: test
test_password: ''
test_password: 123456
server_ip: 127.0.0.1
rs_list: 127.0.0.1:2882:2881
init_sql: "ALTER USER root IDENTIFIED BY '123456'"

0 comments on commit 66da477

Please sign in to comment.