diff --git a/docker-compose/integration-test.yml b/docker-compose/integration-test.yml new file mode 100644 index 0000000000000000000000000000000000000000..b79f70500535caccc4802165def69963de658c14 --- /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