Skip to content
Sam Gerené edited this page Jun 24, 2018 · 9 revisions

cdp4-database-community-edition

cdp4-test-database-community-edition

The cdp4-test-database-community-edition docker image is the image used to run the ECSS-E-TM-10-25 Annex C integration tests.

Create and Push

  1. Create the docker image
docker build -t cdp4-test-database-community-edition:1.2.0 .
  1. Tag the docker image
docker tag cdp4-test-database-community-edition:1.2.0 rheagroup/cdp4-test-database-community-edition:1.2.0
  1. Push the docker image to Docker Hub
docker push rheagroup/cdp4-test-database-community-edition:1.2.0

Run the image

Run the image, note that the data is stored to a temporary file system.

docker run -p5432:5432 --tmpfs /var/lib/postgresql/data:rw -it -d --name cdp4-test-database-community-edition --net cdp4 cdp4-test-database-community-edition:1.2.0

Once the database and webservices docker image are running, the test Annex C3 zip archive needs to be posted.

curl --form file=@"Data.zip" http://localhost:5000/Data/Exchange
Clone this wiki locally