mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-11-22 04:40:42 +00:00
Merge pull request #39 from thegeeklab/renovate/configure
Configure Renovate
This commit is contained in:
commit
07b81e05da
@ -26,7 +26,7 @@ local PipelineLint = {
|
||||
steps: [
|
||||
{
|
||||
name: 'flake8',
|
||||
image: 'python:3.8',
|
||||
image: 'python:3.9',
|
||||
environment: {
|
||||
PY_COLORS: 1,
|
||||
},
|
||||
@ -54,9 +54,10 @@ local PipelineTest = {
|
||||
PythonVersion(pyversion='3.6'),
|
||||
PythonVersion(pyversion='3.7'),
|
||||
PythonVersion(pyversion='3.8'),
|
||||
PythonVersion(pyversion='3.9'),
|
||||
{
|
||||
name: 'codecov',
|
||||
image: 'python:3.8',
|
||||
image: 'python:3.9',
|
||||
environment: {
|
||||
PY_COLORS: 1,
|
||||
CODECOV_TOKEN: { from_secret: 'codecov_token' },
|
||||
@ -91,7 +92,7 @@ local PipelineSecurity = {
|
||||
steps: [
|
||||
{
|
||||
name: 'bandit',
|
||||
image: 'python:3.8',
|
||||
image: 'python:3.9',
|
||||
environment: {
|
||||
PY_COLORS: 1,
|
||||
},
|
||||
@ -120,7 +121,7 @@ local PipelineBuildPackage = {
|
||||
steps: [
|
||||
{
|
||||
name: 'build',
|
||||
image: 'python:3.8',
|
||||
image: 'python:3.9',
|
||||
commands: [
|
||||
'python setup.py sdist bdist_wheel',
|
||||
],
|
||||
@ -178,7 +179,7 @@ local PipelineBuildContainer(arch='amd64') = {
|
||||
steps: [
|
||||
{
|
||||
name: 'build',
|
||||
image: 'python:3.8',
|
||||
image: 'python:3.9',
|
||||
commands: [
|
||||
'python setup.py bdist_wheel',
|
||||
],
|
||||
@ -253,10 +254,9 @@ local PipelineDocs = {
|
||||
steps: [
|
||||
{
|
||||
name: 'assets',
|
||||
image: 'byrnedo/alpine-curl',
|
||||
image: 'thegeeklab/alpine-tools',
|
||||
commands: [
|
||||
'mkdir -p docs/themes/hugo-geekdoc/',
|
||||
'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',
|
||||
'make doc',
|
||||
],
|
||||
},
|
||||
{
|
||||
|
34
.drone.yml
34
.drone.yml
@ -8,7 +8,7 @@ platform:
|
||||
|
||||
steps:
|
||||
- name: flake8
|
||||
image: python:3.8
|
||||
image: python:3.9
|
||||
commands:
|
||||
- pip install -r dev-requirements.txt -qq
|
||||
- pip install -qq .
|
||||
@ -83,8 +83,21 @@ steps:
|
||||
depends_on:
|
||||
- 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
|
||||
image: python:3.8
|
||||
image: python:3.9
|
||||
commands:
|
||||
- pip install codecov -qq
|
||||
- codecov --required -X gcov
|
||||
@ -117,7 +130,7 @@ platform:
|
||||
|
||||
steps:
|
||||
- name: bandit
|
||||
image: python:3.8
|
||||
image: python:3.9
|
||||
commands:
|
||||
- pip install -r dev-requirements.txt -qq
|
||||
- pip install -qq .
|
||||
@ -144,7 +157,7 @@ platform:
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: python:3.8
|
||||
image: python:3.9
|
||||
commands:
|
||||
- python setup.py sdist bdist_wheel
|
||||
|
||||
@ -200,7 +213,7 @@ platform:
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: python:3.8
|
||||
image: python:3.9
|
||||
commands:
|
||||
- python setup.py bdist_wheel
|
||||
|
||||
@ -276,7 +289,7 @@ platform:
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: python:3.8
|
||||
image: python:3.9
|
||||
commands:
|
||||
- python setup.py bdist_wheel
|
||||
|
||||
@ -352,7 +365,7 @@ platform:
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: python:3.8
|
||||
image: python:3.9
|
||||
commands:
|
||||
- python setup.py bdist_wheel
|
||||
|
||||
@ -431,10 +444,9 @@ concurrency:
|
||||
|
||||
steps:
|
||||
- name: assets
|
||||
image: byrnedo/alpine-curl
|
||||
image: thegeeklab/alpine-tools
|
||||
commands:
|
||||
- mkdir -p docs/themes/hugo-geekdoc/
|
||||
- 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
|
||||
- make doc
|
||||
|
||||
- name: markdownlint
|
||||
image: node:lts-alpine
|
||||
@ -600,6 +612,6 @@ depends_on:
|
||||
|
||||
---
|
||||
kind: signature
|
||||
hmac: c698684952096d475443bdc0acf44b6c4c4fd45b928f36504fd79c7ec68b82a8
|
||||
hmac: 6acd5ac50b0b72bac4369915f173bb9ee4a279923cfbef91909feceadf07ee35
|
||||
|
||||
...
|
||||
|
@ -1,9 +1,9 @@
|
||||
pydocstyle<4.0.0
|
||||
pydocstyle
|
||||
flake8
|
||||
flake8-colors
|
||||
flake8-blind-except
|
||||
flake8-builtins
|
||||
flake8-docstrings<=3.0.0
|
||||
flake8-docstrings
|
||||
flake8-isort
|
||||
flake8-logging-format
|
||||
flake8-polyfill
|
||||
|
14
renovate.json
Normal file
14
renovate.json
Normal 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
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user