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 path: xoxys.nginx
steps: steps:
# - name: ansible-latest - name: ansible-latest
# image: python:2.7 image: python:2.7
# pull: always pull: always
# commands: environment:
# - pip install ansible ansible-later -q PY_COLORS: 1
# - git clone https://gitea.rknet.org/ansible/ansible-later-policy.git ~/policy commands:
# - git ls-files *[^LICENSE,.md] | xargs ansible-later -c ~/policy/config.ini - pip install ansible ansible-later -qq
# depends_on: [ clone ] - 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 - name: ansible-master
# image: python:2.7 image: python:2.7
# pull: always pull: always
# commands: environment:
# - pip install ansible ansible-later -q PY_COLORS: 1
# - git clone https://gitea.rknet.org/ansible/ansible-later-policy.git ~/policy commands:
# - git ls-files *[^LICENSE,.md] | xargs ansible-later -c ~/policy/config.ini - pip install git+https://github.com/ansible/ansible.git@devel -qq
# depends_on: [ clone ] - 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 - name: molecule
image: xoxys/molecule:gce image: xoxys/molecule:gce
@ -40,7 +45,7 @@ steps:
GCE_SSH_USER: GCE_SSH_USER:
from_secret: gce_ssh_user from_secret: gce_ssh_user
GCE_CREDENTIALS_FILE: $HOME/ansible-testing.json GCE_CREDENTIALS_FILE: $HOME/ansible-testing.json
CLICOLOR_FORCE: 1 PY_COLORS: 1
commands: commands:
- mkdir ./library/ - mkdir ./library/
- git clone https://gitea.rknet.org/ansible/custom_modules ./library/ - git clone https://gitea.rknet.org/ansible/custom_modules ./library/