From 62a283327c9c951e4f672e5e68ad13a5e0db8515 Mon Sep 17 00:00:00 2001 From: lukken <lukken@astron.nl> Date: Wed, 21 Jul 2021 09:20:15 +0000 Subject: [PATCH] L2SS-240: Add docker compose file for integration tests --- docker-compose/integration-test.yml | 30 +++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 docker-compose/integration-test.yml diff --git a/docker-compose/integration-test.yml b/docker-compose/integration-test.yml new file mode 100644 index 000000000..b79f70500 --- /dev/null +++ b/docker-compose/integration-test.yml @@ -0,0 +1,30 @@ +# +# Docker compose file that launches integration tests +# +# Defines: +# - integration: Integration testing +# +version: '2' + +services: + integration-test: + build: + context: itango + args: + SOURCE_IMAGE: ${DOCKER_REGISTRY_HOST}/${DOCKER_REGISTRY_USER}-tango-itango:${TANGO_ITANGO_VERSION} + container_name: ${CONTAINER_NAME_PREFIX}integration-test + networks: + - control + volumes: + - ${TANGO_LOFAR_CONTAINER_MOUNT} + environment: + - TANGO_HOST=${TANGO_HOST} + working_dir: ${TANGO_LOFAR_CONTAINER_DIR}/devices + entrypoint: + - /usr/local/bin/wait-for-it.sh + - ${TANGO_HOST} + - --timeout=30 + - --strict + - -- + - tox -e integration + restart: on-failure -- GitLab