This commit is contained in:
parent
9a668be4b3
commit
afbfc65c78
22
.drone.yml
22
.drone.yml
@ -36,14 +36,16 @@ steps:
|
|||||||
GCE_SSH_USER:
|
GCE_SSH_USER:
|
||||||
from_secret: gce_ssh_user
|
from_secret: gce_ssh_user
|
||||||
GCE_CREDENTIALS_FILE: $HOME/ansible-testing.json
|
GCE_CREDENTIALS_FILE: $HOME/ansible-testing.json
|
||||||
DEFAULT_TIMEOUT: 60
|
ANSIBLE_TIMEOUT: 60
|
||||||
commands:
|
commands:
|
||||||
- mkdir $HOME/.ssh
|
- pwd
|
||||||
- echo "$GCE_SSH_KEY" > $HOME/.ssh/google_compute_engine
|
- ls -la
|
||||||
- chmod 600 $HOME/.ssh/google_compute_engine
|
# - mkdir $HOME/.ssh
|
||||||
- echo "$GCE_CREDENTIALS_JSON" > $HOME/ansible-testing.json
|
# - echo "$GCE_SSH_KEY" > $HOME/.ssh/google_compute_engine
|
||||||
- pip install apache-libcloud pycrypto --user
|
# - chmod 600 $HOME/.ssh/google_compute_engine
|
||||||
- molecule create --scenario-name gce-centos-7
|
# - echo "$GCE_CREDENTIALS_JSON" > $HOME/ansible-testing.json
|
||||||
- molecule converge --scenario-name gce-centos-7
|
# - pip install apache-libcloud pycrypto --user
|
||||||
- molecule verify --scenario-name gce-centos-7
|
# - molecule create --scenario-name gce-centos-7
|
||||||
- molecule destroy --scenario-name gce-centos-7
|
# - molecule converge --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