xoxys.nginx/.drone.yml

32 lines
916 B
YAML
Raw Normal View History

2019-01-12 12:49:56 +00:00
---
kind: pipeline
name: default
steps:
2019-02-26 14:13:50 +00:00
# - name: ansible-latest
# image: python:2.7
# pull: always
# commands:
# - pip install ansible ansible-later -q
# - git clone https://gitea.rknet.org/ansible/ansible-later-policy.git ~/policy
# - git ls-files *[^LICENSE,.md] | xargs ansible-later -c ~/policy/config.ini
# depends_on: [ clone ]
# - name: ansible-master
# image: python:2.7
# pull: always
# commands:
# - pip install ansible ansible-later -q
# - git clone https://gitea.rknet.org/ansible/ansible-later-policy.git ~/policy
# - git ls-files *[^LICENSE,.md] | xargs ansible-later -c ~/policy/config.ini
# depends_on: [ clone ]
2019-01-09 19:57:15 +00:00
2019-02-26 14:13:50 +00:00
- name: molecule
2019-02-26 14:38:56 +00:00
image: centos:7
2019-01-12 12:49:56 +00:00
pull: always
2019-01-09 19:57:15 +00:00
commands:
2019-02-26 15:03:16 +00:00
- yum install -y epel-release
2019-02-26 14:59:53 +00:00
- yum install -y python-pip
2019-02-26 14:38:56 +00:00
- pip install ansible molecule -qq
2019-02-26 14:29:50 +00:00
- molecule --debug test