ci: switch to molecule v4
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2022-12-21 09:14:01 +01:00
parent ae6ea9c7fd
commit 8a4751a02a
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 8 additions and 8 deletions

View File

@ -15,18 +15,18 @@ local PipelineLinting = {
}, },
{ {
name: 'python-format', name: 'python-format',
image: 'python:3.10', image: 'python:3.11',
environment: { environment: {
PY_COLORS: 1, PY_COLORS: 1,
}, },
commands: [ commands: [
'pip install -qq yapf', 'pip install -qq yapf',
'[ -z "$(find . -type f -name *.py)" ] || (yapf -rd ./)', '[ -z "$(find . -type f -name *.py)" ] || (yapf -rd ./)',
], ],
}, },
{ {
name: 'python-flake8', name: 'python-flake8',
image: 'python:3.10', image: 'python:3.11',
environment: { environment: {
PY_COLORS: 1, PY_COLORS: 1,
}, },
@ -58,7 +58,7 @@ local PipelineDeployment(scenario='centos7') = {
steps: [ steps: [
{ {
name: 'ansible-molecule', name: 'ansible-molecule',
image: 'thegeeklab/molecule:3', image: 'thegeeklab/molecule:4',
environment: { environment: {
HCLOUD_TOKEN: { from_secret: 'hcloud_token' }, HCLOUD_TOKEN: { from_secret: 'hcloud_token' },
}, },

View File

@ -13,15 +13,15 @@ steps:
- ansible-later - ansible-later
- name: python-format - name: python-format
image: python:3.10 image: python:3.11
commands: commands:
- pip install -qq yapf - pip install -qq yapf
- "[ -z \"$(find . -type f -name *.py)\" ] || (yapf -rd ./)" - "[ -z \"$(find . -type f -name *.py)\" ] || (yapf -rd ./)"
environment: environment:
PY_COLORS: 1 PY_COLORS: 1
- name: python-flake8 - name: python-flake8
image: python:3.10 image: python:3.11
commands: commands:
- pip install -qq flake8 - pip install -qq flake8
- flake8 - flake8
@ -115,6 +115,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: 98ba4dfc028182d441f42d0682c91df6d810c9b0621817a78144803ab9277ecf hmac: b54b3e4f244f9eb664042a6316f0cbd77b11338b248af0a19095c4884cb091a7
... ...