----
kind: pipeline
name: default
steps:
- name: integration test
image: python:3.10-buster
environment:
REMOTE_USER: molecule
HCLOUD_TOKEN:
from_secret: HCLOUD_TOKEN
commands:
- apt update && apt install -y pwgen
- mkdir -p /root/.ansible/roles && ln -sr . /root/.ansible/roles/autonomic.add-users
- export INSTANCE_UUID=$(pwgen 8 1)
- pip install -r requirements.txt
- molecule test