Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: (PSKD-350) Dependency version update #578

Merged
merged 8 commits into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:experimental
FROM ubuntu:22.04 as baseline
FROM ubuntu:22.04 AS baseline

RUN apt-get update && apt-get upgrade -y \
&& apt-get install --no-install-recommends -y python3 python3-dev python3-pip curl unzip apt-transport-https ca-certificates gnupg \
Expand All @@ -8,18 +8,18 @@ RUN apt-get update && apt-get upgrade -y \
&& update-alternatives --install /usr/bin/python python /usr/bin/python3 1 \
&& update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1

FROM baseline as tool_builder
ARG kubectl_version=1.29.7
FROM baseline AS tool_builder
ARG kubectl_version=1.29.8

WORKDIR /build

RUN curl -sLO https://storage.googleapis.com/kubernetes-release/release/v$kubectl_version/bin/linux/amd64/kubectl && chmod 755 ./kubectl

# Installation
FROM baseline
ARG helm_version=3.15.2
ARG aws_cli_version=2.16.5
ARG gcp_cli_version=479.0.0-0
ARG helm_version=3.16.2
ARG aws_cli_version=2.17.58
ARG gcp_cli_version=496.0.0-0

# Add extra packages
RUN apt-get update && apt-get install --no-install-recommends -y gzip wget git jq ssh sshpass skopeo rsync \
Expand Down
44 changes: 22 additions & 22 deletions docs/user/Dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,31 @@ If your environment requires validated support for a specific version or range o

The following list details our dependencies and versions (~ indicates multiple possible sources):

| SOURCE | NAME | VERSION |
|----------------|------------------|-------------|
| ~ | python | >=3.10 |
| ~ | pip | 3.x |
| ~ | unzip | any |
| ~ | tar | any |
| ~ | docker | >=25.0.3 |
| ~ | git | any |
| ~ | rsync | any |
| ~ | kubectl | 1.28 - 1.30 |
| ~ | Helm | 3.14.2 |
| pip3 | ansible | 9.2.0 |
| pip3 | openshift | 0.13.2 |
| pip3 | kubernetes | 27.2.0 |
| pip3 | dnspython | 2.6.1 |
| pip3 | docker | 7.1.0 |
| pip3 | urllib3 | 1.26.18 |
| ansible-galaxy | community.docker | 3.10.3 |
| ansible-galaxy | ansible.utils | 3.1.0 |
| ansible-galaxy | kubernetes.core | 3.0.0 |
| SOURCE | NAME | VERSION |
|----------------|------------------|--------------|
| ~ | python | >=3.10 |
| ~ | pip | 3.x |
| ~ | unzip | any |
| ~ | tar | any |
| ~ | docker | >=25.0.3 |
| ~ | git | any |
| ~ | rsync | any |
| ~ | kubectl | 1.28 - 1.30 |
| ~ | Helm | 3.16.2 |
| pip3 | ansible | 10.5.0 |
| pip3 | openshift | 0.13.2 |
| pip3 | kubernetes | 29.0.0 |
| pip3 | dnspython | 2.7.0 |
| pip3 | docker | 7.1.0 |
| pip3 | urllib3 | 2.2.3 |
| ansible-galaxy | community.docker | 3.13.0 |
| ansible-galaxy | ansible.utils | 5.1.2 |
| ansible-galaxy | kubernetes.core | 5.0.0 |

If you are using a provider based kubeconfig file created by viya4-iac-gcp:4.5.0 or newer, install these dependencies:
| SOURCE | NAME | VERSION |
|----------------|-------------------------|-------------|
| ~ | gcloud | 472.0.0 |
| ~ | gcloud | 496.0.0 |
| ~ | gcloud-gke-auth-plugin | >= 0.5.2 |

Required project dependencies are generally pinned to known working or stable versions to ensure users have a smooth initial experience. In some cases it may be required to change the default version of a dependency. In such cases users are welcome to experiment with alternate versions, however compatibility may not be guaranteed.
Expand All @@ -49,7 +49,7 @@ As described in the [Docker Installation](./DockerUsage.md) section add addition
```bash
# Override kubectl version
docker build \
--build-arg kubectl_version=1.29.7 \
--build-arg kubectl_version=1.29.8 \
-t viya4-deployment .
```

Expand Down
12 changes: 6 additions & 6 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ansible==9.6.0 # 9.2.0 # 9.1.0 # 8.6.0 # 2.10.7
ansible==10.5.0 # 9.6.0 # 9.2.0 # 9.1.0 # 8.6.0 # 2.10.7
openshift==0.13.2 # 0.13.1 # 0.12.0
kubernetes==27.2.0 # 26.1.0 # 12.0.1
dnspython==2.6.1 # 2.3.0 # 2.1.0
kubernetes==29.0.0 # 27.2.0 # 26.1.0 # 12.0.1
dnspython==2.7.0 # 2.6.1 # 2.3.0 # 2.1.0
docker==7.1.0 # 7.0.0 # 5.0.3
urllib3==1.26.18
wheel>=0.38.1
setuptools>=65.5.1
urllib3==2.2.3 # 1.26.18
wheel>=0.44.0 # 0.38.1
setuptools>=75.1.0 # 65.5.1
6 changes: 3 additions & 3 deletions requirements.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
collections:
- name: ansible.utils
version: 4.1.0 # 3.1.0 # 2.3.0
version: 5.1.2 # 4.1.0 # 3.1.0 # 2.3.0
- name: community.docker
version: 3.10.3 # 3.8.0 # 2.7.8
version: 3.13.0 # 3.10.3 # 3.8.0 # 2.7.8
- name: kubernetes.core
version: 3.0.0 # 2.3.2
version: 5.0.0 # 3.0.0 # 2.3.2
Loading