diff options
author | 2023-01-23 11:50:01 +0000 | |
---|---|---|
committer | 2023-01-25 14:32:51 +0000 | |
commit | 0700486a08b2bc08589f7e6b0be8338d6bbb4efa (patch) | |
tree | 01672a1fb035e629f1723b6b7de6f8a28218bfdb /helm/Dockerfile | |
parent | 0132d7a9ea3ad03ed0350a7d89694420a4d8221c (diff) |
Add robot framework helm chart for CSIT
Steps to run policy csit in kubernetes is updated in the README.md
Issue-ID: POLICY-4532
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I116658dfafd4e70bd256173f046da72af6803eaa
Diffstat (limited to 'helm/Dockerfile')
-rw-r--r-- | helm/Dockerfile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/helm/Dockerfile b/helm/Dockerfile new file mode 100644 index 00000000..5249e734 --- /dev/null +++ b/helm/Dockerfile @@ -0,0 +1,14 @@ +FROM python:3 +ARG CSIT_SCRIPT=${CSIT_SCRIPT} +ARG ROBOT_FILE=${ROBOT_FILE} +ENV ROBOT_WORKSPACE /opt/robotworkspace +ENV ROBOT_FILE $ROBOT_FILE +RUN python3 -m pip install --upgrade pip +RUN python3 -m pip install --upgrade --extra-index-url="https://nexus3.onap.org/repository/PyPi.staging/simple" 'robotframework-onap==0.5.1.*' --pre +RUN python3 -m pip freeze +RUN mkdir -p ${ROBOT_WORKSPACE} +COPY ${CSIT_SCRIPT} ${ROBOT_WORKSPACE} +COPY tests/ ${ROBOT_WORKSPACE}/ +WORKDIR ${ROBOT_WORKSPACE} +RUN chmod +x run-test.sh +CMD ["sh", "-c", "./run-test.sh" , "${ROBOT_FILE}"] |