ci: switch to molecule v4
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Robert Kaussow 2022-12-21 09:14:35 +01:00
parent bbf0e8e5da
commit 17dd793525
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 9 additions and 9 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='rocky8') = {
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 rocky8
environment:
@ -147,6 +147,6 @@ depends_on:
---
kind: signature
hmac: 651bd560a1f38bf550477d7da31c11ebb9a23b5cd7281ae39adf4b5450a7e833
hmac: a4bc0cc4545d1f4960c4285426b5cd26a93b1ec58a4b514788bafd8c56e0088d
...