mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-16 16:37:33 -02:30
Add molecule test for bootstrap-os (#5845)
This commit is contained in:
44
roles/bootstrap-os/molecule/default/molecule.yml
Normal file
44
roles/bootstrap-os/molecule/default/molecule.yml
Normal file
@@ -0,0 +1,44 @@
|
||||
---
|
||||
scenario:
|
||||
name: default
|
||||
test_sequence:
|
||||
- lint
|
||||
- destroy
|
||||
- dependency
|
||||
- syntax
|
||||
- create
|
||||
- prepare
|
||||
- converge
|
||||
# - idempotence # skip
|
||||
- side_effect
|
||||
- verify
|
||||
- destroy
|
||||
dependency:
|
||||
name: galaxy
|
||||
lint:
|
||||
name: yamllint
|
||||
options:
|
||||
config-file: ../../.yamllint
|
||||
driver:
|
||||
name: vagrant
|
||||
provider:
|
||||
name: libvirt
|
||||
platforms:
|
||||
- name: ubuntu18
|
||||
box: generic/ubuntu1804
|
||||
cpus: 2
|
||||
memory: 2048
|
||||
provisioner:
|
||||
name: ansible
|
||||
lint:
|
||||
name: ansible-lint
|
||||
inventory:
|
||||
group_vars:
|
||||
all:
|
||||
user:
|
||||
name: foo
|
||||
comment: My test comment
|
||||
verifier:
|
||||
name: testinfra
|
||||
lint:
|
||||
name: flake8
|
||||
Reference in New Issue
Block a user