This commit is contained in:
Robert Kaussow 2019-05-12 00:46:48 +02:00
parent d56acc208f
commit 7e602872a7

View File

@ -1,41 +1,41 @@
---
kind: pipeline
name: linting
platform:
os: linux
arch: amd64
steps:
- name: ansible-latest
pull: always
image: python:3.7
commands:
- pip install ansible ansible-later~=0.2.0 -qq
- git clone https://gitea.rknet.org/ansible/ansible-later-policy.git ~/policy
- ansible-later -c ~/policy/config.yml
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~=0.2.0 -qq"
- git clone https://gitea.rknet.org/ansible/ansible-later-policy.git ~/policy
- ansible-later -c ~/policy/config.yml
environment:
PY_COLORS: 1
depends_on:
- clone
trigger:
ref:
- refs/heads/master
- "refs/tags/**"
- "refs/pull/**"
#---
#kind: pipeline
#name: linting
#
#platform:
# os: linux
# arch: amd64
#
#steps:
#- name: ansible-latest
# pull: always
# image: python:3.7
# commands:
# - pip install ansible ansible-later~=0.2.0 -qq
# - git clone https://gitea.rknet.org/ansible/ansible-later-policy.git ~/policy
# - ansible-later -c ~/policy/config.yml
# 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~=0.2.0 -qq"
# - git clone https://gitea.rknet.org/ansible/ansible-later-policy.git ~/policy
# - ansible-later -c ~/policy/config.yml
# environment:
# PY_COLORS: 1
# depends_on:
# - clone
#
#trigger:
# ref:
# - refs/heads/master
# - "refs/tags/**"
# - "refs/pull/**"
---
kind: pipeline
@ -64,6 +64,7 @@ steps:
EC2_REGION: eu-central-1
EC2_SECURITY_TOKEN:
from_secret: ec2_security_token
MOLECULE_DEBUG: True
MOLECULE_CUSTOM_MODULES_REPO: https://gitea.rknet.org/ansible/custom_modules
PY_COLORS: 1