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
a3b1528f2c
commit
45a09d26a8
@ -15,7 +15,7 @@ local PipelineLinting = {
|
||||
},
|
||||
{
|
||||
name: 'python-format',
|
||||
image: 'python:3.10',
|
||||
image: 'python:3.11',
|
||||
environment: {
|
||||
PY_COLORS: 1,
|
||||
},
|
||||
@ -26,7 +26,7 @@ local PipelineLinting = {
|
||||
},
|
||||
{
|
||||
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' },
|
||||
},
|
||||
|
10
.drone.yml
10
.drone.yml
@ -13,7 +13,7 @@ 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 ./)"
|
||||
@ -21,7 +21,7 @@ steps:
|
||||
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: efdb7f123e6f28ddff8a2fcef1870df924a707891bb6fea41280f360588a8b81
|
||||
hmac: e7124f83ad34b0f7651b8599b12b22826c8627da78615d554c382d6b21cdeec5
|
||||
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user