This commit is contained in:
parent
083282b117
commit
404fd8c8f4
14
.drone.yml
14
.drone.yml
@ -37,12 +37,14 @@ steps:
|
|||||||
from_secret: gce_ssh_user
|
from_secret: gce_ssh_user
|
||||||
GCE_CREDENTIALS_FILE: $HOME/ansible-testing.json
|
GCE_CREDENTIALS_FILE: $HOME/ansible-testing.json
|
||||||
commands:
|
commands:
|
||||||
|
- apk add vim
|
||||||
- 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
|
||||||
- echo $GCE_CREDENTIALS_JSON > $HOME/ansible-testing.json
|
- xxd $HOME/.ssh/google_compute_engine
|
||||||
- pip install apache-libcloud pycrypto --user
|
# - echo $GCE_CREDENTIALS_JSON > $HOME/ansible-testing.json
|
||||||
- molecule create --scenario-name gce-centos-7
|
# - pip install apache-libcloud pycrypto --user
|
||||||
# - molecule converge --scenario-name gce-centos-7
|
# - molecule create --scenario-name gce-centos-7
|
||||||
# - molecule verify --scenario-name gce-centos-7
|
# # - molecule converge --scenario-name gce-centos-7
|
||||||
- molecule destroy --scenario-name gce-centos-7
|
# # - molecule verify --scenario-name gce-centos-7
|
||||||
|
# - molecule destroy --scenario-name gce-centos-7
|
||||||
|
Loading…
Reference in New Issue
Block a user