This commit is contained in:
Robert Kaussow 2019-05-12 00:46:48 +02:00
parent d56acc208f
commit 7e602872a7
1 changed files with 39 additions and 38 deletions

View File

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