This repository has been archived on 2022-08-22. You can view files and clone it, but cannot push or open issues or pull requests.
autonomic.add-users/.drone.yml

17 lines
448 B
YAML
Raw Permalink Normal View History

2022-03-15 10:39:22 +00:00
----
kind: pipeline
name: default
steps:
- name: integration test
image: python:3.9-buster
environment:
REMOTE_USER: molecule
HCLOUD_TOKEN:
from_secret: HCLOUD_TOKEN
commands:
2022-03-15 12:07:09 +00:00
- apt update && apt install -y pwgen
- mkdir -p /root/.ansible/roles && ln -sr . /root/.ansible/roles/autonomic.add-users
2022-03-15 10:39:22 +00:00
- export INSTANCE_UUID=$(pwgen 8 1)
2022-03-15 12:07:09 +00:00
- pip install -r requirements.txt
2022-03-15 10:39:22 +00:00
- molecule test