Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
default_language_version:
# force all unspecified python hooks to run python3
python: python3
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
hooks:
- id: trailing-whitespace
- id: mixed-line-ending
args: ['--fix', 'lf']
exclude: '.*\.(svg)$'
- id: check-byte-order-marker
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: debug-statements
- id: check-yaml
files: .*\.(yaml|yml)$
- repo: local
hooks:
- id: flake8
name: flake8
additional_dependencies:
- hacking>=3.0.1,<3.1.0
language: python
entry: flake8
files: '^.*\.py$'
exclude: '^(doc|releasenotes|tools)/.*$'
3 changes: 3 additions & 0 deletions .zuul.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,16 @@
jobs:
- otc-tox-pep8
- otc-tox-py38
- otc-tox-functional
- apimon-build-image
check-post:
jobs:
- apimon-upload-image
gate:
jobs:
- otc-tox-pep8
- otc-tox-py38
- otc-tox-functional
- apimon-upload-image
release:
jobs:
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
FROM fedora:33
FROM fedora:35

LABEL description="APImon (OpenStack API monitoring) container"
LABEL maintainer="Open Telekom Cloud (ecosystem)"
Expand All @@ -34,7 +34,7 @@ WORKDIR /usr/app

COPY ./requirements.txt /usr/app/requirements.txt

RUN \
RUN \
git clone https://github.com/opentelekomcloud/python-otcextensions && \
# git clone https://github.com/ansible/ansible --branch stable-2.10 && \
git clone https://review.opendev.org/openstack/openstacksdk
Expand Down
Loading