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
8794b42595
commit
610f32b709
@ -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' },
|
||||||
},
|
},
|
||||||
|
@ -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:
|
||||||
@ -147,6 +147,6 @@ depends_on:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: cfcf9451be440dbd0224516a9f2f773306f727a9cd146da832d791d71233a1c6
|
hmac: 14e1f1282e2097c91f14c7066067ce2ed6278b97f844f345173cfad536e16707
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user