2024-02-18 20:09:43 +00:00
|
|
|
---
|
|
|
|
when:
|
|
|
|
- event: [pull_request, tag]
|
|
|
|
- event: [push, manual]
|
|
|
|
branch:
|
|
|
|
- ${CI_REPO_DEFAULT_BRANCH}
|
|
|
|
|
|
|
|
variables:
|
2024-10-31 10:31:57 +00:00
|
|
|
- &molecule_image quay.io/thegeeklab/ansible-dev-tools:1
|
2024-02-18 20:09:43 +00:00
|
|
|
- &molecule_base
|
2024-10-31 10:31:57 +00:00
|
|
|
depends_on: []
|
2024-02-18 20:09:43 +00:00
|
|
|
environment:
|
|
|
|
PY_COLORS: "1"
|
2024-08-18 11:43:47 +00:00
|
|
|
HCLOUD_TOKEN:
|
|
|
|
from_secret: molecule_hcloud_token
|
2024-02-18 20:09:43 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: molecule-default
|
2024-10-31 10:31:57 +00:00
|
|
|
image: *molecule_image
|
2024-02-18 20:09:43 +00:00
|
|
|
<<: *molecule_base
|
|
|
|
commands:
|
|
|
|
- molecule test -s default
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
- lint
|