Skip to content

Commit

Permalink
Merge pull request #579 from sassoftware/staging
Browse files Browse the repository at this point in the history
7.1.0 - October 31, 2024
  • Loading branch information
saschjmil authored Oct 31, 2024
2 parents bde40ec + 8830916 commit 9aa0ac2
Show file tree
Hide file tree
Showing 9 changed files with 39 additions and 164 deletions.
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
24 changes: 0 additions & 24 deletions roles/common/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -256,30 +256,6 @@
- tfstate.cluster_api_mode is defined
- tfstate.cluster_api_mode.value|length > 0
- V4_CFG_INGRESS_MODE is not defined
- name: tfstate - azure message broker host # noqa: name[casing]
set_fact:
V4_CFG_MESSAGE_BROKER_HOST: "{{ tfstate.message_broker_hostname.value }}"
when:
- PROVIDER == "azure"
- tfstate.message_broker_hostname is defined
- tfstate.message_broker_hostname.value|length > 0
- V4_CFG_MESSAGE_BROKER_HOST is not defined
- name: tfstate - azure message broker name # noqa: name[casing]
set_fact:
V4_CFG_MESSAGE_BROKER_NAME: "{{ tfstate.message_broker_name.value }}"
when:
- PROVIDER == "azure"
- tfstate.message_broker_name is defined
- tfstate.message_broker_name.value|length > 0
- V4_CFG_MESSAGE_BROKER_NAME is not defined
- name: tfstate - azure message broker primary_key # noqa: name[casing]
set_fact:
V4_CFG_MESSAGE_BROKER_PASSWORD: "{{ tfstate.message_broker_primary_key.value }}"
when:
- PROVIDER == "azure"
- tfstate.message_broker_primary_key is defined
- tfstate.message_broker_primary_key.value|length > 0
- V4_CFG_MESSAGE_BROKER_PASSWORD is not defined
- name: tfstate - set tfstate to empty string # noqa: name[casing]
set_fact:
tfstate: ""
Expand Down
6 changes: 0 additions & 6 deletions roles/vdm/defaults/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,6 @@ V4_DEPLOYMENT_OPERATOR_CRB: sasoperator
## Setting true enables using custom du for below the line testing
V4_CFG_BELOW_THE_LINE: false

## Message Broker - Experimental
V4_CFG_MESSAGE_BROKER_ENABLE: false
V4_CFG_MESSAGE_BROKER_HOST: null
V4_CFG_MESSAGE_BROKER_NAME: null
V4_CFG_MESSAGE_BROKER_PASSWORD: null

## SAS Workload Orchestrator
V4_WORKLOAD_ORCHESTRATOR_ENABLED: true

Expand Down
10 changes: 0 additions & 10 deletions roles/vdm/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -204,16 +204,6 @@
- uninstall
- update

- name: Include Message broker
include_tasks: message_broker.yaml
when:
- PROVIDER == "azure"
- V4_CFG_MESSAGE_BROKER_ENABLE
tags:
- install
- uninstall
- update

- name: Include Kustomize
include_tasks: kustomize.yaml
tags:
Expand Down
86 changes: 0 additions & 86 deletions roles/vdm/tasks/message_broker.yaml

This file was deleted.

3 changes: 2 additions & 1 deletion roles/vdm/tasks/workload_orchestrator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
cadence_number: "{{ V4_CFG_CADENCE_VERSION }}"
existing: "{{ vdm_overlays }}"
add:
- { transformers: examples/sas-workload-orchestrator/enable-disable/sas-workload-orchestrator-disable-patch-transformer.yaml, min: "2023.08", vdm: false }
- { transformers: examples/sas-workload-orchestrator/enable-disable/sas-workload-orchestrator-disable-patch-transformer.yaml, min: "2023.08", max: "2024.06", vdm: false }
- { transformers: overlays/sas-workload-orchestrator/enable-disable/sas-workload-orchestrator-disable-patch-transformer.yaml, min: "2024.07", vdm: false }
when:
- not V4_WORKLOAD_ORCHESTRATOR_ENABLED
tags:
Expand Down

0 comments on commit 9aa0ac2

Please sign in to comment.