diff --git a/.drone.yml b/.drone.yml index 9c4a025..dddbe0f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -38,12 +38,11 @@ steps: GCE_CREDENTIALS_FILE: $HOME/ansible-testing.json commands: - 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 - - xxd $HOME/.ssh/google_compute_engine - # - echo $GCE_CREDENTIALS_JSON > $HOME/ansible-testing.json - # - pip install apache-libcloud pycrypto --user - # - molecule create --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 + - echo "$GCE_CREDENTIALS_JSON" > $HOME/ansible-testing.json + - pip install apache-libcloud pycrypto --user + - molecule create --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