From 5fd7f8e00ab7dc7dbdd1ecf8443b81935f199540 Mon Sep 17 00:00:00 2001 From: Anton Smorodskyi Date: Mon, 29 Jan 2024 16:49:28 +0100 Subject: [PATCH] Switch to pip azure-cli install because azure-cli rpm not support python3.11 --- Dockerfile_k8s | 2 +- requirements.txt | 8 ++++---- requirements_k8s.txt | 7 ++++--- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/Dockerfile_k8s b/Dockerfile_k8s index 8c51c754..93694f6d 100644 --- a/Dockerfile_k8s +++ b/Dockerfile_k8s @@ -1,6 +1,6 @@ FROM registry.suse.com/bci/python:3.11 -RUN zypper -n in gcc tar gzip kubernetes1.24-client aws-cli azure-cli && zypper clean && rm -rf /var/cache +RUN zypper -n in gcc tar gzip kubernetes1.24-client aws-cli && zypper clean && rm -rf /var/cache # Google cli installation RUN curl -sf https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-415.0.0-linux-x86_64.tar.gz | tar -zxf - -C /opt \ diff --git a/requirements.txt b/requirements.txt index b671bbf7..80b93259 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,9 +1,9 @@ boto3 -azure-mgmt-compute==30.1.0 +azure-mgmt-compute==30.4.0 azure-mgmt-storage==21.1.0 -azure-mgmt-resource==23.0.1 -azure-storage-blob==12.17.0 -azure-identity==1.14.0 +azure-mgmt-resource==23.1.0b2 +azure-storage-blob==12.19.0 +azure-identity==1.14.1 cachetools msrestazure==0.6.4 uwsgi==2.0.22 diff --git a/requirements_k8s.txt b/requirements_k8s.txt index 34435c8a..0589fe09 100644 --- a/requirements_k8s.txt +++ b/requirements_k8s.txt @@ -1,7 +1,8 @@ oauth2client kubernetes +azure-cli==2.56.0 google-api-python-client==2.96.0 -azure-mgmt-containerservice==22.0.0 -azure-identity==1.14.0 -azure-mgmt-resource==23.0.1 +azure-mgmt-containerservice==28.0.0 +azure-identity==1.14.1 +azure-mgmt-resource==23.1.0b2 boto3