Initial commit
continuous-integration/drone Build is passing

This commit is contained in:
2022-08-02 14:06:19 +03:00
commit afd3e8e77d
6 changed files with 32 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
kind: template
load: docker.yaml
+6
View File
@@ -0,0 +1,6 @@
[flake8]
inline-quotes = "
multiline-quotes = """
indent-size = 4
max-line-length = 160
ignore = Q003 E128 E704 E731
+6
View File
@@ -0,0 +1,6 @@
repos:
- repo: https://github.com/PyCQA/flake8
rev: 3.9.2
hooks:
- id: flake8
additional_dependencies: [flake8-typing-imports==1.10.0,flake8-quotes==3.2.0]
+4
View File
@@ -0,0 +1,4 @@
FROM harbor.k-space.ee/k-space/microservice-base
ADD exception-test.py /exception-test.py
ENV PYTHONUNBUFFERED=1
ENTRYPOINT /exception-test.py
+12
View File
@@ -0,0 +1,12 @@
version: '3.7'
services:
exception-test:
restart: always
network_mode: host
build:
context: .
# entrypoint: /app/camdetect.py
# command: http://user:123456@localhost:8080/?action=stream
# environment: *common
+2
View File
@@ -0,0 +1,2 @@
#!/usr/bin/env python3
raise Exception("foo")