Refactor CI pipelien and enable molecule testing #1
@ -42,9 +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
|
||||||
commands:
|
commands:
|
||||||
- pwd
|
- git clone https://gitea.rknet.org/ansible/custom_modules
|
||||||
- ls -la
|
|
||||||
- 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