From f6d238cd125de4f3822893078aeccd06975ad8c0 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 18 Jul 2022 11:31:53 +0000 Subject: [PATCH 01/18] feat(Dependencies): Update dependency openstacksdk to v0.100.0 | datasource | package | from | to | | ---------- | ------------ | ------ | ------- | | pypi | openstacksdk | 0.99.0 | 0.100.0 | --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 7ec210c1..e34b4dc0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ setuptools==63.2.0 thrift==0.16.0 python-keystoneclient==5.0.0 -openstacksdk ==0.99.0 +openstacksdk ==0.100.0 deprecated == 1.2.13 ansible==6.1.0 Click==8.1.3 From 6e12b5bc275b4260976d1c7637dff8ab06d122f2 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Mon, 18 Jul 2022 11:32:55 +0000 Subject: [PATCH 02/18] fix(Linting):blacked code --- .../VirtualMachineHandler.py | 27 +++++++++---------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/VirtualMachineService/VirtualMachineHandler.py b/VirtualMachineService/VirtualMachineHandler.py index 6c51620e..2c715e2c 100644 --- a/VirtualMachineService/VirtualMachineHandler.py +++ b/VirtualMachineService/VirtualMachineHandler.py @@ -181,7 +181,9 @@ def __init__(self, config): cfg = yaml.load(ymlfile, Loader=yaml.SafeLoader) self.DEFAULT_SECURITY_GROUP_NAME = "defaultSimpleVM" self.DEFAULT_SECURITY_GROUPS = [self.DEFAULT_SECURITY_GROUP_NAME] - self.GATEWAY_SECURITY_GROUP_ID = cfg["openstack_connection"]["gateway_security_group_id"] + self.GATEWAY_SECURITY_GROUP_ID = cfg["openstack_connection"][ + "gateway_security_group_id" + ] self.USE_GATEWAY = cfg["openstack_connection"]["use_gateway"] self.NETWORK = cfg["openstack_connection"]["network"] @@ -2076,8 +2078,7 @@ def add_cluster_machine( "project_id": project_id, } - - new_key_name = f"{str(uuid4())[0:10]}".replace('-', '') + new_key_name = f"{str(uuid4())[0:10]}".replace("-", "") self.conn.compute.create_keypair(name=new_key_name, public_key=pub_key) @@ -2496,7 +2497,11 @@ def create_or_get_default_ssh_security_group(self): if not sec: LOG.info("Default SimpleVM SSH Security group not found... Creating") - self.create_security_group(name=self.DEFAULT_SECURITY_GROUP_NAME, ssh=True, description="Default SSH SimpleVM Security Group") + self.create_security_group( + name=self.DEFAULT_SECURITY_GROUP_NAME, + ssh=True, + description="Default SSH SimpleVM Security Group", + ) def create_security_group( self, @@ -2525,7 +2530,6 @@ def create_security_group( port_range_max=80, port_range_min=80, security_group_id=new_security_group["id"], - ) self.conn.network.create_security_group_rule( direction="ingress", @@ -2567,8 +2571,7 @@ def create_security_group( port_range_max=udp_port_start + 9, port_range_min=udp_port_start, security_group_id=new_security_group["id"], - remote_group_id=self.GATEWAY_SECURITY_GROUP_ID - + remote_group_id=self.GATEWAY_SECURITY_GROUP_ID, ) self.conn.network.create_security_group_rule( direction="ingress", @@ -2577,8 +2580,7 @@ def create_security_group( port_range_max=udp_port_start + 9, port_range_min=udp_port_start, security_group_id=new_security_group["id"], - remote_group_id=self.GATEWAY_SECURITY_GROUP_ID - + remote_group_id=self.GATEWAY_SECURITY_GROUP_ID, ) if ssh: LOG.info(f"Add ssh rule to security group {name}") @@ -2589,8 +2591,7 @@ def create_security_group( port_range_max=22, port_range_min=22, security_group_id=new_security_group["id"], - remote_group_id=self.GATEWAY_SECURITY_GROUP_ID - + remote_group_id=self.GATEWAY_SECURITY_GROUP_ID, ) self.conn.network.create_security_group_rule( direction="ingress", @@ -2599,8 +2600,7 @@ def create_security_group( port_range_max=22, port_range_min=22, security_group_id=new_security_group["id"], - remote_group_id=self.GATEWAY_SECURITY_GROUP_ID - + remote_group_id=self.GATEWAY_SECURITY_GROUP_ID, ) for research_enviroment in resenv: if research_enviroment in self.loaded_resenv_metadata: @@ -2695,7 +2695,6 @@ def update_playbooks(self): for name in os.listdir(PLAYBOOKS_DIR) if name not in ["optional", "packer", ".github"] and os.path.isdir(os.path.join(PLAYBOOKS_DIR, name)) - ] LOG.info(self.ALL_TEMPLATES) From ca7c275110c178ea0a35c34da0ea50279a85ed09 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 31 Jul 2022 23:55:56 +0000 Subject: [PATCH 03/18] feat(Dependencies): Update dependency flake8 to v5 | datasource | package | from | to | | ---------- | ------- | ----- | ----- | | pypi | flake8 | 4.0.1 | 5.0.1 | --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 7ec210c1..81c9493b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,7 +5,7 @@ openstacksdk ==0.99.0 deprecated == 1.2.13 ansible==6.1.0 Click==8.1.3 -flake8==4.0.1 +flake8==5.0.1 paramiko==2.11.0 ruamel.yaml==0.17.21 pyvim==3.0.3 From 85e32ce44b1c2a27e27f690b7b6709ab4fe60373 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 1 Aug 2022 07:38:20 +0000 Subject: [PATCH 04/18] feat(Dependencies): Update dependency setuptools to v63.3.0 | datasource | package | from | to | | ---------- | ---------- | ------ | ------ | | pypi | setuptools | 63.2.0 | 63.3.0 | --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 81c9493b..3475cb4d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -setuptools==63.2.0 +setuptools==63.3.0 thrift==0.16.0 python-keystoneclient==5.0.0 openstacksdk ==0.99.0 From b9cf87a514146dfda3f77e128aa5c8f22d717c4a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 1 Aug 2022 23:53:36 +0000 Subject: [PATCH 05/18] feat(Dependencies): Update dependency flake8 to v5.0.3 | datasource | package | from | to | | ---------- | ------- | ----- | ----- | | pypi | flake8 | 5.0.1 | 5.0.3 | --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 3475cb4d..a1790694 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,7 +5,7 @@ openstacksdk ==0.99.0 deprecated == 1.2.13 ansible==6.1.0 Click==8.1.3 -flake8==5.0.1 +flake8==5.0.3 paramiko==2.11.0 ruamel.yaml==0.17.21 pyvim==3.0.3 From 4c3ccef0ca4dcabfc46d9835c4e1526b84870611 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 2 Aug 2022 21:45:11 +0000 Subject: [PATCH 06/18] feat(Dependencies): Update dependency ansible to v6.2.0 | datasource | package | from | to | | ---------- | ------- | ----- | ----- | | pypi | ansible | 6.1.0 | 6.2.0 | --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index a1790694..eea4b36a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,7 +3,7 @@ thrift==0.16.0 python-keystoneclient==5.0.0 openstacksdk ==0.99.0 deprecated == 1.2.13 -ansible==6.1.0 +ansible==6.2.0 Click==8.1.3 flake8==5.0.3 paramiko==2.11.0 From 64df207b72df2ddb0e2d8a137db08593ee5599c5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 3 Aug 2022 05:22:27 +0000 Subject: [PATCH 07/18] feat(Dependencies): Update dependency setuptools to v63.4.0 | datasource | package | from | to | | ---------- | ---------- | ------ | ------ | | pypi | setuptools | 63.3.0 | 63.4.0 | --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index a1790694..70980cc5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -setuptools==63.3.0 +setuptools==63.4.0 thrift==0.16.0 python-keystoneclient==5.0.0 openstacksdk ==0.99.0 From 6f58d1ce30ccd98b9942932e77c95ff20e6e6ce4 Mon Sep 17 00:00:00 2001 From: vktrrdk Date: Wed, 3 Aug 2022 17:02:32 +0200 Subject: [PATCH 08/18] fix(Security): Removed unused import from security scan --- VirtualMachineService/VirtualMachineHandler.py | 1 - 1 file changed, 1 deletion(-) diff --git a/VirtualMachineService/VirtualMachineHandler.py b/VirtualMachineService/VirtualMachineHandler.py index 49b397bc..48a1b156 100644 --- a/VirtualMachineService/VirtualMachineHandler.py +++ b/VirtualMachineService/VirtualMachineHandler.py @@ -58,7 +58,6 @@ import urllib from contextlib import closing from distutils.version import LooseVersion -import typing import redis import requests as req import yaml From 4a70af83b31bafe19bf58ad99e9c858194d657ae Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 3 Aug 2022 15:50:50 +0000 Subject: [PATCH 09/18] feat(Dependencies): Update dependency python to v3.10.6 | datasource | package | from | to | | ---------- | ------- | ------ | ------ | | docker | python | 3.10.5 | 3.10.6 | --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7a533ee3..c0be5095 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10.5-buster +FROM python:3.10.6-buster RUN apt-get update -y RUN apt-get install -y build-essential WORKDIR /code From e3e258c77091c57715438d2bdb16982b04f1c7bd Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 3 Aug 2022 18:41:17 +0000 Subject: [PATCH 10/18] feat(Dependencies): Update dependency setuptools to v63.4.1 | datasource | package | from | to | | ---------- | ---------- | ------ | ------ | | pypi | setuptools | 63.4.0 | 63.4.1 | --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index ab8d4ceb..b959e54f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -setuptools==63.4.0 +setuptools==63.4.1 thrift==0.16.0 python-keystoneclient==5.0.0 openstacksdk ==0.100.0 From 39f64ef0c0ffe49c3914037bdb4394663efebaa0 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 3 Aug 2022 23:52:09 +0000 Subject: [PATCH 11/18] feat(Dependencies): Update dependency flake8 to v5.0.4 | datasource | package | from | to | | ---------- | ------- | ----- | ----- | | pypi | flake8 | 5.0.3 | 5.0.4 | --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index b959e54f..9e0ea5cc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,7 +5,7 @@ openstacksdk ==0.100.0 deprecated == 1.2.13 ansible==6.2.0 Click==8.1.3 -flake8==5.0.3 +flake8==5.0.4 paramiko==2.11.0 ruamel.yaml==0.17.21 pyvim==3.0.3 From 911ffcdbe68080d7541fb54d906ba2e3a2ec2fcb Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 6 Aug 2022 21:03:49 +0000 Subject: [PATCH 12/18] feat(Dependencies): Update dependency setuptools to v63.4.2 | datasource | package | from | to | | ---------- | ---------- | ------ | ------ | | pypi | setuptools | 63.4.1 | 63.4.2 | --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 9e0ea5cc..c9bf03b9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -setuptools==63.4.1 +setuptools==63.4.2 thrift==0.16.0 python-keystoneclient==5.0.0 openstacksdk ==0.100.0 From 4ff3df17945833569b500643026fae3ab363fa15 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 10 Aug 2022 19:52:06 +0000 Subject: [PATCH 13/18] feat(Dependencies): Update dependency setuptools to v63.4.3 | datasource | package | from | to | | ---------- | ---------- | ------ | ------ | | pypi | setuptools | 63.4.2 | 63.4.3 | --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index c9bf03b9..dd29188e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -setuptools==63.4.2 +setuptools==63.4.3 thrift==0.16.0 python-keystoneclient==5.0.0 openstacksdk ==0.100.0 From afa736edb1ea9bad113661cecdfac2dd7f8215c6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 21 Aug 2022 05:12:48 +0000 Subject: [PATCH 14/18] feat(Dependencies): Update dependency andrewrothstein.miniconda to v6.1.6 | datasource | package | from | to | | ---------- | ------------------------- | ------ | ------ | | galaxy | andrewrothstein.miniconda | v6.1.5 | v6.1.6 | --- requirements.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.yml b/requirements.yml index 7d22c965..f8c8c556 100644 --- a/requirements.yml +++ b/requirements.yml @@ -7,6 +7,6 @@ roles: - name: andrewrothstein.miniconda - version: v6.1.5 + version: v6.1.6 - name: andrewrothstein.conda-env From c97822f2897d5abd129fa2b7c590d13189ec6448 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 23 Aug 2022 21:20:28 +0000 Subject: [PATCH 15/18] feat(Dependencies): Update dependency ansible to v6.3.0 | datasource | package | from | to | | ---------- | ------- | ----- | ----- | | pypi | ansible | 6.2.0 | 6.3.0 | --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index dd29188e..d0032cb5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,7 +3,7 @@ thrift==0.16.0 python-keystoneclient==5.0.0 openstacksdk ==0.100.0 deprecated == 1.2.13 -ansible==6.2.0 +ansible==6.3.0 Click==8.1.3 flake8==5.0.4 paramiko==2.11.0 From e82a581e8ea6b829b22fdec3856e52c71c4d3629 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 24 Aug 2022 06:17:20 +0000 Subject: [PATCH 16/18] feat(Dependencies): Update peter-evans/create-pull-request action to v4.1.1 | datasource | package | from | to | | ----------- | ------------------------------- | ------ | ------ | | github-tags | peter-evans/create-pull-request | v4.0.4 | v4.1.1 | --- .github/workflows/blacked.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/blacked.yml b/.github/workflows/blacked.yml index 1189e65c..ca6a8ef5 100644 --- a/.github/workflows/blacked.yml +++ b/.github/workflows/blacked.yml @@ -17,7 +17,7 @@ jobs: - name: Create Pull Request if: steps.git-check.outputs.modified == 'true' id: cpr - uses: peter-evans/create-pull-request@v4.0.4 + uses: peter-evans/create-pull-request@v4.1.1 with: token: ${{ secrets.GITHUB_TOKEN }} commit-message: fix(Linting):blacked code From 3df045749b298a969a61990b902398c23d074b50 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 24 Aug 2022 09:55:06 +0000 Subject: [PATCH 17/18] feat(Dependencies): Update dependency setuptools to v65 | datasource | package | from | to | | ---------- | ---------- | ------ | ------ | | pypi | setuptools | 63.4.3 | 65.2.0 | --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index d0032cb5..26c574fc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -setuptools==63.4.3 +setuptools==65.2.0 thrift==0.16.0 python-keystoneclient==5.0.0 openstacksdk ==0.100.0 From af67b6975c6076cdde2174119628959370a59dae Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 24 Aug 2022 14:30:58 +0000 Subject: [PATCH 18/18] feat(Dependencies): Update dependency setuptools to v65.3.0 | datasource | package | from | to | | ---------- | ---------- | ------ | ------ | | pypi | setuptools | 65.2.0 | 65.3.0 | --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 26c574fc..ad25142d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -setuptools==65.2.0 +setuptools==65.3.0 thrift==0.16.0 python-keystoneclient==5.0.0 openstacksdk ==0.100.0