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
d94fc1292c
commit
1bd2e477b3
@ -15,18 +15,18 @@ local PipelineLinting = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'python-format',
|
name: 'python-format',
|
||||||
image: 'python:3.10',
|
image: 'python:3.11',
|
||||||
environment: {
|
environment: {
|
||||||
PY_COLORS: 1,
|
PY_COLORS: 1,
|
||||||
},
|
},
|
||||||
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 ./)',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
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' },
|
||||||
},
|
},
|
||||||
|
12
.drone.yml
12
.drone.yml
@ -13,15 +13,15 @@ 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 ./)"
|
||||||
environment:
|
environment:
|
||||||
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: 080d90f52bc020d4d61d6135573c0e97b95eb8e9f2090234e15aead86a23e07d
|
hmac: 3f094612f9a533326d26dd42540cd0d6460788eea5512a13ee776f8c147f1885
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user