Merge pull request #39 from thegeeklab/renovate/configure

Configure Renovate
This commit is contained in:
Robert Kaussow 2020-11-14 20:02:37 +01:00 committed by GitHub
commit 07b81e05da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 48 additions and 21 deletions

View File

@ -26,7 +26,7 @@ local PipelineLint = {
steps: [ steps: [
{ {
name: 'flake8', name: 'flake8',
image: 'python:3.8', image: 'python:3.9',
environment: { environment: {
PY_COLORS: 1, PY_COLORS: 1,
}, },
@ -54,9 +54,10 @@ local PipelineTest = {
PythonVersion(pyversion='3.6'), PythonVersion(pyversion='3.6'),
PythonVersion(pyversion='3.7'), PythonVersion(pyversion='3.7'),
PythonVersion(pyversion='3.8'), PythonVersion(pyversion='3.8'),
PythonVersion(pyversion='3.9'),
{ {
name: 'codecov', name: 'codecov',
image: 'python:3.8', image: 'python:3.9',
environment: { environment: {
PY_COLORS: 1, PY_COLORS: 1,
CODECOV_TOKEN: { from_secret: 'codecov_token' }, CODECOV_TOKEN: { from_secret: 'codecov_token' },
@ -91,7 +92,7 @@ local PipelineSecurity = {
steps: [ steps: [
{ {
name: 'bandit', name: 'bandit',
image: 'python:3.8', image: 'python:3.9',
environment: { environment: {
PY_COLORS: 1, PY_COLORS: 1,
}, },
@ -120,7 +121,7 @@ local PipelineBuildPackage = {
steps: [ steps: [
{ {
name: 'build', name: 'build',
image: 'python:3.8', image: 'python:3.9',
commands: [ commands: [
'python setup.py sdist bdist_wheel', 'python setup.py sdist bdist_wheel',
], ],
@ -178,7 +179,7 @@ local PipelineBuildContainer(arch='amd64') = {
steps: [ steps: [
{ {
name: 'build', name: 'build',
image: 'python:3.8', image: 'python:3.9',
commands: [ commands: [
'python setup.py bdist_wheel', 'python setup.py bdist_wheel',
], ],
@ -253,10 +254,9 @@ local PipelineDocs = {
steps: [ steps: [
{ {
name: 'assets', name: 'assets',
image: 'byrnedo/alpine-curl', image: 'thegeeklab/alpine-tools',
commands: [ commands: [
'mkdir -p docs/themes/hugo-geekdoc/', 'make doc',
'curl -L https://github.com/thegeeklab/hugo-geekdoc/releases/latest/download/hugo-geekdoc.tar.gz | tar -xz -C docs/themes/hugo-geekdoc/ --strip-components=1',
], ],
}, },
{ {

View File

@ -8,7 +8,7 @@ platform:
steps: steps:
- name: flake8 - name: flake8
image: python:3.8 image: python:3.9
commands: commands:
- pip install -r dev-requirements.txt -qq - pip install -r dev-requirements.txt -qq
- pip install -qq . - pip install -qq .
@ -83,8 +83,21 @@ steps:
depends_on: depends_on:
- clone - clone
- name: python39-pytest
image: python:3.9
commands:
- pip install -r dev-requirements.txt -qq
- pip install -qq .
- pytest ansiblelater --cov=ansiblelater --cov-append --no-cov-on-fail
- ansible-later --help
- ansible-later --version
environment:
PY_COLORS: 1
depends_on:
- clone
- name: codecov - name: codecov
image: python:3.8 image: python:3.9
commands: commands:
- pip install codecov -qq - pip install codecov -qq
- codecov --required -X gcov - codecov --required -X gcov
@ -117,7 +130,7 @@ platform:
steps: steps:
- name: bandit - name: bandit
image: python:3.8 image: python:3.9
commands: commands:
- pip install -r dev-requirements.txt -qq - pip install -r dev-requirements.txt -qq
- pip install -qq . - pip install -qq .
@ -144,7 +157,7 @@ platform:
steps: steps:
- name: build - name: build
image: python:3.8 image: python:3.9
commands: commands:
- python setup.py sdist bdist_wheel - python setup.py sdist bdist_wheel
@ -200,7 +213,7 @@ platform:
steps: steps:
- name: build - name: build
image: python:3.8 image: python:3.9
commands: commands:
- python setup.py bdist_wheel - python setup.py bdist_wheel
@ -276,7 +289,7 @@ platform:
steps: steps:
- name: build - name: build
image: python:3.8 image: python:3.9
commands: commands:
- python setup.py bdist_wheel - python setup.py bdist_wheel
@ -352,7 +365,7 @@ platform:
steps: steps:
- name: build - name: build
image: python:3.8 image: python:3.9
commands: commands:
- python setup.py bdist_wheel - python setup.py bdist_wheel
@ -431,10 +444,9 @@ concurrency:
steps: steps:
- name: assets - name: assets
image: byrnedo/alpine-curl image: thegeeklab/alpine-tools
commands: commands:
- mkdir -p docs/themes/hugo-geekdoc/ - make doc
- curl -L https://github.com/thegeeklab/hugo-geekdoc/releases/latest/download/hugo-geekdoc.tar.gz | tar -xz -C docs/themes/hugo-geekdoc/ --strip-components=1
- name: markdownlint - name: markdownlint
image: node:lts-alpine image: node:lts-alpine
@ -600,6 +612,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: c698684952096d475443bdc0acf44b6c4c4fd45b928f36504fd79c7ec68b82a8 hmac: 6acd5ac50b0b72bac4369915f173bb9ee4a279923cfbef91909feceadf07ee35
... ...

View File

@ -1,9 +1,9 @@
pydocstyle<4.0.0 pydocstyle
flake8 flake8
flake8-colors flake8-colors
flake8-blind-except flake8-blind-except
flake8-builtins flake8-builtins
flake8-docstrings<=3.0.0 flake8-docstrings
flake8-isort flake8-isort
flake8-logging-format flake8-logging-format
flake8-polyfill flake8-polyfill

14
renovate.json Normal file
View File

@ -0,0 +1,14 @@
{
"extends": ["config:base"],
"regexManagers": [
{
"fileMatch": ["^Makefile$"],
"matchStrings": [
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( versioning=(?<versioning>.*?))?\\n.*?_VERSION := (?<currentValue>.*)\\s"
]
}
],
"droneci": {
"enabled": false
}
}

View File

@ -55,6 +55,7 @@ setup(
"Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Utilities", "Topic :: Utilities",
"Topic :: Software Development", "Topic :: Software Development",
], ],