diff options
author | 2025-03-20 09:43:36 +0100 | |
---|---|---|
committer | 2025-03-20 10:50:04 +0100 | |
commit | 40f98ad1be832c604188af0cf7301371c5be5323 (patch) | |
tree | 6e2950bbecef2c2a15cc6c07037c6ddc66710787 | |
parent | 5c811513e11a15ff1e499a9462d6e64db672e10c (diff) |
[INT] Add kubectl and helm binaries to py3 image
install the apps in the image
add Fiete in INFO.yaml
Issue-ID: INT-2294
Change-Id: Icab43c3f78446556dd0ead9f5dea0b8531da2bbc
Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
-rw-r--r-- | smoke-usecases-robot-py3/docker/Dockerfile | 14 |
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 |