From ddb25410340269a60e15af96f3e71f38626d4dac Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Tue, 12 Mar 2019 14:10:36 +0100 Subject: [PATCH] test --- .drone.yml | 68 ++++++++++++++++++++++++++---------------------------- 1 file changed, 33 insertions(+), 35 deletions(-) diff --git a/.drone.yml b/.drone.yml index 7fefb3c..8bcbb73 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 @@ -48,9 +48,7 @@ steps: pull: always image: xoxys/molecule:gce commands: - #- /bin/bash /docker-entrypoint.sh - - echo "${HOME}" > test.txt - - cat test.txt + - /bin/bash /docker-entrypoint.sh - molecule create --scenario-name gce-centos-7 - molecule converge --scenario-name gce-centos-7 - molecule verify --scenario-name gce-centos-7 @@ -70,7 +68,7 @@ steps: MOLECULE_CUSTOM_MODULES_REPO: https://gitea.rknet.org/ansible/custom_modules PY_COLORS: 1 -# depends_on: -# - linting +depends_on: +- linting -# ... +...