Refactor CI pipelien and enable molecule testing #1

Merged
xoxys merged 131 commits from molecule-dev into master 2019-03-25 21:23:40 +00:00
Showing only changes of commit 2f16aa48bf - Show all commits

View File

@ -7,23 +7,28 @@ workspace:
path: xoxys.nginx
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-latest
image: python:2.7
pull: always
environment:
PY_COLORS: 1
commands:
- pip install ansible ansible-later -qq
- 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: ansible-master
image: python:2.7
pull: always
environment:
PY_COLORS: 1
commands:
- pip install git+https://github.com/ansible/ansible.git@devel -qq
- pip install ansible-later -qq
- 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: xoxys/molecule:gce
@ -40,7 +45,7 @@ steps:
GCE_SSH_USER:
from_secret: gce_ssh_user
GCE_CREDENTIALS_FILE: $HOME/ansible-testing.json
CLICOLOR_FORCE: 1
PY_COLORS: 1
commands:
- mkdir ./library/
- git clone https://gitea.rknet.org/ansible/custom_modules ./library/