X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=docker%2Ftests%2FDockerfile;h=07a46cfd30e30f76c74c8190567218bea71cb024;hb=055ae2da1e5ef10f22d3aa99593548bcfb78cc38;hp=a7153186d82fb63d392f9cdaf5a8a87369faeced;hpb=7334f68a8186a8a0e78f72422bba3fda42e0152b;p=osm%2Fdevops.git diff --git a/docker/tests/Dockerfile b/docker/tests/Dockerfile index a7153186..07a46cfd 100644 --- a/docker/tests/Dockerfile +++ b/docker/tests/Dockerfile @@ -21,17 +21,20 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install git soft RUN add-apt-repository -y ppa:rmescandon/yq && apt update && apt install yq -y RUN python3 -m pip install haikunator requests robotframework robotframework-seleniumlibrary \ robotframework-requests robotframework-jsonlibrary robotframework-sshlibrary charm-tools \ - git+https://osm.etsi.org/gerrit/osm/IM.git git+https://osm.etsi.org/gerrit/osm/osmclient.git + verboselogs pyangbind ARG REPOSITORY_BASE=http://osm-download.etsi.org/repository/osm/debian -ARG RELEASE=ReleaseSEVEN-daily +ARG RELEASE=ReleaseNINE-daily ARG REPOSITORY_KEY=OSM%20ETSI%20Release%20Key.gpg ARG REPOSITORY=testing ARG TESTS_VERSION +ARG IM_VERSION +ARG OSMCLIENT_VERSION RUN curl ${REPOSITORY_BASE}/${RELEASE}/${REPOSITORY_KEY} | apt-key add - -RUN add-apt-repository -y "deb ${REPOSITORY_BASE}/${RELEASE} ${REPOSITORY} tests" && apt-get update +RUN add-apt-repository -y "deb ${REPOSITORY_BASE}/${RELEASE} ${REPOSITORY} tests osmclient IM" && apt-get update +RUN apt-get install -y python3-osm-im${IM_VERSION} python3-osmclient${OSMCLIENT_VERSION} RUN apt-get install -y osm-tests${TESTS_VERSION} && \ rm -rf /var/lib/apt/lists/* @@ -60,4 +63,4 @@ ENV K8S_CREDENTIALS=/root/.kube/config ENV LC_ALL=C.UTF-8 ENV LANG=C.UTF-8 -ENTRYPOINT [ "/robot-systest/run_test.sh"] \ No newline at end of file +ENTRYPOINT [ "/robot-systest/run_test.sh"]