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.
2022-05-30 10:59:44 +00:00
|
|
|
----
|
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
steps:
|
|
|
|
- name: integration test
|
2022-06-17 07:05:45 +00:00
|
|
|
image: python:3.10-buster
|
2022-05-30 10:59:44 +00:00
|
|
|
environment:
|
|
|
|
REMOTE_USER: molecule
|
|
|
|
HCLOUD_TOKEN:
|
|
|
|
from_secret: HCLOUD_TOKEN
|
2022-05-31 05:56:36 +00:00
|
|
|
volumes:
|
2022-05-31 05:57:20 +00:00
|
|
|
- name: docker_sock
|
|
|
|
path: /var/run/docker.sock
|
2022-05-30 10:59:44 +00:00
|
|
|
commands:
|
2022-05-31 05:56:36 +00:00
|
|
|
- apt update && apt install -y pwgen curl
|
|
|
|
- curl -fsSL https://get.docker.com | bash
|
2022-05-30 10:59:44 +00:00
|
|
|
- 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
|