This commit is contained in:
parent
a8a684baa6
commit
ddb2541034
68
.drone.yml
68
.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
|
||||
|
||||
# ...
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user