From 8cf6a5e59aa934ba5eb87b6003beaba1b01d66b7 Mon Sep 17 00:00:00 2001 From: zhihui wu Date: Tue, 20 Mar 2018 14:16:46 +0800 Subject: A initial CI script for network test This is a initial CI script for network test. For now it verifies the containers can be correctly launched. Change-Id: I418716a69efa5c784b300d0d8b5ce0d0823d11db Signed-off-by: zhihui wu --- tests/ci/network/docker-compose.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 tests/ci/network/docker-compose.yaml (limited to 'tests/ci/network/docker-compose.yaml') diff --git a/tests/ci/network/docker-compose.yaml b/tests/ci/network/docker-compose.yaml new file mode 100644 index 00000000..d4f2c904 --- /dev/null +++ b/tests/ci/network/docker-compose.yaml @@ -0,0 +1,27 @@ +############################################################################## +# Copyright (c) 2017 Dell EMC, ZTE and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + +version: '2' +services: + + nettest: + container_name: nettest_qtip + image: opnfv/qtip-nettest:${DOCKER_TAG} + ports: + - 5001:5000 + env_file: ${ENV_FILE} + + qtip: + container_name: network_qtip + image: opnfv/qtip:${DOCKER_TAG} + env_file: ${ENV_FILE} + volumes: + - ${SSH_CREDENTIALS}:/root/.ssh + links: + - nettest -- cgit 1.2.3-korg