make CI great again

This commit is contained in:
Quentin Ferrand 2022-04-24 20:50:16 +02:00
parent 0bde8222ce
commit c0ef9524e8
3 changed files with 20 additions and 18 deletions

View file

@ -33,21 +33,21 @@ steps:
password: password:
from_secret: docker_password from_secret: docker_password
repo: takaoni/tenkan repo: takaoni/tenkan
tags: latest tags: '1.2'
when: when:
branch: branch:
- master - master
- name: deploy_kube # - name: deploy_kube
image: takaoni/drone-kube # image: takaoni/drone-kube
settings: # settings:
template: apps/tenkan.yaml # template: apps/tenkan.yaml
namespace: gemini # namespace: gemini
server: # server:
from_secret: kube_server # from_secret: kube_server
when: # when:
branch: # branch:
- master # - master
host_aliases: host_aliases:
- ip: 192.168.0.210 - ip: 192.168.0.210

2
.gitignore vendored
View file

@ -139,3 +139,5 @@ cython_debug/
.chglog/ .chglog/
tests/data/ tests/data/
docker/

View file

@ -8,7 +8,7 @@ repos:
- id: check-added-large-files - id: check-added-large-files
- id: double-quote-string-fixer - id: double-quote-string-fixer
- id: fix-encoding-pragma - id: fix-encoding-pragma
- id: no-commit-to-branch # - id: no-commit-to-branch
exclude: 'data/tests/' exclude: 'data/tests/'
- id: name-tests-test - id: name-tests-test
- repo: https://gitlab.com/pycqa/flake8 - repo: https://gitlab.com/pycqa/flake8
@ -53,9 +53,9 @@ repos:
entry: pylint --disable=E1101,E0401,C0301,W1514 --ignore=__init__.py --ignore-patterns=(.)*_test\.py,test_(.)*\.py entry: pylint --disable=E1101,E0401,C0301,W1514 --ignore=__init__.py --ignore-patterns=(.)*_test\.py,test_(.)*\.py
language: system language: system
types: [python] types: [python]
- id: pytest # - id: pytest
name: Check pytest unit tests pass # name: Check pytest unit tests pass
entry: pytest # entry: pytest
pass_filenames: false # pass_filenames: false
language: system # language: system
types: [python] # types: [python]