Refactor CI pipelien and enable molecule testing #1
@ -28,7 +28,9 @@ steps:
|
|||||||
- name: dependencies
|
- name: dependencies
|
||||||
image: docker:git
|
image: docker:git
|
||||||
commands:
|
commands:
|
||||||
|
- pwd
|
||||||
- git clone https://gitea.rknet.org/ansible/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
|
||||||
@ -49,7 +51,7 @@ 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 /drone/src/custom_modules
|
- 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
|
||||||
|
Loading…
Reference in New Issue
Block a user