Initial commit
continuous-integration/drone Build is passing
Details
continuous-integration/drone Build is passing
Details
This commit is contained in:
commit
afd3e8e77d
|
@ -0,0 +1,2 @@
|
|||
kind: template
|
||||
load: docker.yaml
|
|
@ -0,0 +1,6 @@
|
|||
[flake8]
|
||||
inline-quotes = "
|
||||
multiline-quotes = """
|
||||
indent-size = 4
|
||||
max-line-length = 160
|
||||
ignore = Q003 E128 E704 E731
|
|
@ -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]
|
|
@ -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
|
|
@ -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
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
#!/usr/bin/env python3
|
||||
raise Exception("foo")
|
Loading…
Reference in New Issue