test
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Robert Kaussow 2019-02-27 23:36:37 +01:00
parent 8f7bf5ee3f
commit d2ff1df829

View File

@ -25,11 +25,6 @@ steps:
# - git ls-files *[^LICENSE,.md] | xargs ansible-later -c ~/policy/config.ini # - git ls-files *[^LICENSE,.md] | xargs ansible-later -c ~/policy/config.ini
# depends_on: [ clone ] # depends_on: [ clone ]
- name: dependencies
image: docker:git
commands:
- git clone https://gitea.rknet.org/ansible/custom_modules /drone/src/custom_modules
- name: molecule - name: molecule
image: quay.io/ansible/molecule image: quay.io/ansible/molecule
pull: always pull: always
@ -47,8 +42,9 @@ steps:
GCE_CREDENTIALS_FILE: $HOME/ansible-testing.json GCE_CREDENTIALS_FILE: $HOME/ansible-testing.json
ANSIBLE_TIMEOUT: 60 ANSIBLE_TIMEOUT: 60
ANSIBLE_ROLES_PATH: /drone/src ANSIBLE_ROLES_PATH: /drone/src
ANSIBLE_LIBRARY: /drone/src/custom_modules ANSIBLE_LIBRARY: $HOME/custom_modules
commands: commands:
- git clone https://gitea.rknet.org/ansible/custom_modules $HOME/custom_modules
- mkdir $HOME/.ssh - mkdir $HOME/.ssh
- echo "$GCE_SSH_KEY" > $HOME/.ssh/google_compute_engine - echo "$GCE_SSH_KEY" > $HOME/.ssh/google_compute_engine
- chmod 600 $HOME/.ssh/google_compute_engine - chmod 600 $HOME/.ssh/google_compute_engine