aboutsummaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-08-18 10:18:18 +0200
committerMorgan Richomme <morgan.richomme@orange.com>2016-08-18 10:18:18 +0200
commitbfe6bf3426f8f1e6ce4fc52b8cfa387a2b3866ee (patch)
treef6507ab56e9ec600688100d6a8ce6712cd3817be /cli
parentae2bbe3e8ff3a6681cc3bd1b65d66c33f9563b52 (diff)
Add report flag for moon
JIRA: FUNCTEST-210 Change-Id: I97be5542ae4ae87f1b8d62394ff66068e77f4082 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'cli')
0 files changed, 0 insertions, 0 deletions
eredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
FROM opnfv/xtesting

ARG MTS_TAG=6.6.21
ARG APP_FOLDER=/opt/mts
ARG MAVEN_OPTS=
ENV JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk
ENV NGN_JAVA_HOME=${JAVA_HOME}/bin
ENV MAVEN_OPTS=$MAVEN_OPTS

COPY mts-installer.properties /src/mts-installer.properties
RUN case $(uname -m) in x86_64) \
        apk --no-cache add --update openjdk8-jre && \
        apk --no-cache add --virtual .build-deps --update \
            openjdk8 maven git && \
        git init /src/git-mts && \
        (cd /src/git-mts && \
            git fetch --tags https://github.com/ericsson-mts/mts $MTS_TAG && \
            git checkout FETCH_HEAD && \
            echo ${NGN_JAVA_HOME} > src/main/bin/java_home.release && \
            mvn versions:set -DnewVersion=${MTS_TAG} && mvn package && mvn install && \
            java -jar target/mts-${MTS_TAG}-installer.jar -options /src/mts-installer.properties) && \
        rm -rf /root/.m2/ ${APP_FOLDER}/tutorial /src/mts-installer.properties /src/git-mts && \
        apk del .build-deps;; esac
COPY testcases.yaml /usr/lib/python3.8/site-packages/xtesting/ci/testcases.yaml
CMD ["run_tests", "-t", "all"]