Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1082 from deNBI/staging
Browse files Browse the repository at this point in the history
Staging
  • Loading branch information
dweinholz authored May 13, 2022
2 parents 5cc571a + fd0fbd2 commit 0be9513
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/blacked.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Create Pull Request
if: steps.git-check.outputs.modified == 'true'
id: cpr
uses: peter-evans/[email protected].2
uses: peter-evans/[email protected].3
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: fix(Linting):blacked code
Expand Down
8 changes: 7 additions & 1 deletion VirtualMachineService/ancon/Playbook.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@


class Playbook(object):

ACTIVE = "ACTIVE"
PLAYBOOK_FAILED = "PLAYBOOK_FAILED"

Expand All @@ -57,6 +56,9 @@ def __init__(
None # init process, returncode, standard output, standard error output
)
self.returncode = -1
self.playbooks_information = playbooks_information
LOG.exception(self.playbooks_information)

self.stdout = ""
self.stderr = ""
# init temporary directories and mandatory generic files
Expand Down Expand Up @@ -145,10 +147,14 @@ def load_vars():
data[playbook_name + "_tools"][k] = p_dict
if playbook_name in self.loaded_metadata_keys:
for k, v in playbook_vars.items():
LOG.info(playbook_vars)
if k == "template_version":
data[playbook_name + "_vars"][k] = v
if k == "create_only_backend":
data[playbook_name + "_vars"][k] = v
if k == "base_url":
data[playbook_name + "_vars"][k] = v

if playbook_name == OPTIONAL:
for k, v in playbook_vars.items():
if k == MOSH:
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
setuptools==62.1.0
setuptools==62.2.0
thrift==0.16.0
python-keystoneclient
openstacksdk ==0.61.0
Expand All @@ -9,6 +9,6 @@ flake8==4.0.1
paramiko==2.10.4
ruamel.yaml==0.17.21
pyvim==3.0.2
redis==4.2.2
redis==4.3.1
requests==2.27.1
pyyaml==6.0

0 comments on commit 0be9513

Please sign in to comment.