Skip to content

Commit 78e44e5

Browse files
author
alexquali
committed
Discovery and outlet state flows implementation
1 parent fecae6e commit 78e44e5

25 files changed

Lines changed: 778 additions & 0 deletions
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: check version
2+
on:
3+
pull_request:
4+
paths-ignore:
5+
- README.md
6+
- docs/readme.md
7+
- docs/readme.rst
8+
branches:
9+
- master
10+
jobs:
11+
check-version:
12+
uses: QualiSystems/.github/.github/workflows/shell-check-version.yml@master
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: github release
2+
on:
3+
push:
4+
paths-ignore:
5+
- README.md
6+
- docs/readme.md
7+
- docs/readme.rst
8+
branches:
9+
- master
10+
jobs:
11+
shell-ci:
12+
uses: QualiSystems/.github/.github/workflows/shell-py-39.yml@master
13+
github-release:
14+
needs: shell-ci
15+
uses: QualiSystems/.github/.github/workflows/shell-github-release.yml@master

.github/workflows/shell.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Shell CI
2+
on:
3+
push:
4+
paths-ignore:
5+
- README.md
6+
- docs/readme.md
7+
- docs/readme.rst
8+
branches-ignore:
9+
- master
10+
jobs:
11+
shell-ci:
12+
uses: QualiSystems/.github/.github/workflows/shell-py-39.yml@master
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: update release
2+
on: workflow_dispatch
3+
jobs:
4+
shell-ci:
5+
uses: QualiSystems/.github/.github/workflows/shell-py-39.yml@master
6+
with:
7+
run-pre-commit: false
8+
github-release:
9+
needs: shell-ci
10+
uses: QualiSystems/.github/.github/workflows/shell-github-release.yml@master
11+
with:
12+
update: true

.gitignore

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
env/
12+
build/
13+
develop-eggs/
14+
dist/
15+
downloads/
16+
eggs/
17+
.eggs/
18+
lib/
19+
lib64/
20+
parts/
21+
sdist/
22+
var/
23+
*.egg-info/
24+
.installed.cfg
25+
*.egg
26+
27+
# PyInstaller
28+
# Usually these files are written by a python script from a template
29+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
30+
*.manifest
31+
*.spec
32+
33+
# Installer logs
34+
pip-log.txt
35+
pip-delete-this-directory.txt
36+
37+
# Unit test / coverage reports
38+
htmlcov/
39+
.tox/
40+
.coverage
41+
.coverage.*
42+
.cache
43+
nosetests.xml
44+
coverage.xml
45+
*,cover
46+
.hypothesis/
47+
48+
# Translations
49+
*.mo
50+
*.pot
51+
52+
# Django stuff:
53+
*.log
54+
55+
# Sphinx documentation
56+
docs/_build/
57+
58+
# PyBuilder
59+
target/
60+
cloudshell_config.yml
61+
62+
.idea/
63+
ServerTechnologyShell2GDriver.zip
64+
src/test*

.pre-commit-config.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
repos:
2+
- repo: https://github.com/asottile/pyupgrade
3+
rev: v3.3.1
4+
hooks:
5+
- id: pyupgrade
6+
args:
7+
- "--py39-plus"
8+
- repo: https://github.com/timothycrosley/isort
9+
rev: 5.12.0
10+
hooks:
11+
- id: isort
12+
- repo: https://github.com/python/black
13+
rev: 22.12.0
14+
hooks:
15+
- id: black
16+
- repo: https://github.com/PyCQA/flake8
17+
rev: 5.0.4
18+
hooks:
19+
- id: flake8
20+
additional_dependencies: [
21+
flake8-docstrings,
22+
flake8-builtins,
23+
flake8-comprehensions,
24+
flake8-print,
25+
flake8-eradicate,
26+
]

TOSCA-Metadata/TOSCA.meta

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
TOSCA-Meta-File-Version: 1.0
2+
CSAR-Version: 0.1.0
3+
Created-By: Quali
4+
Entry-Definitions: shell-definition.yaml

cloudshell/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from pkgutil import extend_path
2+
3+
__path__ = extend_path(__path__, __name__)

cloudshell/server_tech/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from pkgutil import extend_path
2+
3+
__path__ = extend_path(__path__, __name__)
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from pkgutil import extend_path
2+
3+
__path__ = extend_path(__path__, __name__)

0 commit comments

Comments
 (0)