aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--smoke-usecases-robot-py3/docker/Dockerfile14
1 files changed, 12 insertions, 2 deletions
diff --git a/smoke-usecases-robot-py3/docker/Dockerfile b/smoke-usecases-robot-py3/docker/Dockerfile
index 5ac6925..5264452 100644
--- a/smoke-usecases-robot-py3/docker/Dockerfile
+++ b/smoke-usecases-robot-py3/docker/Dockerfile
@@ -6,7 +6,15 @@ ARG OPENSTACK_TAG=master
ARG OPNFV_TAG=master
ARG ONAP_TAG=master
ARG PIP_TAG=21.2.4
-ARG KUBERNETES_VERSION="v1.19.9"
+ARG KUBERNETES_VERSION="v1.32.0"
+ARG HELM_VERSION="v3.17.0"
+
+# Install kubectl
+# Note: Latest version may be found on:
+# https://aur.archlinux.org/packages/kubectl-bin/
+
+ADD https://dl.k8s.io/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
ENV TAG all
ENV CRYPTOGRAPHY_DONT_BUILD_RUST=1
@@ -35,7 +43,9 @@ RUN pip install \
-r requirements.txt && \
rm -r requirements.txt && \
cd / && ln -s /var/opt/ONAP/robot/ /robot && \
- apk del .build-deps
+ apk del .build-deps && \
+ chmod 700 get_helm.sh && \
+ ./get_helm.sh --version $HELM_VERSION
RUN pip install --no-cache-dir git+https://$PYTHON_UTILS_REPO@$PYTHON_UTILS_TAG#egg=robotframework-onap\&subdirectory=robotframework-onap
COPY docker/testcases.yaml /usr/lib/python3.8/site-packages/xtesting/ci/testcases.yaml