Public | Automated Build

Last pushed: 4 months ago
Short Description
An environment to run the CockroachDB acceptance tests in various languages (php, node, java, etc)
Full Description

Postgres Test

This is the Docker image used to run the CockroachDB
acceptance tests,
which include verification that simple clients in various languages can connect
to and interact with CockroachDB using the Postgres wire protocol -- thus it
includes the tools required to run php, node, java, etc.

Docker Hub automatically
builds new images from git tags, using the git tag as the Docker tag. By
convention, tags are of the form YYYYMMDD-HHMM.

Iterating on this image locally
requires a local Docker registry.

  • Run docker run -d -p 5000:5000 --restart=always --name registry registry:2
  • In this repo, run docker build -t localhost:5000/cockroachdb/postgres-test:foo and docker push localhost:5000/cockroachdb/postgres-test:foo
  • In cockroach/pkg/acceptance/util.go, edit the constant postgresTestImage to point to localhost:5000/cockroachdb/postgres-test:foo instead of$DATE.
Docker Pull Command
Source Repository

Comments (0)