Skip to content

Cannot connect to YugaByte #26862

Answered by weide-zhou
mithali-zs asked this question in Actions
Discussion options

You must be logged in to vote

Hi @mithali-zs,

This should be due to the service is not alive during workflow, hence you cannot connect it.
Typically we can add a simple healthcheck to keep the service alive, and then you can connect it and run your docker command in the workflow step.
Please refer to the answer here for more details.

BTW, there is an action ‘yugabyte/yugabyte-db-action@master’ which can help to set up a YugabyteDB database, does it meet your requirements?

- name: Setup YugabyteDB cluster
  uses: yugabyte/yugabyte-db-action@master
  with:
    yb_image_tag: 2.2.0.0-b80
    yb_master_ui_port: 7000
    yb_tserver_ui_port: 9000    
    ysql_port: 5433
    ycql_port: 9042

Thanks

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants