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:41 +01:00
parent cffe9f7dc0
commit 624e400723
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 5 additions and 5 deletions

View File

@ -21,7 +21,7 @@ local PipelineLinting = {
}, },
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 ./',
], ],
}, },
{ {
@ -58,7 +58,7 @@ local PipelineDeployment(scenario='rocky9') = {
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

@ -16,7 +16,7 @@ steps:
image: python:3.9 image: python:3.9
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
@ -51,7 +51,7 @@ workspace:
steps: steps:
- name: ansible-molecule - name: ansible-molecule
image: thegeeklab/molecule:3 image: thegeeklab/molecule:4
commands: commands:
- molecule test -s rocky9 - molecule test -s rocky9
environment: environment:
@ -147,6 +147,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: a69e9862d4a51a21259fbe8ec358e64711e605febd93921fda361b75f0932962 hmac: bef22b3fdb4e8d89bc1bd248ccecd1572a8fcf1e490d60b6fab4b6c517814912
... ...