X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=docker%2FDockerfile;h=b3b786066fa02a504f1a479cbda8c7905107cafc;hb=a504c5f1862ecb95283b94ec9456e9fa7cd1201b;hp=97b8222ac2ffb4757a0ec03059ee5693d3905322;hpb=e570b10455cf0ca49f1597e91282ce75c06688ea;p=osm%2Ftests.git diff --git a/docker/Dockerfile b/docker/Dockerfile index 97b8222..b3b7860 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -19,17 +19,20 @@ FROM ubuntu:18.04 # Installing robot dependencies RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install git software-properties-common \ - make python3 debhelper python3-setuptools python3-pip apt-utils ssh iputils-ping libcurl4-openssl-dev libssl-dev \ - python3-openstackclient + make python3 debhelper python3-pip apt-utils ssh iputils-ping libcurl4-openssl-dev libssl-dev cargo rustc -RUN add-apt-repository -y ppa:rmescandon/yq && apt update && apt install yq -y +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 +RUN python3 -m pip install -U pip + +RUN python3 -m pip install charm-tools haikunator python-openstackclient requests robotframework \ + robotframework-seleniumlibrary robotframework-requests robotframework-jsonlibrary robotframework-sshlibrary \ + setuptools setuptools-rust git+https://osm.etsi.org/gerrit/osm/IM.git \ + git+https://osm.etsi.org/gerrit/osm/osmclient.git # Preparing working environment WORKDIR /robot-systest -RUN git clone https://osm.etsi.org/gitlab/vnf-onboarding/osm-packages.git --recurse-submodules /robot-systest/osm-packages +RUN git clone --branch sol006 https://osm.etsi.org/gitlab/vnf-onboarding/osm-packages.git --recurse-submodules /robot-systest/osm-packages # Copy robot folder and charm.sh COPY robot-systest /robot-systest @@ -53,6 +56,9 @@ ENV ROBOT_REPORT_FOLDER=/robot-systest/reports # Kubeconfig file ENV K8S_CREDENTIALS=/root/.kube/config +# OSM RSA file +ENV OSM_RSA_FILE=/root/osm_id_rsa + ENV LC_ALL=C.UTF-8 ENV LANG=C.UTF-8