ci: switch to molecule v4
All checks were successful
continuous-integration/drone/push Build is passing

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

View File

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

View File

@ -13,15 +13,15 @@ steps:
- ansible-later
- name: python-format
image: python:3.10
image: python:3.11
commands:
- pip install -qq yapf
- "[ -z \"$(find . -type f -name *.py)\" ] || (yapf -rd ./)"
- "[ -z \"$(find . -type f -name *.py)\" ] || (yapf -rd ./)"
environment:
PY_COLORS: 1
- name: python-flake8
image: python:3.10
image: python:3.11
commands:
- pip install -qq flake8
- flake8
@ -51,7 +51,7 @@ workspace:
steps:
- name: ansible-molecule
image: thegeeklab/molecule:3
image: thegeeklab/molecule:4
commands:
- molecule test -s centos7
environment:
@ -84,7 +84,7 @@ workspace:
steps:
- name: ansible-molecule
image: thegeeklab/molecule:3
image: thegeeklab/molecule:4
commands:
- molecule test -s rocky8
environment:
@ -182,6 +182,6 @@ depends_on:
---
kind: signature
hmac: 3ff6fd77986026bd5a2be2fe3e5501739b7931d89c13c20740bac72d84078214
hmac: 3e64af15d43ca725e555be5b61b8f618ddd0ac29bf403408a439307c8ead0ffe
...