This commit is contained in:
parent
aae355876e
commit
2f16aa48bf
39
.drone.yml
39
.drone.yml
@ -7,23 +7,28 @@ workspace:
|
||||
path: xoxys.nginx
|
||||
|
||||
steps:
|
||||
# - name: ansible-latest
|
||||
# image: python:2.7
|
||||
# pull: always
|
||||
# commands:
|
||||
# - pip install ansible ansible-later -q
|
||||
# - git clone https://gitea.rknet.org/ansible/ansible-later-policy.git ~/policy
|
||||
# - git ls-files *[^LICENSE,.md] | xargs ansible-later -c ~/policy/config.ini
|
||||
# depends_on: [ clone ]
|
||||
- name: ansible-latest
|
||||
image: python:2.7
|
||||
pull: always
|
||||
environment:
|
||||
PY_COLORS: 1
|
||||
commands:
|
||||
- pip install ansible ansible-later -qq
|
||||
- git clone https://gitea.rknet.org/ansible/ansible-later-policy.git ~/policy
|
||||
- git ls-files *[^LICENSE,.md] | xargs ansible-later -c ~/policy/config.ini
|
||||
depends_on: [ clone ]
|
||||
|
||||
# - name: ansible-master
|
||||
# image: python:2.7
|
||||
# pull: always
|
||||
# commands:
|
||||
# - pip install ansible ansible-later -q
|
||||
# - git clone https://gitea.rknet.org/ansible/ansible-later-policy.git ~/policy
|
||||
# - git ls-files *[^LICENSE,.md] | xargs ansible-later -c ~/policy/config.ini
|
||||
# depends_on: [ clone ]
|
||||
- name: ansible-master
|
||||
image: python:2.7
|
||||
pull: always
|
||||
environment:
|
||||
PY_COLORS: 1
|
||||
commands:
|
||||
- pip install git+https://github.com/ansible/ansible.git@devel -qq
|
||||
- pip install ansible-later -qq
|
||||
- git clone https://gitea.rknet.org/ansible/ansible-later-policy.git ~/policy
|
||||
- git ls-files *[^LICENSE,.md] | xargs ansible-later -c ~/policy/config.ini
|
||||
depends_on: [ clone ]
|
||||
|
||||
- name: molecule
|
||||
image: xoxys/molecule:gce
|
||||
@ -40,7 +45,7 @@ steps:
|
||||
GCE_SSH_USER:
|
||||
from_secret: gce_ssh_user
|
||||
GCE_CREDENTIALS_FILE: $HOME/ansible-testing.json
|
||||
CLICOLOR_FORCE: 1
|
||||
PY_COLORS: 1
|
||||
commands:
|
||||
- mkdir ./library/
|
||||
- git clone https://gitea.rknet.org/ansible/custom_modules ./library/
|
||||
|
Loading…
Reference in New Issue
Block a user