Skip to content

stjordanis/postgres-test

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 

Repository files navigation

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 cockroachdb/postgres-test:foo . and docker push cockroachdb/postgres-test:foo
  • In cockroach/pkg/acceptance/util_docker.go, edit the constant postgresTestImage to point to cockroachdb/postgres-test:foo instead of docker.io/cockroachdb/cockroach:$DATE.

About

No description, website, or topics provided.

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 100.0%