diff options
author | Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com> | 2020-10-07 09:23:18 +0200 |
---|---|---|
committer | Marcin Przybysz <marcin.przybysz@nokia.com> | 2020-10-12 12:27:03 +0000 |
commit | 590d66fda7ae1fb5d59555bd9af4cf212c2e7856 (patch) | |
tree | f5fab0b4f5b7df42b4c3af8755471bf07ec7cf50 /docker | |
parent | 70902ea6a8086368524fef892ad52a951138e7c1 (diff) |
Add CMPv2 E2E test case in robot test suite
Issue-ID: INT-1731
Signed-off-by: Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>
Change-Id: I79ac8cfc4755b134fa214d21cc71cc2b2067461b
Diffstat (limited to 'docker')
-rw-r--r-- | docker/Dockerfile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index d0f32e7d..0ec88c0a 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -10,6 +10,8 @@ ARG TESTSUITE_TAG=master ARG HEATBRIDGE_TAG=master ARG PYTHON_UTILS_TAG=master ARG DEMO_TAG=master +ARG KUBERNETES_VERSION="v1.15.11" + ARG TESTSUITE_REPO=git.onap.org/testsuite ARG HEATBRIDGE_REPO=git.onap.org/testsuite/heatbridge.git @@ -18,6 +20,11 @@ ARG DEMO_REPO=git.onap.org/demo COPY requirements.txt requirements.txt +# Install kubectl +# 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 + # Install Python, Pip, Robot framework, chromium, lighttpd web server RUN apt-get update \ && apt-get install \ @@ -47,7 +54,8 @@ RUN apt-get update \ git+https://$HEATBRIDGE_REPO@$HEATBRIDGE_TAG#egg=heatbridge\&subdirectory=heatbridge \ 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 + git clone --depth 1 https://$DEMO_REPO -b $DEMO_TAG /var/opt/ONAP/demo && \ + chmod +x /usr/local/bin/kubectl && \ RUN python3.7 -m pip install setuptools wheel RUN python3.7 -m pip install virtualenv |