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

17 lines
443 B
YAML
Raw Normal View History

2022-05-30 10:01:56 +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:
- apt update && apt install -y pwgen
- mkdir -p /root/.ansible/roles && ln -sr . /root/.ansible/roles/autonomic.motd
- export INSTANCE_UUID=$(pwgen 8 1)
- pip install -r requirements.txt
- molecule test