mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-11-22 12:50:42 +00:00
BREAKING CHANGE: drop Python 3.5 support
This commit is contained in:
parent
a2043d6c0f
commit
e36d4f112d
@ -1,4 +1,4 @@
|
|||||||
local PythonVersion(pyversion='3.5') = {
|
local PythonVersion(pyversion='3.6') = {
|
||||||
name: 'python' + std.strReplace(pyversion, '.', '') + '-pytest',
|
name: 'python' + std.strReplace(pyversion, '.', '') + '-pytest',
|
||||||
image: 'python:' + pyversion,
|
image: 'python:' + pyversion,
|
||||||
environment: {
|
environment: {
|
||||||
@ -60,7 +60,6 @@ local PipelineTest = {
|
|||||||
'git fetch -tq',
|
'git fetch -tq',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
PythonVersion(pyversion='3.5'),
|
|
||||||
PythonVersion(pyversion='3.6'),
|
PythonVersion(pyversion='3.6'),
|
||||||
PythonVersion(pyversion='3.7'),
|
PythonVersion(pyversion='3.7'),
|
||||||
PythonVersion(pyversion='3.8'),
|
PythonVersion(pyversion='3.8'),
|
||||||
@ -77,10 +76,10 @@ local PipelineTest = {
|
|||||||
'codecov --required -X gcov',
|
'codecov --required -X gcov',
|
||||||
],
|
],
|
||||||
depends_on: [
|
depends_on: [
|
||||||
'python35-pytest',
|
|
||||||
'python36-pytest',
|
'python36-pytest',
|
||||||
'python37-pytest',
|
'python37-pytest',
|
||||||
'python38-pytest',
|
'python38-pytest',
|
||||||
|
'python39-pytest',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
19
.drone.yml
19
.drone.yml
@ -40,19 +40,6 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- git fetch -tq
|
- git fetch -tq
|
||||||
|
|
||||||
- name: python35-pytest
|
|
||||||
image: python:3.5
|
|
||||||
commands:
|
|
||||||
- pip install poetry poetry-dynamic-versioning -qq
|
|
||||||
- poetry install -q
|
|
||||||
- poetry run pytest ansiblelater --cov=ansiblelater --cov-append --no-cov-on-fail
|
|
||||||
- poetry version
|
|
||||||
- poetry run ansible-later --help
|
|
||||||
environment:
|
|
||||||
PY_COLORS: 1
|
|
||||||
depends_on:
|
|
||||||
- clone
|
|
||||||
|
|
||||||
- name: python36-pytest
|
- name: python36-pytest
|
||||||
image: python:3.6
|
image: python:3.6
|
||||||
commands:
|
commands:
|
||||||
@ -115,10 +102,10 @@ steps:
|
|||||||
from_secret: codecov_token
|
from_secret: codecov_token
|
||||||
PY_COLORS: 1
|
PY_COLORS: 1
|
||||||
depends_on:
|
depends_on:
|
||||||
- python35-pytest
|
|
||||||
- python36-pytest
|
- python36-pytest
|
||||||
- python37-pytest
|
- python37-pytest
|
||||||
- python38-pytest
|
- python38-pytest
|
||||||
|
- python39-pytest
|
||||||
|
|
||||||
image_pull_secrets:
|
image_pull_secrets:
|
||||||
- docker_config
|
- docker_config
|
||||||
@ -677,8 +664,4 @@ trigger:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- docs
|
- docs
|
||||||
|
|
||||||
---
|
|
||||||
kind: signature
|
|
||||||
hmac: e4769957c0f74e3e94d504d92b80cb32e181d06eab5730b8b61a8aa65fcc8c87
|
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user