From 6dd650100c23f33b7e298ee0fd856f252283f419 Mon Sep 17 00:00:00 2001 From: anastasia prasolova Date: Fri, 15 May 2020 20:00:02 +0300 Subject: [PATCH] INFRA-144 repo dockerfile --- Dockerfile | 17 +++++++++++++++++ robot/resources/lib/kws_module.py | 6 ++++-- 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..95df45de --- /dev/null +++ b/Dockerfile @@ -0,0 +1,17 @@ +FROM python:3.6 + +ENV WD /testcases/ +ENV NEOFSCLI_VERSION '0.7.1' + +RUN apt-get update \ + && pip3 install robotframework==3.2.1 + +#RUN cd /tmp \ +# && wget https://github.com/nspcc-dev/neofs-cli/releases/download/v0.7.1/neofs-cli_${NEOFSCLI_VERSION}_linux_x86_64.tar.gz \ +# && tar xfz neofs-cli_${NEOFSCLI_VERSION}_linux_x86_64.tar.gz \ +# && mv neofs-cli /usr/local/bin + +WORKDIR ${WD} +COPY ./ ${WD} +# temporary hack due to slow github servers +RUN mv ${WD}/neofs-cli /usr/local/bin diff --git a/robot/resources/lib/kws_module.py b/robot/resources/lib/kws_module.py index 281fcca4..0186940b 100644 --- a/robot/resources/lib/kws_module.py +++ b/robot/resources/lib/kws_module.py @@ -8,8 +8,10 @@ from robot.api import logger ROBOT_AUTO_KEYWORDS = False -NEOFS_ENDPOINT = '85.143.219.93:8080' -NEOFS_KEY = 'KxDgvEKzgSBPPfuVfw67oPQBSjidEiqTHURKSDL1R7yGaGYAeYnr' +NEOFS_ENDPOINT = '10.78.30.13:8080' +#NEOFS_ENDPOINT = '85.143.219.93:8080' +NEOFS_KEY = 'L3UcodxBNukNuXnMKzH7rUn3pvgLGrNkGqeUnvnPySxBFHVR8xmL' +#NEOFS_KEY = 'KxDgvEKzgSBPPfuVfw67oPQBSjidEiqTHURKSDL1R7yGaGYAeYnr' @keyword('Create container') def create_container():