This commit is contained in:
Robert Kaussow 2019-03-12 13:38:59 +01:00
parent cfd0d39138
commit 1d543e9955
1 changed files with 30 additions and 29 deletions

View File

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