fix: upgrade to python3.12

This commit is contained in:
Markus Pesch 2024-06-05 15:09:42 +02:00
parent bddcf8cd07
commit 32261e330f
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
4 changed files with 106 additions and 6 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
copy.sh
.venv

View File

@ -1,4 +0,0 @@
{
"python.linting.pylintEnabled": true,
"python.linting.enabled": true
}

103
copy.sh Executable file
View File

@ -0,0 +1,103 @@
#!/bin/bash
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
# PRIVATE d
"${SCRIPT_DIR}/main.py" \
--host archlinux-x86-64-000.trier.cryptic.systems \
--port 22 \
--username root \
--identity-file /home/markus/.ssh/markus@markus-pc.key \
--remote-config /etc/kubernetes/admin.conf \
--local-config /home/markus/.config/kube/config \
--local-cluster-name private \
--local-user-name admin@private
# OCITEST (ORBISOS)
# "${SCRIPT_DIR}/main.py" \
# --host orbisos-8-x86-64-025.dyndns.u.agfahealthcare.com \
# --port 22 \
# --username root \
# --identity-file /home/markus/.ssh/markus.pesch@dedalus.com.key \
# --remote-config /etc/kubernetes/admin.conf \
# --local-config /home/markus/.config/kube/config \
# --local-cluster-name pre-qa-orbisos \
# --local-user-name admin@pre-qa-orbisos
# OCITEST (RHEL)
"${SCRIPT_DIR}/main.py" \
--host rhel-8-x86-64-025.dyndns.u.agfahealthcare.com \
--port 22 \
--username root \
--identity-file /home/markus/.ssh/markus.pesch@dedalus.com.key \
--remote-config /etc/kubernetes/admin.conf \
--local-config /home/markus/.config/kube/config \
--local-cluster-name pre-qa-rhel \
--local-user-name admin@pre-qa-rhel
# POFR0805
"${SCRIPT_DIR}/main.py" \
--host ls001276.dedalus.lan \
--port 22 \
--username apvxw \
--identity-file /home/markus/.ssh/markus.pesch@dedalus.com.key \
--remote-config /home/apvxw/.config/kube/config \
--local-config /home/markus/.config/kube/config \
--local-cluster-name pofr0805 \
--local-user-name admin@pofr0805
# POUK0804
"${SCRIPT_DIR}/main.py" \
--host ls001480.dedalus.lan \
--port 22 \
--username apvxw \
--identity-file /home/markus/.ssh/markus.pesch@dedalus.com.key \
--remote-config /home/apvxw/.config/kube/config \
--local-config /home/markus/.config/kube/config \
--local-cluster-name pouk0804 \
--local-user-name admin@pouk0804
# QOFR0805
"${SCRIPT_DIR}/main.py" \
--host ls001359.dedalus.lan \
--port 22 \
--username apvxw \
--identity-file /home/markus/.ssh/markus.pesch@dedalus.com.key \
--remote-config /home/apvxw/.config/kube/config \
--local-config /home/markus/.config/kube/config \
--local-cluster-name qofr0805 \
--local-user-name admin@qofr0805
# QOUK0804
"${SCRIPT_DIR}/main.py" \
--host ls001489.dedalus.lan \
--port 22 \
--username apvxw \
--identity-file /home/markus/.ssh/markus.pesch@dedalus.com.key \
--remote-config /home/apvxw/.config/kube/config \
--local-config /home/markus/.config/kube/config \
--local-cluster-name qouk0804 \
--local-user-name admin@qouk0804
# XODE0804
"${SCRIPT_DIR}/main.py" \
--host ls000328.dedalus.lan \
--port 22 \
--username root \
--identity-file /home/markus/.ssh/markus.pesch@dedalus.com.key \
--remote-config /etc/kubernetes/admin.conf \
--local-config /home/markus/.config/kube/config \
--local-cluster-name xode0804 \
--local-user-name admin@xode0804
# XODE4414
"${SCRIPT_DIR}/main.py" \
--host ls001465.dedalus.lan \
--port 22 \
--username root \
--identity-file /home/markus/.ssh/markus.pesch@dedalus.com.key \
--remote-config /etc/kubernetes/admin.conf \
--local-config /home/markus/.config/kube/config \
--local-cluster-name xode4414 \
--local-user-name admin@xode4414

View File

@ -1,5 +1,4 @@
cryptography==39.0.1
paramiko==2.11.1
PyYAML==6.0
scp==0.14.4
setuptools==68.0.0
scp==0.15.0