blob: c6923ddf1f7159928df4bcb4f86c81642d65d2ab [file] [log] [blame]
xt800dc5fa07b2019-08-13 16:51:10 -04001#!/bin/bash
2################################################################################
3# Copyright (c) 2019 AT&T Intellectual Property. #
4# Copyright (c) 2019 Nokia. #
5# #
6# Licensed under the Apache License, Version 2.0 (the "License"); #
7# you may not use this file except in compliance with the License. #
8# You may obtain a copy of the License at #
9# #
10# http://www.apache.org/licenses/LICENSE-2.0 #
11# #
12# Unless required by applicable law or agreed to in writing, software #
13# distributed under the License is distributed on an "AS IS" BASIS, #
14# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
15# See the License for the specific language governing permissions and #
16# limitations under the License. #
17################################################################################
18
19
20#
21# To RUN the container localy in a docker environment use the docker run command AFTER the following steps
22# PWD is current directory path
23# copy vm_properties.py and integration_robot_properties.py into ./eteshare/config
24# mkdir ./eteshare/logs
25#
26# ./demo.sh init_robot to set web page login(test)/password
27# robot test results will be on http://127.0.0.1:88/logs/
28#
29#RUNPATH= is a full path to a directory where you have placed your environment specific files that
30# should be mounted into the containers /share/config (e.g., vm_properties.py integration_robot_properties.py)
31#
32
33# generate doc
34# python 2.7 needed
35# pip install robotframework for docgen.py to work
36
37docker build -t ric/testsuite -f docker/ric-robot/Dockerfile .
38#docker run -d --name ric-robot -p 88:88 -v $RUNPATH/eteshare:/share ric/testsuite:latest lighttpd -D -f /etc/lighttpd/lighttpd.conf