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
a31f9cab0f
commit
c2ddaeafe5
@ -21,7 +21,7 @@ local PipelineLinting = {
|
|||||||
},
|
},
|
||||||
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 ./',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -58,7 +58,7 @@ local PipelineDeployment(scenario='rocky9') = {
|
|||||||
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' },
|
||||||
},
|
},
|
||||||
|
@ -16,7 +16,7 @@ steps:
|
|||||||
image: python:3.9
|
image: python:3.9
|
||||||
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
|
||||||
|
|
||||||
@ -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 rocky9
|
- molecule test -s rocky9
|
||||||
environment:
|
environment:
|
||||||
@ -147,6 +147,6 @@ depends_on:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: fa52e664b6f002ecb2949c31066cb237aabafb08f3762312c7b51f78a5bdc66c
|
hmac: f96521e29a09a85e7e86b421ac16ceeaffcdc3645d76dfdeda7e4adf46bb42d0
|
||||||
|
|
||||||
...
|
...
|
||||||
|
@ -10,6 +10,8 @@
|
|||||||
command: systemctl reset-failed k3s-init
|
command: systemctl reset-failed k3s-init
|
||||||
failed_when: False
|
failed_when: False
|
||||||
changed_when: False
|
changed_when: False
|
||||||
|
tags:
|
||||||
|
- skip_ansible_later
|
||||||
|
|
||||||
- name: Init cluster inside the transient k3s-init service
|
- name: Init cluster inside the transient k3s-init service
|
||||||
command:
|
command:
|
||||||
|
Loading…
Reference in New Issue
Block a user