From 5e6967f1c6df40720e748977c7d9514c0463035c Mon Sep 17 00:00:00 2001 From: Krzysztof Kuzmicki Date: Fri, 1 Oct 2021 12:22:06 +0200 Subject: [ROBOT] ADD BULKPM test cases that use helm based component services Signed-off-by: Krzysztof Kuzmicki Issue-ID: INT-1895 Change-Id: I32389f4f0cd0d2e9fb7b73b99554a4722c4687d0 --- docker/Dockerfile | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'docker') diff --git a/docker/Dockerfile b/docker/Dockerfile index 8fcecfed..bd5b10b4 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -7,14 +7,12 @@ LABEL usage="docker run -e ROBOT_TEST= -ti onapete" ENV BUILDTIME=true ARG TESTSUITE_TAG=master -ARG HEATBRIDGE_TAG=master ARG PYTHON_UTILS_TAG=master ARG DEMO_TAG=master -ARG KUBERNETES_VERSION="v1.15.11" - +ARG KUBERNETES_VERSION="v1.19.11" +ARG HELM_VERSION="v3.3.4" ARG TESTSUITE_REPO=git.onap.org/testsuite -#ARG HEATBRIDGE_REPO=git.onap.org/testsuite/heatbridge.git ARG PYTHON_UTILS_REPO=git.onap.org/testsuite/python-testing-utils.git ARG DEMO_REPO=git.onap.org/demo @@ -24,6 +22,7 @@ COPY requirements.txt requirements.txt # Note: Latest version may be found on: # https://aur.archlinux.org/packages/kubectl-bin/ ADD https://storage.googleapis.com/kubernetes-release/release/${KUBERNETES_VERSION}/bin/linux/amd64/kubectl /usr/local/bin/kubectl +ADD https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 get_helm.sh # Install Python, Pip, Robot framework, chromium, lighttpd web server RUN apt-get update \ @@ -54,9 +53,9 @@ RUN apt-get update \ git+https://$PYTHON_UTILS_REPO@$PYTHON_UTILS_TAG#egg=robotframework-onap\&subdirectory=robotframework-onap && \ git clone --depth 1 https://$TESTSUITE_REPO -b $TESTSUITE_TAG /var/opt/ONAP && \ git clone --depth 1 https://$DEMO_REPO -b $DEMO_TAG /var/opt/ONAP/demo && \ - chmod +x /usr/local/bin/kubectl - # moved in case line extension with comment isnt supported - #git+https://$HEATBRIDGE_REPO@$HEATBRIDGE_TAG#egg=heatbridge\&subdirectory=heatbridge \ + chmod +x /usr/local/bin/kubectl && \ + chmod 700 get_helm.sh && \ + ./get_helm.sh --version $HELM_VERSION RUN python3.7 -m pip install --no-cache-dir setuptools wheel RUN python3.7 -m pip install --no-cache-dir virtualenv -- cgit 1.2.3-korg