Refactor CI pipelien and enable molecule testing #1

Merged
xoxys merged 131 commits from molecule-dev into master 2019-03-25 21:23:40 +00:00
Showing only changes of commit 6e0c7e6eaf - Show all commits

View File

@ -28,9 +28,7 @@ steps:
- name: dependencies - name: dependencies
image: docker:git image: docker:git
commands: commands:
- pwd - git clone https://gitea.rknet.org/ansible/custom_modules /drone/src/custom_modules
- git clone https://gitea.rknet.org/ansible/custom_modules
- ls -l
- name: molecule - name: molecule
image: quay.io/ansible/molecule image: quay.io/ansible/molecule
@ -51,7 +49,6 @@ steps:
ANSIBLE_ROLES_PATH: /drone/src ANSIBLE_ROLES_PATH: /drone/src
ANSIBLE_LIBRARY: /drone/src/custom_modules ANSIBLE_LIBRARY: /drone/src/custom_modules
commands: commands:
- ls -l
- 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