2024-02-18 12:16:42 +00:00
|
|
|
---
|
|
|
|
when:
|
|
|
|
- event: [pull_request, tag]
|
|
|
|
- event: [push, manual]
|
|
|
|
branch:
|
|
|
|
- ${CI_REPO_DEFAULT_BRANCH}
|
|
|
|
|
|
|
|
variables:
|
|
|
|
- &molecule_base
|
|
|
|
image: quay.io/thegeeklab/molecule:6
|
|
|
|
group: molecule
|
|
|
|
environment:
|
|
|
|
PY_COLORS: "1"
|
2024-08-18 11:43:50 +00:00
|
|
|
HCLOUD_TOKEN:
|
|
|
|
from_secret: molecule_hcloud_token
|
2024-02-18 12:16:42 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: molecule-default
|
|
|
|
<<: *molecule_base
|
|
|
|
commands:
|
|
|
|
- molecule test -s default
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
- lint
|