This commit is contained in:
Robert Kaussow 2019-03-12 13:38:59 +01:00
parent cfd0d39138
commit 1d543e9955

View File

@ -1,35 +1,35 @@
--- # ---
kind: pipeline # kind: pipeline
name: linting # name: linting
platform: # platform:
os: linux # os: linux
arch: amd64 # arch: amd64
steps: # steps:
- name: ansible-latest # - name: ansible-latest
pull: always # pull: always
image: python:3.7 # image: python:3.7
commands: # commands:
- pip install ansible ansible-later -qq # - pip install ansible ansible-later -qq
- git clone https://gitea.rknet.org/ansible/ansible-later-policy.git ~/policy # - git clone https://gitea.rknet.org/ansible/ansible-later-policy.git ~/policy
- "git ls-files *[^LICENSE,.md,molecule,.ini] | xargs ansible-later -c ~/policy/config.ini" # - "git ls-files *[^LICENSE,.md,molecule,.ini] | xargs ansible-later -c ~/policy/config.ini"
environment: # environment:
PY_COLORS: 1 # PY_COLORS: 1
depends_on: # depends_on:
- clone # - clone
- name: ansible-master # - name: ansible-master
pull: always # pull: always
image: python:3.7 # image: python:3.7
commands: # commands:
- "pip install git+https://github.com/ansible/ansible.git@devel ansible-later -qq" # - "pip install git+https://github.com/ansible/ansible.git@devel ansible-later -qq"
- git clone https://gitea.rknet.org/ansible/ansible-later-policy.git ~/policy # - git clone https://gitea.rknet.org/ansible/ansible-later-policy.git ~/policy
- "git ls-files *[^LICENSE,.md,molecule,.ini] | xargs ansible-later -c ~/policy/config.ini" # - "git ls-files *[^LICENSE,.md,molecule,.ini] | xargs ansible-later -c ~/policy/config.ini"
environment: # environment:
PY_COLORS: 1 # PY_COLORS: 1
depends_on: # depends_on:
- clone # - clone
--- ---
kind: pipeline kind: pipeline
@ -49,6 +49,7 @@ steps:
image: xoxys/molecule:gce image: xoxys/molecule:gce
commands: commands:
- /bin/bash /docker-entrypoint.sh - /bin/bash /docker-entrypoint.sh
- echo "${MOLECULE_CUSTOM_MODULES_REPO}"
- molecule create --scenario-name gce-centos-7 - molecule create --scenario-name gce-centos-7
- molecule converge --scenario-name gce-centos-7 - molecule converge --scenario-name gce-centos-7
- molecule verify --scenario-name gce-centos-7 - molecule verify --scenario-name gce-centos-7