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:13:41 +01:00
parent fe24ff2a30
commit 9f54dddfd3
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 10 additions and 10 deletions

View File

@ -15,7 +15,7 @@ local PipelineLinting = {
}, },
{ {
name: 'python-format', name: 'python-format',
image: 'python:3.10', image: 'python:3.11',
environment: { environment: {
PY_COLORS: 1, PY_COLORS: 1,
}, },
@ -26,7 +26,7 @@ local PipelineLinting = {
}, },
{ {
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,7 +13,7 @@ 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 ./)"
@ -21,7 +21,7 @@ steps:
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
@ -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 centos7 - molecule test -s centos7
environment: environment:
@ -84,7 +84,7 @@ workspace:
steps: steps:
- name: ansible-molecule - name: ansible-molecule
image: thegeeklab/molecule:3 image: thegeeklab/molecule:4
commands: commands:
- molecule test -s rocky8 - molecule test -s rocky8
environment: environment:
@ -182,6 +182,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: 9a838fe594bd343210f89cc1fd75a9d419de77470f0597a84a7e7fa18efeef63 hmac: 0288f755b230f840c209e971378d0b3177ffb17f62f0bd4a0916b3bc2fca8bc6
... ...