32 lines
916 B
YAML
32 lines
916 B
YAML
---
|
|
kind: pipeline
|
|
name: default
|
|
|
|
steps:
|
|
# - 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 ]
|
|
|
|
- name: molecule
|
|
image: centos:7
|
|
pull: always
|
|
commands:
|
|
- yum install -y epel-release
|
|
- yum install -y python-pip
|
|
- pip install ansible molecule -qq
|
|
- molecule --debug test
|