How to use Cockroach as Github Action's Container Service? #83749
-
I wondering how to include services:
cockroach:
image: cockroachdb/cockroach:latest
options: --entrypoint "/cockroach/cockroach.sh start-single-node --insecure"
ports:
- 26257:26257 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Resolved my issue by usage of |
Beta Was this translation helpful? Give feedback.
-
I have the same issue but cannot use Here is what I tried so far: salsita/node-pg-migrate#968 |
Beta Was this translation helpful? Give feedback.
-
This is now possible in >=24.2 via the services:
cockroach:
image: cockroachdb/cockroach
env:
COCKROACH_ARGS: "start-single-node --insecure"
options: >-
--health-cmd "curl -f http://localhost:8080/health?ready=1" |
Beta Was this translation helpful? Give feedback.
This is now possible in >=24.2 via the
COCKROACH_ARGS
environment variable.