X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=docker%2Ftests%2FDockerfile;h=a3b4e2678f25bbf9998195d29ebff4d5bd65050e;hb=0fc2ee1ada11d0608d5890ef6012e5cd27672ab1;hp=4a8294c3d3f312830bdd17bf157b80c32e24f829;hpb=8af7f0d037d70ef7d5835831bd7dea4be3aa1ee6;p=osm%2Fdevops.git diff --git a/docker/tests/Dockerfile b/docker/tests/Dockerfile index 4a8294c3..a3b4e267 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=ReleaseEIGHT-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/* @@ -41,6 +44,7 @@ RUN mv /usr/share/osm-tests/charm.sh /usr/sbin/charm WORKDIR /robot-systest RUN git clone https://osm.etsi.org/gitlab/vnf-onboarding/osm-packages.git --recurse-submodules /robot-systest/osm-packages +RUN git -C osm-packages checkout sol006 # Folder where Robot tests are stored ENV ROBOT_DEVOPS_FOLDER=/robot-systest