ci: switch to molecule v4
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
17da0aa95b
commit
b4b1a15c8a
@ -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' },
|
||||
},
|
||||
|
10
.drone.yml
10
.drone.yml
@ -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: 602b8adce8ee2268d2ded0ad9a26963461aaa5796b5a3f7e39cf5d38a4b325b0
|
||||
hmac: 6784db9f8341a57f7309c82a1b0fff7fe5980453235d3664f3bce87f1e77170d
|
||||
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user