INFRA-144 repo dockerfile

This commit is contained in:
anastasia prasolova 2020-05-15 20:00:02 +03:00
parent 25810a756d
commit 6dd650100c
2 changed files with 21 additions and 2 deletions

17
Dockerfile Normal file
View file

@ -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

View file

@ -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():