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.new-hetzner/.drone.yml
decentral1se c80bcb6439
Some checks failed
continuous-integration/drone/push Build is failing
fix syntax
2022-05-31 07:57:20 +02:00

21 lines
578 B
YAML

----
kind: pipeline
name: default
steps:
- name: integration test
image: python:3.9-buster
environment:
REMOTE_USER: molecule
HCLOUD_TOKEN:
from_secret: HCLOUD_TOKEN
volumes:
- name: docker_sock
path: /var/run/docker.sock
commands:
- apt update && apt install -y pwgen curl
- curl -fsSL https://get.docker.com | bash
- mkdir -p /root/.ansible/roles && ln -sr . /root/.ansible/roles/autonomic.new-hetzner
- export INSTANCE_UUID=$(pwgen 8 1)
- pip install -r requirements.txt
- molecule test