Refactor CI pipelien and enable molecule testing #1

Merged
xoxys merged 131 commits from molecule-dev into master 2019-03-25 21:23:40 +00:00
Showing only changes of commit a86dc697d7 - Show all commits

View File

@ -38,12 +38,11 @@ steps:
GCE_CREDENTIALS_FILE: $HOME/ansible-testing.json GCE_CREDENTIALS_FILE: $HOME/ansible-testing.json
commands: commands:
- 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
- xxd $HOME/.ssh/google_compute_engine - echo "$GCE_CREDENTIALS_JSON" > $HOME/ansible-testing.json
# - echo $GCE_CREDENTIALS_JSON > $HOME/ansible-testing.json - pip install apache-libcloud pycrypto --user
# - pip install apache-libcloud pycrypto --user - molecule create --scenario-name gce-centos-7
# - molecule create --scenario-name gce-centos-7 # - molecule converge --scenario-name gce-centos-7
# # - molecule converge --scenario-name gce-centos-7 # - molecule verify --scenario-name gce-centos-7
# # - molecule verify --scenario-name gce-centos-7 - molecule destroy --scenario-name gce-centos-7
# - molecule destroy --scenario-name gce-centos-7