Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#55: Create an endpoint for grafana alerts #60

Merged
merged 2 commits into from
Jan 15, 2022
Merged

#55: Create an endpoint for grafana alerts #60

merged 2 commits into from
Jan 15, 2022

Conversation

dgroup
Copy link
Owner

@dgroup dgroup commented Jan 15, 2022

@dgroup dgroup added this to the 0.2.0 milestone Jan 15, 2022
@codecov
Copy link

codecov bot commented Jan 15, 2022

Codecov Report

Merging #60 (20d2e29) into master (076ab31) will increase coverage by 2.36%.
The diff coverage is 92.68%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #60      +/-   ##
==========================================
+ Coverage   95.00%   97.36%   +2.36%     
==========================================
  Files           5        6       +1     
  Lines         100      114      +14     
==========================================
+ Hits           95      111      +16     
+ Misses          5        3       -2     
Impacted Files Coverage Δ
g2w/gitlab.py 100.00% <ø> (ø)
g2w/ws.py 91.42% <86.36%> (+5.31%) ⬆️
g2w/__init__.py 100.00% <100.00%> (ø)
g2w/__main__.py 100.00% <100.00%> (ø)
g2w/grafana.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 076ab31...20d2e29. Read the comment docs.

@dgroup
Copy link
Owner Author

dgroup commented Jan 15, 2022

@rultor merge

@rultor
Copy link
Collaborator

rultor commented Jan 15, 2022

@rultor merge

@dgroup OK, I'll try to merge now. You can check the progress of the merge here

@rultor
Copy link
Collaborator

rultor commented Jan 15, 2022

@rultor merge

@dgroup Oops, I failed. You can see the full log here (spent 3min)

\u001b[?25h  Created wheel for Airspeed: filename=airspeed-0.5.17-py3-none-any.whl size=11505 sha256=e6f654bb1769153934bc7f78496ff0ff121b4c98e3a304fcfbf6f1c2638cdbf6
  Stored in directory: /home/r/.cache/pip/wheels/75/f5/75/8210d94d7f069281627639f432ae37b3137d6404d9bc226a8f
Successfully built Airspeed
Installing collected packages: urllib3, charset-normalizer, idna, certifi, requests, six, requests-mock, types-urllib3, types-requests, pluggy, pyparsing, packaging, py, attrs, toml, iniconfig, pytest, sniffio, anyio, starlette, typing-extensions, pydantic, fastapi, click, asgiref, h11, python-dotenv, watchgod, httptools, PyYAML, websockets, uvloop, uvicorn, cachetools, Airspeed, coverage, mccabe, pycodestyle, pyflakes, flake8, platformdirs, mypy-extensions, tomli, pathspec, black, isort, pytest-cov, codecov, mypy, gitchangelog, zipp, importlib-metadata, Markdown, python-dateutil, ghp-import, MarkupSafe, Jinja2, pyyaml-env-tag, watchdog, mergedeep, mkdocs, g2w
\u001b[33m  WARNING: The script normalizer is installed in '/home/r/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.\u001b[0m
\u001b[33m  WARNING: The scripts py.test and pytest are installed in '/home/r/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.\u001b[0m
\u001b[33m  WARNING: The script dotenv is installed in '/home/r/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.\u001b[0m
\u001b[33m  WARNING: The script watchgod is installed in '/home/r/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.\u001b[0m
\u001b[33m  WARNING: The script uvicorn is installed in '/home/r/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.\u001b[0m
\u001b[33m  WARNING: The scripts coverage, coverage-3.8 and coverage3 are installed in '/home/r/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.\u001b[0m
\u001b[33m  WARNING: The script pycodestyle is installed in '/home/r/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.\u001b[0m
\u001b[33m  WARNING: The script pyflakes is installed in '/home/r/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.\u001b[0m
\u001b[33m  WARNING: The script flake8 is installed in '/home/r/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.\u001b[0m
\u001b[33m  WARNING: The scripts black, black-primer and blackd are installed in '/home/r/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.\u001b[0m
\u001b[33m  WARNING: The scripts isort and isort-identify-imports are installed in '/home/r/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.\u001b[0m
\u001b[33m  WARNING: The script codecov is installed in '/home/r/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.\u001b[0m
\u001b[33m  WARNING: The scripts dmypy, mypy, mypyc, stubgen and stubtest are installed in '/home/r/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.\u001b[0m
\u001b[33m  WARNING: The script gitchangelog is installed in '/home/r/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.\u001b[0m
\u001b[33m  WARNING: The script markdown_py is installed in '/home/r/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.\u001b[0m
\u001b[33m  WARNING: The script ghp-import is installed in '/home/r/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.\u001b[0m
\u001b[33m  WARNING: The script watchmedo is installed in '/home/r/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.\u001b[0m
\u001b[33m  WARNING: The script mkdocs is installed in '/home/r/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.\u001b[0m
  Running setup.py develop for g2w
Successfully installed Airspeed-0.5.17 Jinja2-3.0.3 Markdown-3.3.6 MarkupSafe-2.0.1 PyYAML-6.0 anyio-3.5.0 asgiref-3.4.1 attrs-21.4.0 black-21.12b0 cachetools-5.0.0 certifi-2021.10.8 charset-normalizer-2.0.10 click-8.0.3 codecov-2.1.12 coverage-6.2 fastapi-0.71.0 flake8-4.0.1 g2w ghp-import-2.0.2 gitchangelog-3.0.4 h11-0.12.0 httptools-0.3.0 idna-3.3 importlib-metadata-4.10.0 iniconfig-1.1.1 isort-5.10.1 mccabe-0.6.1 mergedeep-1.3.4 mkdocs-1.2.3 mypy-0.931 mypy-extensions-0.4.3 packaging-21.3 pathspec-0.9.0 platformdirs-2.4.1 pluggy-1.0.0 py-1.11.0 pycodestyle-2.8.0 pydantic-1.9.0 pyflakes-2.4.0 pyparsing-3.0.6 pytest-6.2.5 pytest-cov-3.0.0 python-dateutil-2.8.2 python-dotenv-0.19.2 pyyaml-env-tag-0.1 requests-2.27.1 requests-mock-1.9.3 six-1.16.0 sniffio-1.2.0 starlette-0.17.1 toml-0.10.2 tomli-1.2.3 types-requests-2.27.7 types-urllib3-1.26.7 typing-extensions-4.0.1 urllib3-1.26.8 uvicorn-0.17.0 uvloop-0.16.0 watchdog-2.1.6 watchgod-0.7 websockets-10.1 zipp-3.7.0
\u001b[33mWARNING: You are using pip version 20.2.3; however, version 21.3.1 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.\u001b[0m
+ make test
flake8 g2w/
black -l 79 g2w/
black -l 200 tests/
black -l 79 --check g2w/
black -l 200 --check tests/
mypy --ignore-missing-imports g2w/
/bin/sh: 1: flake8: not found
/bin/sh: 2: black: not found
/bin/sh: 3: black: not found
/bin/sh: 4: black: not found
/bin/sh: 5: black: not found
/bin/sh: 6: mypy: not found
make: *** [Makefile:35: lint] Error 127
container 41da3b23ac75b47af41888267961db1ff5bde3285a92301708e1fcfe4e2c7feb is dead
Sat Jan 15 21:26:43 CET 2022

@dgroup
Copy link
Owner Author

dgroup commented Jan 15, 2022

@rultor merge

@rultor
Copy link
Collaborator

rultor commented Jan 15, 2022

@rultor merge

@dgroup OK, I'll try to merge now. You can check the progress of the merge here

@rultor
Copy link
Collaborator

rultor commented Jan 15, 2022

@rultor merge

@dgroup Done! FYI, the full log is here (took me 3min)

@dgroup dgroup closed this Jan 15, 2022
@dgroup dgroup reopened this Jan 15, 2022
@dgroup dgroup merged commit 587ce6b into master Jan 15, 2022
@sonarcloud
Copy link

sonarcloud bot commented Jan 15, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants